[SunHELP] still problems with sudo

Simon Jespersen shj at pine.dk
Fri Aug 23 06:50:58 CDT 2002


Hi again 

i keep getting this message when i try to sudo from user bb


# Sorry, sudo must be setuid root.


my sudoers 

# 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
bb      ALL=(ALL)       NOPASSWD: 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
~
~



Where this line should do the trick !

bb      ALL=(ALL)       NOPASSWD: ALL










Simon Jespersen
Project engineer
Pine Tree Systems A/S
Damhaven 5d
DK-7100 Vejle
Email: shj at pine.dk
Phone: +4575724477 



More information about the SunHELP mailing list