- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Rarely logged in User list
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
04-09-2008 05:37 AM
04-09-2008 05:37 AM
Rarely logged in User list
Is there a way to check in HP-UX 11.00 the rarely logged in users(may be in the last one year). I tried last command. But it gives only the past three days..i.e Apr7, Apr8, & apr9.
Thanks in advance.
vthiru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2008 06:17 AM
04-09-2008 06:17 AM
Re: Rarely logged in User list
Do you do any password aging, or force the passwd to be changed when the user first logs in?
There are a couple of things which *may* help, but they depend on the ansers to the above
"last" used the wtmp file. In your case, it looks like that file only goes back 3 days. This could be caused by a variey of things.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2008 06:57 AM
04-09-2008 06:57 AM
Re: Rarely logged in User list
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2008 07:06 AM
04-09-2008 07:06 AM
Re: Rarely logged in User list
check /var/adm/wtmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2008 09:00 AM
04-09-2008 09:00 AM
Re: Rarely logged in User list
So? He's trying to find user's that *rarely* use the system...which probably means he wants to retire obsolete user accounts....
"check /var/adm/wtmp"
he already said he's only getting 3 days...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2008 03:51 PM
04-09-2008 03:51 PM
Re: Rarely logged in User list
As mentioned by others, if last(1) doesn't go back more than 3 days, you need to change your automation to keep this info longer. Possibly keeping the last entry for each user.
If the /var/adm/wtmp* data is removed, you could try to look at the last access date to their profiles:
$ ll -u ~user1/.profile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2008 05:21 AM
04-10-2008 05:21 AM
Re: Rarely logged in User list
those account that aren't locked will show "PS" as opposed to "LK". The date shown will be the date of the last password change. That date might help you. Depends on if you have password aging enabled, as if you don't, the indicated account simply may have never changed their password...
run "finger" on suspect accounts might turn up useful info as well.
There should be something similar for trusted systems as well