LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: John Edwards <isplist@pinnacle.net.au>
  To  : Peter Georgaras <pgeorgar@bigpond.net.au>
  Date: Tue, 24 Apr 2001 12:03:14 +0930

Re: "root" vs. "su"

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


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