I am having problems getting sudo running properly on an AIX 5.3 system. Here are the specifics of my install:
sudoers file located at /etc/sudoers
output of ls -al /etc/sudoers
-r--r----- 1 root system 155 Oct 17 21:04 sudoers
contents of sudoers file:
/etc >cat sudoers
Defaults logfile=/var/log/sudolog
jkb msoadvprod = NOPASSWD: /usr/bin/kill, /page/cmd/killusr
rkh msoadvprod = NOPASSWD: /usr/bin/kill, /page/cmd/killusr
location of sudo binary:
/usr/local/bin
permission on sudo
---s--x--x 1 root system 147460 Mar 11 2006 sudo
Here is the PATH statement in my /etc/environment file
PATH=/page/cmd:/met/sy/vic
s_cmd:/usr
/java131/b
in:/metbin
:/met/sy/b
in:/usr/bi
n:/etc:/us
r/sbin:/us
r/ucb:/usr
/bin/X11:/
sbin:/usr/
local/bin:
/home/UPSH
ostAccess:
/home/UPSH
ostAccess/
test:/usr/
local/sbin
:.
Here is the PATH statement from my .profile file
PATH=:/met/sy/vics_cmd:/us
r/java131/
bin:/page/
cmd:/metbi
n:/met/sy/
bin:/usr/b
in:/etc:/u
sr/sbin:/u
sr/ucb:/us
r/bin/X11:
/sbin:/bin
:/usr/loca
l:/met/sy/
cmd:/u/cmd
:/met/sy/c
md:/u/wp/b
in:/u/wp/s
bin:/page/
cmd:/usr/b
in:/usr/lo
cal/bin:.
When I try calling sudo like this:
$ sudo -u rkh /page/cmd/killusr lvv
The result is:
rkh is not allowed to run sudo on coloadv1. This incident will be reported.
Any suggestions for me please?
Start Free Trial