HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- User Disabled Date
Operating System - HP-UX
1832480
Members
2789
Online
110043
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
Go to solution
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
01-11-2005 07:46 AM
01-11-2005 07:46 AM
Hi
Can anyone tell me how to find out the date on which an user account was disabled? I need to come up with a script to delete users automatically after 90 days from Disabling the user. I'm on HP-UX 11.0
Thanks in advance for your help.
Nell
Can anyone tell me how to find out the date on which an user account was disabled? I need to come up with a script to delete users automatically after 90 days from Disabling the user. I'm on HP-UX 11.0
Thanks in advance for your help.
Nell
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2005 08:13 AM
01-11-2005 08:13 AM
Solution
Generally, this timestamp is not kept in the tcb database but it may depend upon how you are disabling accounts. I assume that this is a Trusted system otherwise this is impossible. The way this is typically done is to look at the last login timestamp.
In your case, part of your account disabling (if you are simply doing a passwd -l user) procedure will have to be to write the login, UID, and timestamp to a file and use it because this timestamp is not a stored field. Keeping a parallel file will also work in non-Trusted systems.
In your case, part of your account disabling (if you are simply doing a passwd -l user) procedure will have to be to write the login, UID, and timestamp to a file and use it because this timestamp is not a stored field. Keeping a parallel file will also work in non-Trusted systems.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2005 03:10 AM
03-01-2005 03:10 AM
Re: User Disabled Date
Thanks Clay for your suggestion. It works fine for me.
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