Luca Lesinigo ha scritto:
Il giorno 04/mag/09, alle ore 15:19, Wolf L.A.B. ha scritto:googolando un pochino: http://www.gratisoft.us/sudo/man/sudoers.html#nopasswd_and_passwd By default, sudo requires that a user authenticate
him or herself
before running a command. This behavior can be modified via the
ray rushmore = NOPASSWD: /bin/kill, /bin/ls, /usr/bin/lprm would allow the user ray to run /bin/kill, /bin/ls, and /usr/bin/lprm as root on the machine rushmore without authenticating himself. If we only want ray to be able to run /bin/kill without a password the entry would be: ray rushmore = NOPASSWD: /bin/kill, PASSWD: /bin/ls, /usr/bin/lprm Note, however, that the By default, if the
--
__
Marco Bevacqua aka MoBius | /\ \ Linux User #277442
I have a dream of a mega OS with the | / /\ \
logo of a penguin sitting on a window | / /__\ \ Möbius is always
sill eating an apple. | \/____\/ on the right side ;)
|