GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mass Password Reset
Operating System - HP-UX
1855912
Members
8259
Online
104107
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
back
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
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
11-22-2005 11:19 PM
11-22-2005 11:19 PM
Mass Password Reset
Hi,
How does one reset (to a standard password) and exprire passwords (so a user has to change to a new password the first time they login) for all users in a system except for root.
How does one reset (to a standard password) and exprire passwords (so a user has to change to a new password the first time they login) for all users in a system except for root.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 11:27 PM
11-22-2005 11:27 PM
Re: Mass Password Reset
Use "modprpw -E" (assuming this is a trusted system). However, this does *ALL* users, including root.
Pete
Pete
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 11:50 PM
11-22-2005 11:50 PM
Re: Mass Password Reset
Shalom Vishal,
cat /etc/passwd | | awk -F: '{print $1}' > /tmp/list
#maybe break and edit the list
while read -r username
do
passwd -l $username
done < /tmp/list
rm -f /tmp/list
Stick any passwd command you need in the loop.
SEP
cat /etc/passwd | | awk -F: '{print $1}' > /tmp/list
#maybe break and edit the list
while read -r username
do
passwd -l $username
done < /tmp/list
rm -f /tmp/list
Stick any passwd command you need in the loop.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 11:59 PM
11-22-2005 11:59 PM
Re: Mass Password Reset
Hi,
Thanks for the responses.
It is a trusted system.
modprpw -E -> I can use this to expire all passwords.
In the response from SEP how does one supply the password to be used.
Thanks for the responses.
It is a trusted system.
modprpw -E -> I can use this to expire all passwords.
In the response from SEP how does one supply the password to be used.
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 2026 Hewlett Packard Enterprise Development LP