Re: Again: shutdown as user
Am 07. Jul, 2001 schwäzte Timeboy so:
> how can i use the command shutdown -h now as user. Like to use it in a
> shell script. No #su, password, etc. please!
Set it up in sudo using the NOPASSWD option. I have that on my laptop. I
then stuck it in a script ( alias would work as well ). Now as a normal user
I hit 5 keys and wait a few seconds for it to shutdown.
ciao,
der.hans
--
# der.hans@LuftHans.com home.pages.de/~lufthans/ www.DevelopOnline.com
# Magic is science unexplained. - der.hans
Reply to: