Hi all-
I'm running into an issue which I am sure has come up before. I'm using a shell script on AIX 5.3 to list out the processes for an interface, so the user can terminate it for system maintenance. The problem I've run into is that one user isn't allowed to kill another user's processes, so if one person starts it, they're the only one that can terminate it.
What I'd like to do - from a shell script - is allow any user to terminate the process for the interface whether they started it or not. I've done this on SCO 100s of times, using the asroot command, but there doesn't seem to be an equivalent on AIX.
I know I could install the sudo program, but the system I'm working on doesn't have a C compiler. I'm also guessing there is a command equivalent on AIX to asroot, but I've yet to find it. From a security standpoint, I'd also rather NOT set all the user's IDs to 0, thereby creating a huge hole in the O/S. I've also tried setting the kill command perms to u+s, to no avail.
As a side note, there is NO WAY for the user to break out of the script and get to a command prompt. Their logons take them straight to the software, and they then have a menu that can call various shell scripts. Once they exit the software, they go straight back to the system logon.
Thanks, in advance, for your assistance.