HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to find last login time
Operating System - HP-UX
1838653
Members
4034
Online
110128
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
Forums
Discussions
Discussions
Discussions
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
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
02-23-2007 01:33 AM
02-23-2007 01:33 AM
How to find last login time
Is there any command which can give last login time of all user accounts on the server??
Basically I want to find all users who ever not logged into the account since past 120 days...Is there any way to do this task??
Basically I want to find all users who ever not logged into the account since past 120 days...Is there any way to do this task??
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2007 01:42 AM
02-23-2007 01:42 AM
Re: How to find last login time
Hi,
you have been on the forums just over 1 month, but have yet to reward any of the 30 answers given.
Please read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
"man last" will help you with your current question, but only if you have not messed with /var/adm/wtmp.
you have been on the forums just over 1 month, but have yet to reward any of the 30 answers given.
Please read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
"man last" will help you with your current question, but only if you have not messed with /var/adm/wtmp.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2007 01:44 AM
02-23-2007 01:44 AM
Re: How to find last login time
Hi San,
1] Finger -->
By default, finger lists for each user_name on the system:
Login name,
Full given name,
erminal write status (if write permission is denied),
Idle time, <---
Login time, <---
User's home directory and login shell,
ny plan the user has placed in file .plan in their home directory,
Project on which they are working from the file .project, also in the home directory,
office location and phone number (if known),
last time the user received the mail, and last time the user read the mail.
2]last-->
indicate last logins of users and ttys
The last command searches backwards through the file /var/adm/wtmps (which contains a record of all logins and logouts) for information about a user, a tty, or any group of users and ttys
1] Finger -->
By default, finger lists for each user_name on the system:
Login name,
Full given name,
erminal write status (if write permission is denied),
Idle time, <---
Login time, <---
User's home directory and login shell,
ny plan the user has placed in file .plan in their home directory,
Project on which they are working from the file .project, also in the home directory,
office location and phone number (if known),
last time the user received the mail, and last time the user read the mail.
2]last-->
indicate last logins of users and ttys
The last command searches backwards through the file /var/adm/wtmps (which contains a record of all logins and logouts) for information about a user, a tty, or any group of users and ttys
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2007 01:49 AM
02-23-2007 01:49 AM
Re: How to find last login time
Hi (again),
and if you use the ITRC search facility you can also find:
"Last login and disused accout checking?"
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=145580
and if you use the ITRC search facility you can also find:
"Last login and disused accout checking?"
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=145580
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP