- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- process 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
02-13-2005 08:33 PM
02-13-2005 08:33 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2005 08:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2005 08:55 PM
02-13-2005 08:55 PM
Re: process history
As an addition for Paul's reply
you can put these lines in .profile of root;
HistUser=`who am i | awk '{print $1}'`
export HISTFILE=$HOME/.hist_${HistUser}
This creates a file in / like;
.hist_username
so you can easily monitor who su to root.
Good luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2005 08:58 PM
02-13-2005 08:58 PM
Re: process history
Robert's reply...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2005 04:57 PM
02-14-2005 04:57 PM
Re: process history
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2005 05:01 PM
02-14-2005 05:01 PM
Re: process history
Unless the system is trusted you can't
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2005 11:22 PM
02-14-2005 11:22 PM
Re: process history
But I suppose there is no way to protect the files so that the root-user who is ashamed of his doings can not hide what he has done?
Hm.. maybe logging the same information as in the .history_
Hm...?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2005 11:31 PM
02-14-2005 11:31 PM
Re: process history
if you have multiple users logging into the root account directly and you have not had the log split or command audit on, there is no way you can say who issued a command.
We always force users to log on with their own id and then su to root. Direct root access is disabled, bar from the console.
So we can trace who was logged on as root at any given time from the sulog.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2005 11:36 PM
02-14-2005 11:36 PM
Re: process history
Bill Hassell, sysadmin