Reactivating a deactivated user account
To restore an account for logging in:
-
Check the current inactive value by entering:
logins -a -l login_name
The first number on the second line of the output of this command
is the ``inactive'' field.
-
Set the ``inactive'' field to zero by entering:
usermod -f 0 -l login_name
-
Have the affected user log on again
the system will update the time of last login to the present.
-
Reset the ``inactive'' field once again:
usermod -f n login_name
where n is the number of days the login remains active.
Next topic:
Limiting reuse of UIDs
Previous topic:
Removing selected account information
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004