From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079058315802.tru64-unix-managers.marc@archive.invalid> From: "Richard Young \(SCI\)" Date: Mon, 12 Jul 1999 01:15:06 +0000 To: tru64-unix-managers Subject: SUMMARY: Unable to unlock accounts X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079058315802 Dear Managers Thankyou to the people who responded to my question about unlocking accounts. Original Question ---------------------------------------------------------------------------- ------------------------------ Dear managers, I am running C2 security on a Tru64 Unix 4.0e. When I create accounts I give each an inactive limit of 4 weeks. This is causing a bit of a problem in that if a person does not access their account for more than 4 weeks, its of course locked, but it can not be unlocked. I have tried to unlock the account using dxaccounts and the command usermod but to with effect. The only way I seem to be able to unlock an account is to change the inactive limit. Is the their a way to unlock accounts without changing the inactive limit of the account? If so, is their a way of doing this from the command line? ---------------------------------------------------------------------------- ------------------------------ Summary The overall response was to use edauth to edit the a users database entry and modify the last successful login date. I have created a program with the line edauth -g "loginname" | sed 's/???/???/' | edauth -s to change the last login date and then unlock the account. Thanks ---------------------------------------------------------------------------- ------------------------------ Richard A. Young Faculty of Sciences (Faculty Network Services) University of Southern Queensland Toowoomba, Queensland 4350 Australia Email: youngr@usq.edu.au Phone: (07) 46311513 Fax: (07) 46311775 ---------------------------------------------------------------------------- ------------------------------