Unprivileged user shutdown

Michael ODonnell michael.odonnell at comcast.net
Wed Oct 13 13:00:01 EDT 2004


How about this?

 useradd -c "execute reboot"
         -d /root
         -g 0
         -p initialPasswd
         -s /usr/bin/poweroff
         -o
         -u 0
         poweroff

...all on one line, of course.
 



More information about the gnhlug-discuss mailing list