- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Logging with HP-UX
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-24-2005 09:53 AM
08-24-2005 09:53 AM
Logging with HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 10:01 AM
08-24-2005 10:01 AM
Re: Logging with HP-UX
You can monitor users details , through their command history :
check this
# cat ~username/.sh_history
You can come to know what command ,which file user is accesing.
This is applicable for unix users only.
Cheers ,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 10:03 AM
08-24-2005 10:03 AM
Re: Logging with HP-UX
Rather you can set permission to the files and folder you do not want the user to access, with chown and chmod commands.
Hope this will help ,
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 10:08 AM
08-24-2005 10:08 AM
Re: Logging with HP-UX
Other option is to look at .sh_history file of that user. (if it has been set properly.)
There is product called powerbroker (additional $$), that seems to have such feature. Do not know much about it though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 10:27 AM
08-24-2005 10:27 AM
Re: Logging with HP-UX
Symark PowerBroker 3.2 for (HPUX) is available.
And Symark PowerBroker provides security and accountability by enabling system administrators to delegate administrative privileges and authorization without disclosing the root password and to grant selective access to UNIX .
You can check out this link , but its ($$) as RAC said,
http://trialware.techrepublic.com/thankyou.aspx?scid=2004&docid=77353&view=77353
But you can try the evaluation copy.
Cheers ,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 12:10 PM
08-24-2005 12:10 PM
Re: Logging with HP-UX
As noted, short of enabling the accounting functions for more detailed logging of user activity, you're not going to obtain too much information.
For a minimum of overhead you have at leat three (3) places you can find basic tracks for users logins. If present, the file '/var/adm/wtmp' records sucessful login sessions (including from "where" and "when"). It's cousin, '/var/adm/btmp' records bad login attempts. Lastly, '/var/adm/sulog' holds a record of switch-user ('su') actions. The three files can be quite useful.
Have a look at the man pages for 'wtmp'. If you want to turn on logging simply 'touch' an empty file. The same apllies for 'btmp'. Correspondingly, to turn off logging, remove the file in question.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 03:40 PM
08-24-2005 03:40 PM
Re: Logging with HP-UX
You can check the HIST file of the users.
Other option, if you can set the permissions and ownerships of these non-OS directories/files so users are forced to use sudo or powerbroker or...
Be very careful with this last option. Could cause more trouble than its worth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 05:28 PM
08-24-2005 05:28 PM
Re: Logging with HP-UX
Just write in their .profile
scirpt logfile
Later you can grep it for specific folders.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 06:45 PM
08-24-2005 06:45 PM
Re: Logging with HP-UX
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=945609
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=939679
hth.