- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Activities of priviliged users
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
06-28-2007 05:13 PM
06-28-2007 05:13 PM
Activities of priviliged users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2007 05:27 PM
06-28-2007 05:27 PM
Re: Activities of priviliged users
Sorry for answering about things that you do not find suitable. Seems like you will spend more time trying to do things programmatically and reinventing wheels.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2007 05:30 PM
06-28-2007 05:30 PM
Re: Activities of priviliged users
WOW... that should be:
I setup roots profile to create a hist file that is per user.
I got my mords all wixed up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2007 06:39 PM
06-28-2007 06:39 PM
Re: Activities of priviliged users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2007 12:01 AM
06-29-2007 12:01 AM
Re: Activities of priviliged users
Very, very common requirement. In many shops, the root is never allowed to login. In my shop, root's password is automatically changed every day -- and the 4 different sysadmins NEVER login as root. Instead, they use sudo, a special program to limit root access as well as LOG EVERYTHING. Just download sudo from HP's software site:
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111
Internet Express is a collection of several tools. Just pick the version of HP-UX you are using, then select the item(s) you want. All packages are in swinstall format.
Without sudo, you should have your shell history setup on *ALL* users. Add these lines to /etc/profile:
export HISTFILE=$HOME/.sh_history
export HISTSIZE=1000
export EDITOR=/usr/bin/vi
You will have to watch this file. A user that tries to hide a mistake may try to edit this file but any change to it will corrupt it and the history command will show nothing while cat .sh_history will show what's left.
Bill Hassell, sysadmin