- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Reset all userid simultaneous
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-24-2001 12:45 AM
04-24-2001 12:45 AM
Reset all userid simultaneous
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2001 01:17 AM
04-24-2001 01:17 AM
Re: Reset all userid simultaneous
awk -F: '{ print "passwd -f " $1 }' /etc/passwd | sh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2001 01:22 AM
04-24-2001 01:22 AM
Re: Reset all userid simultaneous
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2001 06:29 AM
04-24-2001 06:29 AM
Re: Reset all userid simultaneous
You can run the following command cut -d : f1 /etc/passwd > "users login id"
edit the file, deleting root bin sys oracle etc.
Then run for loop on "user login id" file to force all users to change password on next login.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2001 07:05 AM
04-24-2001 07:05 AM
Re: Reset all userid simultaneous
usermod [-u uid [-o] ] [-g group] [-G group [, group...]] [-d dir [-m] ] [-s shell] [-c comment] [-f inactive] [-l new_logname] [-e expire] login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2001 11:44 AM
04-24-2001 11:44 AM
Re: Reset all userid simultaneous
As I've uderstood well, Sarah mentioned trusted system,
what means C2 security level. If so, all valid information about accounts and passwords is stored in files in
/tcb/files/auth/[A-Za-z].
For example info about user account bill is stored in the file /tcb/files/auth/b/bill
As concerns password aging in such file it is neceesary to define parameters as in the example below:
u_minchg#0:u_exp#0:u_life#86400:u_succhng#0:
where
u_minchg#0 means that password can be change immediately
u_exp#0 means that password is valid 0 days (exactly seconds)
u_life#86400 means the password life time equal to 1 day or 86400 seconds
u_succhng#0 means that the password should be changed at the next login.
This last parameter changes value to sth much more than 0 after changing password by user. And according to man 4 prpwd is not recommended to be changed manually.
But I did it and it works.
So to conclude, Sarah you should write a script, shell script for example to include such line or modify this line if already included for respective files for all users.
Seems to be not too difficult, but takes some time especially for testing.
Hpe this short explanation helps to take right decision.
Rgds.