[sudo-users] Sudo question about login in from one non roor user to another with no password prompt
Fontanez Martin
Fontanez.Martin at PBGC.GOV
Thu Oct 21 08:37:41 EDT 2004
How do I setup sudo to login from a non-root user to another user
without prompting for a password?
Here is my sudoers config:
# 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
# Defaults specification
# User privilege specification
root ALL=(ALL) ALL
# Uncomment to allow people in group wheel to run all commands
# %wheel ALL=(ALL) ALL
%xyz ALL=(ALL) ALL
# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
%bob sol=(martin) NOPASSWD: ALL
# Samples
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users localhost=/sbin/shutdown -h now
Thank you,
>Martin
More information about the sudo-users
mailing list