That sounds simple enough. :-) How do I need to add the "sudo init 0" to my
menu? Create a new "Run Program" entry on the menu?

Also, I don't think my account's in the sudo file (I always have to su to
root to execute commands). Do I need to somehow add myself to sudo first?

Thanks!

Nathan Parker

From:  <[email protected]>
Date:  Saturday, June 9, 2012 4:31 PM
To:  <[email protected]>
Subject:  Re: Adding "Shut Down" Command to Window Maker Menu



On Sat, 09 Jun 2012 14:31:53 +0200, Paul Seelig wrote:
>  On 06/09/2012 02:49 AM, Nathaniel Parker wrote:
>>  I'm running Window Maker on CentOS 5.8 (i386). How can I add a
>>  command
>>  to the Window Maker Menu to Shut Down the Computer?

Y'all are making it too complicated.  I have a simple entry in my pull
down menu which executes:

sudo init 0

I have to issue my user password to shut it down.  So were I to
accidentally invoke shutdown from the menu, I have a simple way to back
out.

I'm all for clever code, but a lazy sysadmin is a good sysadmin...  :-)

Russ


-- 
To unsubscribe, send mail to [email protected].



Reply via email to