Try using su - instead of su, so that you inherit the root environment.

James

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 21, 1998 9:46 AM
To: [EMAIL PROTECTED]
Subject: su -> root shutdown


I find that when I've logged in to Linux as user and then su to become
root, that I don't have access to the shutdown command. An odd message
about bash not being able to see shutdown command.

I run bash both as root and user. When I log in as root, su to user, I
can shutdown after going back to root. But when I log in as user, I
cannot
su to root to shut down.

??

Haines Brown

Reply via email to