LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Mark <markc@trinity.sa.edu.au>
  To  : John Edwards <isplist@pinnacle.net.au>
Peter Georgaras <pgeorgar@bigpond.net.au> Date: Tue, 24 Apr 2001 13:08:07 +0930

Re: "root" vs. "su"

try su -

It is one less keystroke and you are already 20% more productive (or 25% is 
you want to dick about with statistics ;-)

just trying to help

Mark Collis

At 12:03 4/24/2001 +0930, John Edwards wrote:
>Peter Georgaras wrote:
>
> > When I log in as user then "su" to root, I get "bash <command>: command not
> > found", however logged in as "root" all works as expected.
>
>It's a path issue, /sbin and /usr/sbin aren't in the path for normal
>users, and that normal user environment is inherited by su.
>
>Try: su -l
>
>John Edwards
>
>--
>LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
>To unsubscribe from the LinuxSA list:
>   mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page