shutdown without password..

NGUYEN, MICHAEL V (SBCSI) mn2923 at sbc.com
Wed Jan 3 14:51:52 EST 2001


The syntax is...

user HOST_ALIAS=NOPASSWD:CMD_ALIAS

-----Original Message-----
From: Paul Lussier [mailto:pll at mclinux.com]
Sent: Wednesday, January 03, 2001 1:43 PM
To: Sanh Duong
Cc: sudo-users at courtesan.com
Subject: Re: shutdown without password.. 


In a message dated: Tue, 02 Jan 2001 10:39:00 EST
"Sanh Duong" said:

>Hi everyone.. I got sudo to work fine and everything, but I'm running into
a
>little problem.. how do I reboot without having to enter a password??  I
>have to write a C program and within it.. I want the user to be able to
>reboot/shutdown without having to type in a password...(cuase all the user
>can use is a mouse, no keyboard..)  Thank you..

I believe there's a NO_PASSWD option, or something similar.  Check the man 
pages.
-- 

Seeya,
Paul
----
	   I'm in shape, my shape just happens to be pear!

	 If you're not having fun, you're not doing it right!


____________________________________________________________ 
sudo-users mailing list <sudo-users at courtesan.com>
For list information, options, or to unsubscribe, visit:
http://www.courtesan.com/mailman/listinfo/sudo-users



More information about the sudo-users mailing list