[SunHELP] still problems with sudo

Edward Chase echase at studentweb.providence.edu
Fri Aug 23 08:31:17 CDT 2002


Check out your permissions on the sudo executable...

---s--x--x   1 root     root       92072 May  4 05:03 sudo



At 01:50 PM 8/23/2002 +0200, Simon Jespersen wrote:
>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