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

Removing selected account information

When you remove a user's login with userdel(1M) (instead of the Account Manager) their identification number (UID) is recorded so the UID will not be reused for a period of time. The number of months the system will wait before reusing a UID can be specified with the -n option of userdel.


NOTE: Although it is possible to delete a user using the userdel command, we recommend the Account Manager for this purpose.

The default value can be changed with the defadm userdel command or with the System Defaults Manager.

  1. Select the appropriate command to remove a user's login entry:

  2. To remove any roles or privileged commands that were assigned to the login, execute:

    adminuser -d login_name

    This prevents possible security breaches. If the account had none, you see this message:

       UX:adminuser: ERROR: Undefined user "login_name"
    

  3. You should also remove the user's file in /usr/spool/cron/crontabs.

Next topic: Reactivating a deactivated user account
Previous topic: Deleting a user account

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004