Advisor
Sudo memorydump

Hi UNIX gurus,

 

I am trying to provide sudo access to a uaer ID test. The following is what I added in sudoers file.

 

Defaults timestampdir=/var/adm/sudo
###########################################
User_Alias DC_MIGRATION = test
Cmnd_Alias CMND_DCM_UNIX = /usr/sbin/cmviewcl, \
        /usr/bin/crontab -[elr]*, !/usr/bin/crontab -[er] root,\
        /usr/bin/du, \
        /usr/bin/g*zip, \
        /usr/contrib/bin/g*zip, \
        /usr/bin/strings /etc/lvmtab, \
        /usr/sbin/fstyp, \
        /usr/sbin/ifconfig -a, \
        /usr/sbin/mount, \
        /opt/OV/bin/OpC/opcagt, \
        /opt/perf/bin/mwa, \
        /opt/perf/bin/ovpa, \
        /opt/perf/bin/perfstat, \
        /usr/bin/ls, \
        /usr/bin/sar, \
        /usr/bin/diff, \
        /usr/bin/mailx, \
        /usr/sbin/dmesg, \
        /usr/sbin/ioscan *, \
        /usr/bin/ls, \
        /usr/lbin/getprpw, \
        /usr/bin/top, \
        /usr/sbin/diskinfo, \
        /usr/sbin/swapinfo, \
        /usr/sbin/lvlnboot -v, \
        /usr/bin/find, !/usr/bin/find *-exec*, \
        /usr/sbin/*parstatus, \
        /usr/sbin/vgexport -p -v
DC_MIGRATION ALL = CMND_DCM_UNIX

On loging in as user test sudo -l is working fine.

 

{test@server:/home/test}sudo -l
Password:
Matching Defaults entries for test on this host:
    log_output, logfile=/var/adm/sudo/sudo.log, timestampdir=/var/adm/sudo

Runas and Command-specific defaults for test:

User test may run the following commands on this host:
    (root) /usr/sbin/cmviewcl, /usr/bin/crontab -[elr]*, !/usr/bin/crontab -[er] root, /usr/bin/du, /usr/bin/g*zip, /usr/contrib/bin/g*zip, /usr/bin/strings /etc/lvmtab,
    /usr/sbin/fstyp, /usr/sbin/ifconfig -a, /usr/sbin/mount, /opt/OV/bin/OpC/opcagt, /opt/perf/bin/mwa, /opt/perf/bin/ovpa, /opt/perf/bin/perfstat, /usr/bin/ls, /usr/bin/sar,
    /usr/bin/diff, /usr/bin/mailx, /usr/sbin/dmesg, /usr/sbin/ioscan *, /usr/bin/ls, /usr/lbin/getprpw, /usr/bin/top, /usr/sbin/diskinfo, /usr/sbin/swapinfo, /usr/sbin/lvlnboot
    -v, /usr/bin/find, !/usr/bin/find *-exec*, /usr/sbin/*parstatus, /usr/sbin/vgexport -p -v -s -m *

 

But when the user issues sudo <command> he gets the following error.


{test@server:/home/test}sudo /usr/sbin/dmesg
Memory fault(coredump)

Could any of you please help?

 

Thanks