- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Detailed User History
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 12:03 AM
07-13-2004 12:03 AM
Detailed User History
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 12:07 AM
07-13-2004 12:07 AM
Re: Detailed User History
You will finish up corrupting .sh_history....
I dont think that its a good idea...
To another file perhaps?
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 12:07 AM
07-13-2004 12:07 AM
Re: Detailed User History
Never used but i think you should also try
system auditing.
you can enable auditing from sam for any user/s including root.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 12:08 AM
07-13-2004 12:08 AM
Re: Detailed User History
Doesn't last command give you that information...
I am not sure if its last or lastinfo...
we used to have that information on Solaris and AIX
regards
Mobeen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 12:21 AM
07-13-2004 12:21 AM
Re: Detailed User History
The usage of last command is.
last -R for sucessful logins whit user and timestamp
lastb -R for bad logins.
//Tommy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 12:37 AM
07-13-2004 12:37 AM
Re: Detailed User History
# Set up logging
HISTFILE=${HOME}/.sh_history_`who am i|awk '{ print $1}'`
date >>$HISTFILE
export HISTFILE
HISTSIZE=500
export HISTSIZE
Course, that only set's a date at login.
We have multiple admins, must su to root, that way each of us has our own sh_history...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 12:37 AM
07-13-2004 12:37 AM
Re: Detailed User History
Thanks in advanace.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 12:54 AM
07-13-2004 12:54 AM
Re: Detailed User History
It is also so that you can recall the commands...
But if that doesnt bother you just add in the users .profile:
LOG=`who am i -R`
and as last line:
$LOG>>.sh_history
All the best
Victor