How find which command has been executed by which user. HPUX 11.11 OS kshell
Hello all,
I am using HPUX 11.11 OS kshell. There we have a large set of users ( logged in as super users) Can anyone suggest a way to find which command has been executed by which user. Thanks in advance, Murugesan |
if it is there user that has just been granted SU then you should be able to go in there dir's and do a vi of .bash_history but if it is actually using root no i don't see how.
|
The best would be to set up sudo.
With sudo you can grant access a user access to certain commands. The sudo system would also log the who executed what. Don't ask me for the setup. I have no idea how to di it. |
Thanks for the replies
Since all are super users the history is in .sh_history And the commands executed by all the users are in this single file. So I cannot identify them. Yeah already we decided to use psudo command. But I would like to know who executed that command. Note that I have mentioned that the shell is ksh. |
All times are GMT -5. The time now is 10:54 AM. |