- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: users login
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
10-29-2002 07:19 PM
10-29-2002 07:19 PM
users login
I have a rp8400 with HP-UX 11.11.
How can I findout who all users has login to this server for the last 3 days and also at what time and what all jobs has been done by them?
Thanks,
Raje.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2002 07:47 PM
10-29-2002 07:47 PM
Re: users login
You can use 'last' and 'lastb' command for your need. Just man last will give you the options to fulfill your requirement !
It will read two binary file /var/adm/wtmp and /var/adm/btmp to gather the login information. You can housekeep this 2 files so that you will have a daily login statistics report !
Regards,
Patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2002 07:48 PM
10-29-2002 07:48 PM
Re: users login
You can use the 'last' command to find what users have logged in the last three days as long your 'wtmp' file has bee going for this long.
As far as to what commands users are running, you could look into their .sh_history files in their home directory, but this won't tell you when. The only proper way is to turn on system auditing, and this takes valuable system resources and disk space to log it. If you haven't got this turned on, then it does not work retrospective.
Regards
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2002 07:50 PM
10-29-2002 07:50 PM
Re: users login
Also you can
#cp /var/adm/wtmp /tmp/wtmp
# /usr/sbin/acct/fwtmp < /tmp/wtmp > /tmp/wtmp.ascii
In the case of monitoring the jobs you should enable auditing on the system.
Thanks
open the ascii file and check out the logins.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2002 07:56 PM
10-29-2002 07:56 PM
Re: users login
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xde3ac4c76f92d611abdb0090277a778c,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2002 12:57 AM
10-30-2002 12:57 AM
Re: users login
This will help:-
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x37857d4cf554d611abdb0090277a778c,00.html
Paula