Doug Summers wrote:
Does this make any sense??? It's only happening to one user (amitd):
$ sudo -l
User amitd may run the following commands on this host:
(root) NOPASSWD: /sbin/umount /cdrom
(root) NOPASSWD: /sbin/mount /cdrom
(root) NOPASSWD: /usr/sbin/umount /cdrom
(root) NOPASSWD: /usr/sbin/mount /cdrom
(root) /usr/local/apache/bin/apachectl /opt/IBMHTTPD/bin/apachectl
/opt/IBMHTTPD/bin/adminctl
(goldmine) ALL
(redbrick) ALL
(otto) ALL
(spyders) NOPASSWD: ALL
(rbweb) ALL
(root) /usr/sbin/automount [!-]*
(root) /usr/etc/automount [!-]*
$ sudo /usr/sbin/automount
Password:
amitd is not allowed to run sudo on hostname. This incident will be
reported.
This is what I get from my account (summersd):
$ sudo -l
User summersd may run the following commands on this host:
(root) NOPASSWD: /sbin/umount /cdrom
(root) NOPASSWD: /sbin/mount /cdrom
(root) NOPASSWD: /usr/sbin/umount /cdrom
(root) NOPASSWD: /usr/sbin/mount /cdrom
(root) ALL
(goldmine) ALL
(redbrick) ALL
(otto) ALL
(ALL) ALL
(spyders) NOPASSWD: ALL
(rbweb) ALL
(root) /usr/sbin/automount [!-]*
(root) /usr/etc/automount [!-]*
$ sudo /usr/sbin/automount
Password:
automount: /cm/platforms/hpx64.maxwell: already mounted
More weirdness - this is only happening on HPUX 11.00. I have the same
sudo and sudoers versions on AIX 5.3, Solaris 8/9, RHEL 3, HPUX 11.11 -
all working without issues. I've tried compiling with PAM support, but
that either caused sudo to coredump or send 3 incorrect password
attempts and crash (only on HPUX & AIX machines).
Doug
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List openpkg-users@openpkg.org