Mailinglist Archive: opensuse (2803 mails)

< Previous Next >
Re: [opensuse] Problem with sudoers
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Mon, 7 Jul 2008 13:01:33 +0200 (CEST)
  • Message-id: <alpine.LSU.1.00.0807071254570.6569@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



The Monday 2008-07-07 at 12:42 +0200, Stephan Schöffel wrote:

From the sudoers man pages:

ray rushmore = NOPASSWD: /bin/kill, /bin/ls, /usr/bin/lprm


correct me if i'm wrong, but i think the parameter after the = in parentheses is optional and "root" is default.

But there is a space in there. The parentesis doesn't mean it is optional, you have to write the parentesis - from the sample file:

# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL

I find that man page very dificult to understand.

- -- Cheers,
Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFIcfeNtTMYHG2NR9URAp8xAJ9If6mfiKOCjRYTXmKIOJPEWd4PKQCeI9fZ
AvYArBsE6n7H9kBq6YBMcrY=
=8QhB
-----END PGP SIGNATURE-----
< Previous Next >
Follow Ups