Sudoers list?
Dennis Kaarsemaker
dennis at kaarsemaker.net
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 - http://www.ubuntu.com
- Linux voor iedereen - http://www.ubuntu-nl.org
-------------- 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: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060404/12391a45/attachment.sig>
More information about the ubuntu-users
mailing list