- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to track user logins and activities?
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
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
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-19-2005 08:12 PM
тАО06-19-2005 08:12 PM
How to track user logins and activities?
Is there a way to check (any) user login and logout times? And also, to see what files did this user accessed during this time?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2005 08:14 PM - last edited on тАО07-18-2023 11:52 PM by Sunitha_Mod
тАО06-19-2005 08:14 PM - last edited on тАО07-18-2023 11:52 PM by Sunitha_Mod
Re: How to track user logins and activities?
you can have some information in /var/adm/syslog/syslog.log...
also look at this :http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=764349
Stf
[Moderator edit: The above link is no longer valid.]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2005 08:15 PM
тАО06-19-2005 08:15 PM
Re: How to track user logins and activities?
use last (for successful login duration) and lastb (bad logins) command.
to see what files users access, unless u have audit turn on, another way is .sh_history from each user's home directories.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2005 08:16 PM
тАО06-19-2005 08:16 PM
Re: How to track user logins and activities?
Is there a way to check (any) user login and logout times?
For users currently logged in use:
# who -R
For history of the user login sessions use:
# last -R
For unsuccessful login attempts use:
# lastb -R
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2005 10:52 PM - last edited on тАО07-21-2023 04:06 AM by Sunitha_Mod
тАО06-19-2005 10:52 PM - last edited on тАО07-21-2023 04:06 AM by Sunitha_Mod
Re: How to track user logins and activities?
You could also use the auditing feature, This can be turned on thru 'sam'
Refer for morehttp://docs.hp.com/en/B2355-90121/ch02s05.html
http://nixdoc.net/man-pages/HP-UX/man1M/audisp.1M.html
Note : Auditing is available only in trusted systems
All the Best.
[Moderator edit: The above link is no longer valid. Please refer to https://support.hpe.com/]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2005 05:30 AM
тАО06-20-2005 05:30 AM
Re: How to track user logins and activities?
/etc/wtmp -- successful logins and logouts, accessed with "last".
/etc/btmp -- unsuccessful login attempts, accessed with "lastb".
/etc/wtmp exists by default and if the file /etc/btmp doesn't you can "touch" it if you're the superuser.
# touch /etc/btmp
As far as user activities are concerned do a man on the following commands:
lastcomm / acctcom / acctcms
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2005 05:40 AM
тАО06-20-2005 05:40 AM
Re: How to track user logins and activities?
The `last` and `lastb`
As to what was accessed, check the user's .sh_history file. Also look at using the auditing feature of a trusted system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2005 07:37 AM
тАО06-20-2005 07:37 AM
Re: How to track user logins and activities?
acctcom
lastcomm
acctcms
are most fo the commands that will help you to track activity in the system. You will need to enable acct by changing START_ACCT=1 in the /etc/rc.config.d directory.
Hope it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2005 07:38 PM
тАО06-20-2005 07:38 PM
Re: How to track user logins and activities?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2005 08:51 PM - last edited on тАО07-18-2023 11:54 PM by Sunitha_Mod
тАО06-20-2005 08:51 PM - last edited on тАО07-18-2023 11:54 PM by Sunitha_Mod
Re: How to track user logins and activities?
Hi,
another link from me;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=33516
[Moderator edit: Removed the invalid link.]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2005 06:24 AM
тАО06-29-2005 06:24 AM
Re: How to track user logins and activities?
Use last command for sucessful login details,
use lastb command for unsucessful login details.I think lastb command only avilable on HP-UX.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2005 02:13 PM
тАО06-29-2005 02:13 PM
Re: How to track user logins and activities?
Just kidding..