DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Administering user accounts

Reactivating a deactivated user account

To restore an account for logging in:

  1. 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.

  2. Set the ``inactive'' field to zero by entering:

    usermod -f 0 -l login_name

  3. Have the affected user log on again the system will update the time of last login to the present.

  4. 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