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 |
Quote:
|
Quote:
|
slackware 12 and i will try with that path of mount
|
I have the same config and it works. Make sure that /etc/rc.firewall is executable.
Code:
pu@slackw:/etc$ v rc.firewall |
All times are GMT -5. The time now is 09:57 AM. |