When you su, you do not get a login shell, so the typical place where
"*/sbin" is added to your path doesn't get executed.

Consider using "su -" instead, or move the PATH statements to the
right file for your shell (It changes from shel to shell)

On Wed, Apr 10, 2002 at 06:00:47PM +0200, Gottfried M. Reimann wrote:
> Hi!
> 
> I4m able to reboot and halt logged in as root. But after logging in as
> normal user and changing to root with "su" these command are not found:
> 
> ------------------------------------------------------
> login> login testuser
> Password:
> testuser@hurd:~$ whoami
> testuser
> testuser@hurd:~$ su
> Password:
> hurd:/home/testuser# whoami
> root
> hurd:/home/testuser# halt
> bash: halt: command not found
> hurd:/home/testuser# reboot
> bash: reboot: command not found
> -------------------------------------------------------
> 
> CUL8R,
>     Gottfried M. Reimann
> 
> 
> P.S.: new to the list and hurd. Please be patient with me!
> 
> Running GNU/Hurd under Connectix VirtualPC 4.3 (win32).
> 
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
"Frankly, trying to turn Windows into a decent educational software
development platform is about as fun as jumping naked into a pit of
rabid wolves."
 - As seen on slashdot

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to