[bug-notifications] [sudo 0002246]: sudoers in /etc/opt/cws not used

Mantis Bug Tracker noreply at opencsw.org
Tue Jul 6 23:14:06 CEST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=2246 
====================================================================== 
Reported By:                ghenry
Assigned To:                comand
====================================================================== 
Project:                    sudo
Issue ID:                   2246
Category:                   regular use
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     closed
Resolution:                 not fixable
Fixed in Version:           
====================================================================== 
Date Submitted:             2007-05-16 10:25 CEST
Last Modified:              2010-07-06 23:14 CEST
====================================================================== 
Summary:                    sudoers in /etc/opt/cws not used
Description: 
when /opt/csw is nfs-mounted, you can\'t use sudo on nfs clients. sudo have
to use other location
====================================================================== 

---------------------------------------------------------------------- 
 (0008093) ckmehta1 (developer) - 2010-07-06 23:14
 https://www.opencsw.org/mantis/view.php?id=2246#c8093 
---------------------------------------------------------------------- 
I would like to +1 this issue for zones as well, given how paranoid the
sudo-binary is about the sudoers file, you can even use a symlink. HOWEVER
there is a workaround by use of an INCLUDE file reference in the master
sudoers file.

If you edit the sudoers file (/opt/csw/etc/sudoers) by commenting
EVERYTHING and adding these 2 lines at bottom:
#Since Sudo doesn't like symlinks, we need to keep the master sudoers file
small and do an INCLUDE sequence to /etc/opt/csw/sudoers to have a
locally-editable sudoers file
#include /etc/opt/csw/sudoers



More information about the bug-notifications mailing list