Le 11 octobre 2000, Brian Sweeney écrivait :
> Quick questions that's been bugging me for some time...if I telnet to a
> machine as a normal user and SU as root, I don't gain any of the root user's
> standard PATH.  So when I try to execute programs I have to specify
> /usr/sbin, or /usr/bin, or whatever.  I'm using bash.

Do a 'su -' to have a login shell -- bash will then read root's
.bash_profile.

olive
-- 
Codito, ergo sum - "Je code, donc je suis"

_______________________________________________
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk

Reply via email to