- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- How to determine last successful login
Operating System - Tru64 Unix
1753672
Members
5493
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-28-2006 01:31 AM
тАО08-28-2006 01:31 AM
How to determine last successful login
Greetings,
Tru64 V5.1B w/ Patch Kit 5, enhanced security enabled.
I need to generate a list of accounts with their last successful login. I looked at the manpage for prpasswd and found field u_suclog. I logged into my account and checked my record with edauth and that field doesn't show up.
I checked the default record and this field is there, ':d_skip_success_login_log:'. So I assume that's why u_suclog isn't in my record.
I looked at the lastlogin command, ran it, and checked /var/adm/acct/sum/loginlog but found:
06-06-10 semaskav
Thing is when I either telnet or ssh it gives me the last successful login like this:
Last successful login for semaskav: Mon Aug 28 09:23:47 EDT 2006
So where is telnet & ssh getting the last successful login from?
Thanks,
Vic
Tru64 V5.1B w/ Patch Kit 5, enhanced security enabled.
I need to generate a list of accounts with their last successful login. I looked at the manpage for prpasswd and found field u_suclog. I logged into my account and checked my record with edauth and that field doesn't show up.
I checked the default record and this field is there, ':d_skip_success_login_log:'. So I assume that's why u_suclog isn't in my record.
I looked at the lastlogin command, ran it, and checked /var/adm/acct/sum/loginlog but found:
06-06-10 semaskav
Thing is when I either telnet or ssh it gives me the last successful login like this:
Last successful login for semaskav: Mon Aug 28 09:23:47 EDT 2006
So where is telnet & ssh getting the last successful login from?
Thanks,
Vic
There are 10 kinds of people, one that understands binary and one that doesn't.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2006 03:16 AM
тАО08-28-2006 03:16 AM
Re: How to determine last successful login
I'm guessing that the login command is smart enough to go to /var/adm/wtmp in lieu of the u_suclog field in the prpasswd database. See the man pages for 'wtmp' or 'last' for more details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2006 04:12 AM
тАО08-28-2006 04:12 AM
Re: How to determine last successful login
Mark,
Thanks for the info. That helps somewhat. Problem with 'last' is that we start new wtmp files at the beginning of every month. So if a user hasn't logged in during the current month we see no last login for that person.
We do keep previous monthly wtmp's amongst other files on tape so I could get them but that would be messy.
Thanks,
Vic
Thanks for the info. That helps somewhat. Problem with 'last' is that we start new wtmp files at the beginning of every month. So if a user hasn't logged in during the current month we see no last login for that person.
We do keep previous monthly wtmp's amongst other files on tape so I could get them but that would be messy.
Thanks,
Vic
There are 10 kinds of people, one that understands binary and one that doesn't.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP