bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reboot&halt with su


From: Jeff Bailey
Subject: Re: reboot&halt with su
Date: Fri, 12 Apr 2002 08:34:14 -0700
User-agent: Mutt/1.3.28i

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 debian-hurd-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
"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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]