sudoers and guarddog problems
i set up sudoers in the following way
--------------------------------
Host_Alias MIHOST=mybox
User_Alias USERS=user
Cmnd_Alias MOUNT=/usr/bin/mount
Cmnd_Alias SHUTDOWN=/usr/sbin/shutdown
Cmnd_Alias REBOOT=/usr/sbin/reboot
Cmnd_Alias HALT=/usr/sbin/halt
MIHOST USERS = NOPASSWD : MOUNT , SHUTDOWN , REBOOT , HALT
USERS MIHOST = NOPASSWD : MOUNT , SHUTDOWN , REBOOT , HALT
-------------------------------------
as user when i run sudo mount i receive the following message:
*/
Sorry, user user is not allowed to execute '/bin/mount' as root on mybox.
/*
also i installed guarddog and i put a symlink pointing to /etc/rc.firewall
in
/etc/rc.d/rc.firewall
but it seems that doesnot work
---------------
thanks
|