###
### Start Directory Engineering Section
###
###
###       This will handle most typical server configurations, but
###       may not be correct for older servers.
###

# Host alias specification
#  LDAP  = Novell eDirectory
#
Host_Alias      LDAP_DEV = \
                 serverb1, serverb2, server055, server056, \
                 serverb3, server057, \
                 server003, server004
Host_Alias      LDAP_QA = \
                 server701, server705, server900, \
                 server702, server905, \
                 ndstest1, ndstest2, serverl111, server017, server024, \
                 serverl059, server018, \
                 server05

Host_Alias      LDAP_PROD = \
                 server056, server057, server134, server135, \
                 server058, server136, \
                 server300, server301, server302, server303, server304, server305, \
                 server070, server071, server072, server151, server152, server156, server019, server020, server021, server022, \
                 server069, server155, \
                 server018, server019

# User alias specification
User_Alias      EDS_ADMINS = user1, user2, user3

# Cmnd alias specification
Cmnd_Alias      EDS_NDS_CMD= \
                /etc/init.d/nds,  \
                /etc/init.d/ndsd, \
                /etc/init.d/servernmpsa, \
                /etc/init.d/novell-tomcat4, \
                /etc/init.d/novell-httpd, \
                /etc/init.d/imgr, \
                /usr/sbin/nldap, \
                /usr/sbin/npki, \
                /usr/sbin/ndsd, \
                /usr/bin/servernmp, \
                /usr/bin/servernmpsa, \
                /var/opt/novell/tomcat4/bin/startup.sh, \
                /var/opt/novell/tomcat4/bin/shutdown.sh, \
                /var/opt/novell/httpd/bin/httpd
 
Cmnd_Alias      EDS_NDS_UTILS= \
                /usr/bin/dsrmenu.sh, \
                /usr/bin/ice, \
                /usr/bin/ldapconfig, \
                /usr/bin/ndsimonitor, \
                /usr/bin/ndsbackup, \
                /usr/bin/ndsbackup.sh, \
                /usr/bin/ndsconfig, \
                /usr/bin/ndsimonitor,   \
                /usr/bin/ndslogin, \
                /usr/bin/ndsmerge, \
                /usr/bin/ndsrepair, \
                /usr/bin/ndsrepair.sh, \
                /usr/bin/serverch, \
                /usr/bin/servertat, \
                /usr/bin/ndstrace, \
                /usr/bin/ndsunix.sh, \
                /usr/bin/pkiconfig, \
                /usr/bin/slpinfo, \
                /usr/bin/slpuasa

Cmnd_Alias      EDS_NDS_BUILD= \
                /admin/home/ndsuser/edir.dev/[Directory-Info.com]/nds-menu.sh

Cmnd_Alias      EDS_DEBUG_UTILS_CMD= \
                /usr/bin/truss, \
                /usr/bin/pstack, \
                /usr/bin/pmap, \
                /usr/local/bin/lsof, \
                /usr/local/sbin/tcpdump, \
                /usr/sbin/snoop
 
# Runas alias specification
Runas_Alias     EDS_SUDO_ROOT = root
Runas_Alias     EDS_SUDO_NDSUSER = ndsuser
 
# Defaults specification
 
# User privilege specifications
ndsuser        LDAP_DEV, \
               LDAP_QA, \
               LDAP_PROD \
           = (EDS_SUDO_ROOT) NOPASSWD: EDS_NDS_CMD, \
                                         EDS_NDS_UTILS, \
                                         EDS_NDS_BUILD, \
                                         EDS_DEBUG_UTILS_CMD

EDS_ADMINS   LDAP_DEV, \
               LDAP_QA, \
               LDAP_PROD \
           = (EDS_SUDO_NDSUSER) ALL

###
### END EDS/Directory Engineering Section
###

More Information#

There might be more information for this subject on one of the following:

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-2) was last changed on 25-Jul-2011 19:31 by jim