- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- su and monitoring access
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
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
08-13-2003 06:57 AM
08-13-2003 06:57 AM
su and monitoring access
Is this easy to do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2003 06:46 AM
08-13-2003 06:46 AM
Re: su and monitoring access
I've heard that there are 3rd party monitoring tools that promise this sort of tracking.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2003 06:54 AM
08-13-2003 06:54 AM
Re: su and monitoring access
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2003 06:54 AM
08-13-2003 06:54 AM
Re: su and monitoring access
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2003 06:56 AM
08-13-2003 06:56 AM
Re: su and monitoring access
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2003 07:05 AM
08-13-2003 07:05 AM
Re: su and monitoring access
Ta
George
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2003 07:09 AM
08-13-2003 07:09 AM
Re: su and monitoring access
The following link may help - it mentions an option to allow you to keep existing environment variables when using su
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xcb2a16515c36ba48b0ba840e6d90bb89,00.html
I'm not sure which variables it will retain, but it's worth checking out.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2003 07:28 AM
08-13-2003 07:28 AM
Re: su and monitoring access
use this:
export HISTFILE=$HOME/.sh_history`tty|tr / _`_`date | tr " " _`
This way you have a different history for each user, because the do the su from different pty and at different times.
Joining this with syslog you can track all down.
Or you can enable auditing, but this is very heavy...
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2003 01:16 PM
08-13-2003 01:16 PM
Re: su and monitoring access
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2003 01:48 PM
08-13-2003 01:48 PM
Re: su and monitoring access
There are several products available that allow you to do this type of thing.
sudo is the one that srings to mind, although I have also seen qsu and su2 at other sites.
You should be able to establish a .sh_history_root_
Tim