- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Change user password
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
Discussions
Discussions
Forums
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
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
тАО09-23-2003 09:35 PM
тАО09-23-2003 09:35 PM
my command is
# chage -d0 userid1
# chage -d0 userid2
But when userid1 is changing the password, then userid2 can't change the password at the same time,
the below is the error :
login: user2
You are required to change your password immediately (root enforced)
we have about 200 users so it is a great problem of us , can suggest how to solve it ? thx.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2003 12:01 PM
тАО09-25-2003 12:01 PM
Re: Change user password
why not using passwd?
Which distro are you using ? Are they all local user?
Thanks,
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2003 12:54 PM
тАО09-25-2003 12:54 PM
Solutionpasswd -f
issued as root.
I just tried that in Red Hat 7.3 and to my surprise it did not work.
passwd -x 0
Will probably do the trick though.
From the man page.
-x This will set the maximum password lifetime, in days, if the user's account supports password life times. Available to root only.
SEP
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
тАО09-25-2003 09:17 PM
тАО09-25-2003 09:17 PM
Re: Change user password
can anyone suggest what is the best way to regularly force users ( about 200 users in our company) to change the password , and does anyone has a script to do it? thx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2003 10:50 PM
тАО09-28-2003 10:50 PM
Re: Change user password
u can force the users to change their passwords on a regular basis by setting the min and max password aging options of passwd command
passwd -n mindays -x maxdays username
or maybe u can use
chage -m0 username
so that the user can change his/her password anytime.
do it in the reverse order first give the chage -m and then set the password lifetime using passwd.
HTH
aparna