[sudo-users] sudo asking for password even though the nopasswd is specfied
K Pavan Vijay
KPavan at yodlee.com
Thu Jun 9 08:59:15 EDT 2005
hi,
sudo is asking for the passwd even though i specify nopasswd for the user
my configurations are as below..
==============================configuration
=================================
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
# Cmnd_Alias SHELLS = /bin/bash, /bin/sh, /bin/csh, /bin/ksh, /bin/tcsh
# Cmnd_Alias SU = /bin/su, /usr/bin/su
# Cmnd_Alias PATHS = /bin/, /usr/bin/, /usr/local/sbin/, /usr/local/bin/
# Cmnd_Alias BADPATHS = /var/, /tmp/, /home/, /export/home/
# Defaults specification
Defaults:userid1 umask=002
# User privilege specification
# root ALL=(ALL) ALL
<userid2> ALL = (userid1) NOPASSWD: ALL
%adm2 ALL=(ALL) ALL
# Uncomment to allow people in group wheel to run all commands
# %wheel ALL=(ALL) ALL
# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
# Samples
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users localhost=/sbin/shutdown -h now
==========================================================
i am using sudo-1.6.5 .when i login as userid2 and use sudo to start a
service which is in userid1 ownership. sudo is asking for the passwd..
TIA
Pavan.K
More information about the sudo-users
mailing list