Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AIX su and .sh_history no trace?

Status
Not open for further replies.

kimmers

Technical User
Aug 1, 2002
24
FI
Hi,

I faced an issue where i.e root goes to another user i.e test
su - test this records fine in user test's .sh_history file and you can see what commands has been applied, but if you use just su test without '-' dash this doesn't record anything at all.
Basically '-' reads user's environment varables incl. .profile but is this history recorded somewhere where it can be found afterwards?
It doesn't appear on root's .sh_history nor the sudo user's .sh_history.

Regards,

#Kimmers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top