[SLUG] shutdown: you must be root to do that!

Carl Dixon Carl.Dixon at newcastle.ac.uk
Fri Sep 19 18:12:00 BST 2003


> /sbin won't be in your regular users path. So you will have to run
> "/sbin/shutdown" rather than just "shutdown".
>
> Gav

how about using the alias command to make "shutdown" actually execute
"/sbin/shutdown"? If you put the line in a file called .[name of shell].rc
(eg.bashrc for bash users) in your home directory it will run every time
you open a shell.

Carl




More information about the Scarborough mailing list