Sudoers list?

Dennis Kaarsemaker dennis at
Tue Apr 4 21:33:55 UTC 2006

On di, 2006-04-04 at 20:00 +0100, Daniel Carrera wrote:
> I'm writing a script. How can I find out, from the script, if the 
> current user is in the sudoers list?

On Ubuntu systems you can check whether the user is in the admin group.
Dennis K.
 - Linux for human beings -
 - Linux voor iedereen -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the ubuntu-users mailing list