[sudo-users] all users / no passwd

Carville, Stephen scarville at LANDAM.com
Fri Apr 11 18:44:46 EDT 2008


> -----Original Message-----
> From: sudo-users-bounces at courtesan.com [mailto:sudo-users-
> bounces at courtesan.com] On Behalf Of tony.chamberlain at lemko.com
> Sent: Friday, April 11, 2008 8:56 AM
> To: sudo
> Subject: [sudo-users] all users / no passwd
> 
> Hi
> 
> I want to add something to the sudoers file like this (and I know this
> is not the right syntax):
> 
> 
> allusers /usr/bin/myspecialcommand NOPASSWD: ALL
> 
> 
> but I can't figure out the syntax.
> 
> That is, all users can execute it without giving a password (but only
> this command).
> What is the correct syntax?

Something like:

%users   ALL = NOPASSWD: /usr/bin/myspecialcommand

I think this means: Everyone in the users group on ALL machine can run /usr/bin/myspecialcommand as root with no password.

> 
> ____________________________________________________________
> sudo-users mailing list <sudo-users at sudo.ws>
> For list information, options, or to unsubscribe, visit:
> http://www.sudo.ws/mailman/listinfo/sudo-users
> 
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.12/1373 - Release Date:
> 4/11/2008 9:17 AM
> 

No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.519 / Virus Database: 269.22.12/1373 - Release Date: 4/11/2008 9:17 AM
 



More information about the sudo-users mailing list