Mantis - sudo_common
Viewing Issue Advanced Details
2246 regular use feature always 2007-05-16 10:25 2010-07-06 23:14
ghenry  
comand  
normal  
closed  
not fixable  
none    
none  
0002246: sudoers in /etc/opt/cws not used
when /opt/csw is nfs-mounted, you can\'t use sudo on nfs clients. sudo have to use other location
Issue History
2010-07-06 23:14 ckmehta1 Note Added: 0008093
2010-07-06 23:15 ckmehta1 Note Edited: 0008093

Notes
(0008093)
ckmehta1   
2010-07-06 23:14   
(edited on: 2010-07-06 23:15)
I would like to +1 this issue for zones as well, given how paranoid the sudo-binary is about the sudoers file, you can't even use a symlink in the /opt/csw/etc/ directory to the /etc/opt/csw. 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