My Original Question:
I want all the users to be prompted for 'Choose a new password' the next time
they log in. Could any body please tell me that how I can do this under
solaris 2.5. I have defined the max password change limit in etc/default as 4
weeks but now I am looking for a way to force users to change there passwords
at the earliest possible, regardless the limit of 4 weeks.
I know I can do this from admintool for individual users but I am ooking for a
global command which affects all users.
Thanks to all those who replied:(Forgive me, if I have missed your name)
"Dennis Martens" <MARTENSD@health.qld.gov.au>
email@example.com (Jafar Shameem
Rajeev Kumar <firstname.lastname@example.org
Leif Ericksen <email@example.com>
Tim Pointing <firstname.lastname@example.org>
Stephen P Richardson <email@example.com>
Sean Quaint <firstname.lastname@example.org>
Ilhan Narli <email@example.com>
firstname.lastname@example.org (Michael Wang
Jon LaBadie <email@example.com>
The majority responded to use:
# passwd -f user_name
as a super user. I will write a small shell script using awk to execute this
command for each and every user in the passwd file.
Special Thanks to:
Amjad Zamil <firstname.lastname@example.org>
N Chandrasekhar <email@example.com
Sweth Chandramouli <firstname.lastname@example.org>
who also provided me with similar scripts.
I apologize for not consulting the man pages before posting to this list. But
the feeling of password/shadow file being stolen was so much shaking that I
really forgot to do that.
Get free e-mail and a permanent address at http://www.netaddress.com/?N=1
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:17 CDT