Operating System - HP-UX
1753460 Members
4877 Online
108794 Solutions
New Discussion юеВ

Auditing and Monitor user activities

 
SOLVED
Go to solution
Aldis Black
Advisor

Re: Auditing and Monitor user activities

Victor, do you happen to know how to make the history work for root session initiated via rootsh? Looks like the HISTFILE is not exported neither from user's nor root's .profile. Thanks!
Viktor Balogh
Honored Contributor
Solution

Re: Auditing and Monitor user activities

from man rootsh:

-i, --initial
Make the shell a login shell

I think this is what you are looking for. ;)
****
Unix operates with beer.
Aldis Black
Advisor

Re: Auditing and Monitor user activities

Works great!:) Many thanks!
ManojK_1
Valued Contributor

Re: Auditing and Monitor user activities


I am very much happy to see that somebody got benefit with this.

Thanks VIKCTOR for your great support.

Manoj k
Thanks and Regards,
Manoj K