SUMMARY: Expire a user's password (C2) ?

From: Paul N. Youngblood <youngbp_at_uahis1.uah.edu>
Date: Tue, 25 May 1999 16:08:04 -0500 (CDT)

Hello Admins,

My original post is at the very end of this message.
Thanks VERY MUCH to the following for their help:

Steve VanDevender <stevev_at_hexadecimal.uoregon.edu>
Dayv Gastonguay <noghri_at_nauticom.net>
Piotr Konieczny <znahor_at_venus.wmid.amu.edu.pl>
Robert Mulley robert_at_gnsconsulting.com.au
William H. Magill <magill_at_isc.upenn.edu>
John Ferlan <ferlan_at_zk3.dec.com>
Matt Moore <moorem_at_storm.bucks.edu>

Steve VanDevender responded 2 minutes after my posting for help
on this topic! He, Piotr Konieczny, William H. Magill, and
John Ferlan all informed me of the man page for "prpasswd",
specifically the description of the "u_psw_change_reqd"
keyword.

Robert Mulley and Matt Moore were even more informative. Both
went to the trouble of giving me the exact sed command to use
in a script:

   for i in `cat usernames`
   do
       edauth -g $i |
       sed 's/:chkent:/:u_psw_change_reqd:chkent:/' |
       edauth -s
   done

All of the above is exactly what I was looking for.
Additionally, Dayv Gastonguay suggested using the
"usermod" command with the -x flag.

Thanks again to all who took time to respond!!!

Paul Youngblood
e-mail: youngbp_at_uahis1.uah.edu

----------------------------------------------------------
---------original posting---------------------------------
----------------------------------------------------------
Date: Fri, 21 May 1999 18:47:55 -0500 (CDT)
From: Paul N. Youngblood <youngbp_at_uahis1.uah.edu>
To: tru64-unix-managers <tru64-unix-managers_at_ornl.gov>
Followup-To: poster
Subject: Expire a user's password (C2) ?

Hello System Admins,

Anyone know how to cause an exiting user's password to
expire without using any dxaccount GUI stuff and without
changing his/her password. I'm thinking there must be a
way via the edauth -g / edauth -s sequence. I want to
force a given user to change passwords at next login.

I'm running DU 4.0D and C2 Security. I'll summarize.

Paul Youngblood
Received on Tue May 25 1999 - 21:11:18 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT