>>>>> "Rajesh" == Rajesh Fowkar <[EMAIL PROTECTED]> writes:

    Rajesh> Hi all, Is it possible to run sudo without asking the
    Rajesh> password for the first time.  sudo asks for the password

Hey guys, don't you think the preferred order should be
man-${docdir:-/usr/doc}-HOWTOs-google-<others>-LIH(last resort)?

Anyway, you need to have it like:

username ALL=(ALL) NOPASSWD: ALL

for sudo to never ask for the password, when invoked by user username.

>From sudoers(5):

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 NOPASSWD tag.  Like a Runas_Spec, the
       NOPASSWD tag sets a default for the commands that follow
       it in the Cmnd_Spec_List.  Conversely, the PASSWD tag can
       be used to reverse things.  For example:
 
        ray    rushmore = NOPASSWD: /bin/kill, /bin/ls, /usr/bin/lprm

Binand



_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to