Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
path fudge

path fudge

2003-06-08       - By Stewart M. Ives

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

If you login as a user and then you:

  su

  And provide the root password when prompted then you will end up
with a # prompt BUT the same path as you originally logged in as
the user and not the root path.

If you login as a user and then you:

  su -

  And provide the root password when prompted then you will end up
with a # prompt AND root's path which includes /sbin and
/usr/sbin.

stew




-- --Original Message-- --
From: enigma-list-admin@(protected)
[mailto:enigma-list-admin@(protected)]On Behalf Of Cameron Simpson
Sent: Sunday, June 08, 2003 12:16 AM
To: enigma-list@(protected)
Subject: Re: path fudge


On 01:24 08 Jun 2003, Oisin C. Feeley <ofeeley@(protected)> wrote:
| On Sat, 7 Jun 2003, Michael Fratoni wrote:
| >On Saturday 07 June 2003 08:25 pm, Cameron Simpson wrote:
| >> On 13:54 07 Jun 2003, jdow <jdow@(protected)> wrote:
| >> | Usually one wants to do the module "thing" as root. That's
why /sbin
| >> | and /usr/sbin are not on the standard user path. So I
suspect the
| >> | proper way to fix it is to perform the operation as root.
| >>
| >> Yeah, but on RedHat /sbin's not in root's $PATH either:-(
| >
| >I don't have a machine running 7.2 at the moment.
| >/sbin is in root's $PATH on my 7.3, 8.0, and 9 machines:
[...]
| Me too.  Isn't this disparity the result of doing "su root"
versus "su
| - root", where the latter behaves as a login shell?

I'm going to have to dig more deeply then - I definitely run into
this
a lot at work. I'll report back when I've figured out what's
different.
--
Cameron Simpson <cs@(protected)> DoD#743
http://www.cskk.ezoshosting.com/cs/

What I want is Facts. Teach these boys and girls nothing but
Facts.  Facts
alone are wanted in life. Plant nothing else, and root out
everything else.
       - Charles Dickens    John Huffam   1812-1870  Hard Times
[1854]


__ ____ ____ ____ ____ ____ ____ ____ ____ ____
enigma-list mailing list
enigma-list@(protected)
https://www.redhat.com/mailman/listinfo/enigma-list

---
Outgoing SofTEC USA mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.488 / Virus Database: 287 - Release Date: 6/5/2003