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

Re: shutdown: command not found ?!



> Potato is not letting me shutdown, even as root.
> 
> 'shutdown -h now' is getting a 'Command not found' message.
> 
> Same for halt and reboot. All of these have working man pages, BTW.
> 
> I would be grateful for any words of advice.
> 
Hi 
halt, shutdown,reboot...all resides in /sbin, by default only root
has this directory in his PATH (env. variable), normal user hasn't...
so edit /etc/profile in order to add /sbin to PATH
type echo $PATH to check PATH
> 
> 
Bye 
martin
-- 
I am Martin Kacerovsky, student of the Faculty of Mathematics and Physics 
at the Charles University in Prague, in the Czech Republic, in Europe, 
on Earth, in the Universe where Linux operating system rules...



Reply to: