- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How do I find out what users have logged in, and ...
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
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
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
тАО03-09-2001 11:51 AM
тАО03-09-2001 11:51 AM
I just wondering if anyone could help me out. I need to be able to find out if and when a user logged in. OS is 10.20. Any suggestions would be great.
Thanks,
Chet
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2001 12:08 PM
тАО03-09-2001 12:08 PM
Re: How do I find out what users have logged in, and when.
Regards,
Jason V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2001 12:10 PM
тАО03-09-2001 12:10 PM
Re: How do I find out what users have logged in, and when.
who -uH
Regards,
Jason V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2001 12:15 PM
тАО03-09-2001 12:15 PM
Re: How do I find out what users have logged in, and when.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2001 12:22 PM
тАО03-09-2001 12:22 PM
SolutionUse 'last' (see 'man last'). If /var/adm/wtmp is present, then this file will contain a record of all logins. Do this:
# last
If /var/adm/wtmp isn't present, then you will need to first touch it to start collecting this information. Permissions should be 644 owned by root. Trim (or create) the file by redirecting /dev/null into it:
# /dev/null > /var/adm/wtmp
Bad login attempts are (corresponding) kept in /var/adm/btmp and are interrogated with 'lastb' [see same man as above].
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2001 12:45 PM
тАО03-09-2001 12:45 PM
Re: How do I find out what users have logged in, and when.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2001 01:43 PM
тАО03-09-2001 01:43 PM
Re: How do I find out what users have logged in, and when.
If /var/adm/wtmp is being nulled every week then I suspect that you are running accounting processes, otherwise the file will grow without bound unless you (or cron, or some local startup script) trim it.
If accounting is active, 'START_ACCT' will be equal to <1> in /etc/rc.config.d/acct otherwise it will be set to <0>.
See also: 'man 1M acctsh'
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2001 06:07 AM
тАО03-10-2001 06:07 AM
Re: How do I find out what users have logged in, and when.
finger
Cheers...
Satish.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2001 06:17 AM
тАО03-10-2001 06:17 AM
Re: How do I find out what users have logged in, and when.
Cheers....
Satish.