From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079042215926.tru64-unix-managers.marc@archive.invalid> From: "Paul N. Youngblood" Date: Tue, 25 May 1999 21:08:04 +0000 To: tru64-unix-managers Subject: SUMMARY: Expire a user's password (C2) ? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079042215926 Hello Admins, My original post is at the very end of this message. Thanks VERY MUCH to the following for their help: Steve VanDevender Dayv Gastonguay Piotr Konieczny Robert Mulley robert@gnsconsulting.com.au William H. Magill John Ferlan Matt Moore 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@uahis1.uah.edu ---------------------------------------------------------- ---------original posting--------------------------------- ---------------------------------------------------------- Date: Fri, 21 May 1999 18:47:55 -0500 (CDT) From: Paul N. Youngblood To: tru64-unix-managers 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