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.
-
Select the appropriate command to remove a user's login entry:
-
If you want to remove only the login entry, enter:
userdel login_name
-
To remove the login entry and the home directory, use:
userdel -r login_name
-
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"
-
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