- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Security Loging capability
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
05-27-2008 05:31 AM
05-27-2008 05:31 AM
Security Loging capability
Is there any common tool available for HP-UX/Solaris and Linux which can log all the tasks/commands performed by a user from the time he login to the time he logs out?
Thank you,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2008 05:44 AM
05-27-2008 05:44 AM
Re: Security Loging capability
you can use script to log the users activity
#man script
you can apply audit in hp-ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2008 02:06 AM
05-30-2008 02:06 AM
Re: Security Loging capability
Please use script command.
Regards
DK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2008 05:39 AM
05-30-2008 05:39 AM
Re: Security Loging capability
for a user that becomes root you can add the next line in the /.profile to sort out who is doing wat...
USERNAME=`/usr/bin/who am i|/usr/bin/awk ' { print $1}'`
if [ ! -z "$USERNAME" ]; then
USERPROFILE=/home/$USERNAME/.profile
HISTFILE=/.sh_history.$USERNAME
if [ -r $USERPROFILE ]; then
. $USERPROFILE
fi
else
# number histfile to keep users apart, remove file on exit
HISTFILE=/.sh_history.$$
trap "echo 'logout root';rm -f $HISTFILE" 0 9
fi
HISTSIZE=8048
export HISTFILE HISTSIZE
date >> /.sh_history.$USERNAME
However this file can be changed by the user it self...
you can alsow use the "Audited Users" I never have used it but you can configered it via sam
Auditing and Security
Audited Users
I was told this is using system resources so do not run it on a high loaded system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2008 01:43 AM
05-31-2008 01:43 AM
Re: Security Loging capability
script is a simple tool. If you put it in user's .profile (read only) and redirect the output a file which is also read only then all the keystrokes of the user can be logged in the output file
script keys.file
There is a commercial tool called Symark PowerBroker which is capable to log all the keystrokes of the user including root (you can define for it) and can be played back the keys later auditing.
Regards.