- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Trusted systems and expired accounts...
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
01-29-2002 12:27 PM
01-29-2002 12:27 PM
Trusted systems and expired accounts...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2002 12:58 PM
01-29-2002 12:58 PM
Re: Trusted systems and expired accounts...
Use the 'last' command to find out the last suucessful logins of the users. This command takes input from the /var/adm/wtmp file.
You can either sort the output or grep for a specific date. Normally if auditing is enabled on the system, then you can check the file /var/adm/acct/sum/loginlog.
See also man page of last
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2002 01:05 PM
01-29-2002 01:05 PM
Re: Trusted systems and expired accounts...
Try using the /usr/lbin/getprpw
You could write a script to extract this info for each user.
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2002 01:07 PM
01-29-2002 01:07 PM
Re: Trusted systems and expired accounts...
There is a file call /var/adm/wtmp which holds this type of information
If you do a
#last > /tmp/users
Then grep the id from that file it will tell you when they were last logged on.
The wtmp file does grow so may be housekept on some systems. Depending on this file,it will determine how far back you can see when users were last logged on
That is of course whether you now the user id's
You can set the expiry time of new users using the sam menu's
or via the command line
useradd -f 100 , will expire a users passwd in 100 days if inactive for that period
or usermod for an existing user
If you assign a -1 value the option is turned off
You can expire an account on a specific day using for eg on the 29th jan 2002
usermod -e 29/1/02
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2002 01:08 PM
01-29-2002 01:08 PM