SUMMARY: Unable to unlock accounts

From: Richard Young \(SCI\) <"Richard>
Date: Mon, 12 Jul 1999 11:15:06 +1000

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_at_usq.edu.au Phone: (07) 46311513 Fax: (07) 46311775
----------------------------------------------------------------------------
------------------------------
Received on Mon Jul 12 1999 - 01:17:56 NZST

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