LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: Darryl Ross <dross@syc.asn.au>
To : <linuxsa@linuxsa.org.au>
<pgeorgar@bigpond.net.au>
Date: Tue, 24 Apr 2001 12:08:43 +0930
Re: "root" vs. "su"
> 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.
Are you using 'su' or 'su -' ?
The first command only gives you the shell of the user you su to, it does
not set up all the environment variables, such as the path statement, which
is what your problem in this case it.
Try using 'su -' instead.
Darryl
--
Darryl Ross
Network and Systems Administrator
Service to Youth Council, Inc
http://www.syc.asn.au/
--
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