DELETEUSERACCOUNT(1M) DELETEUSERACCOUNT(1M)
deleteUserAccount - delete a user account from the system
/usr/sysadm/privbin/deleteUserAccount -l login-name [<-A | -D> | <<-H |
-E> <-U new-user-ID -G new-group-ID>>] [-R | -N alternate-config-file]
deleteUserAccount deletes a user account from the system and handles the
deleted account's files.
The deleteUserAccount command has the following required parameter:
-l login-name
The login name of the user account to delete
The deleteUserAccount command has the following optional parameters:
-A Indicates that all of the user's files local to the system should be
deleted. None of -D, -H, or -E may be specified with the -A option.
-D Indicates that the user's home directory should be deleted. None of
-A, -H, or -E may be specified with the -D option.
-H -U new-user-ID -G new-group-ID
Indicates that the user's home directory and its contents should be
reassigned to the new-user-ID and new-group-ID specified. Any file
contained in the home directory tree which is owned by the user
being deleted will be reassigned to the new-user-ID. If the file is
also owned by the user's primary group, its group ownership will be
reassigned to new-group-ID. Files not owned by the user being
deleted will not be affected. Files owned by root may not be
reassigned to another user.
-E -U new-user-ID -G new-group-ID
Indicates that all of the user's files local to the system should be
reassigned to the new-user-ID and new-group-ID specified. Any file
on the local filesystems which is owned by the user being deleted
will be reassigned to the new-user-ID. If the file is also owned by
the user's primary group, its group ownership will be reassigned to
new-group-ID. Files not owned by the user being deleted will not be
affected. Files owned by root may not be reassigned to another
user.
-R Run the default delete user configuration process as defined in
/var/sysadm/config/deleteaccount.config
-N alternate-config-file
Run an alternate delete account configuration process as defined in
alternate-config-file
Page 1
DELETEUSERACCOUNT(1M) DELETEUSERACCOUNT(1M)
/etc/passwd
File which contains list of user accounts
/var/sysadm/config/deleteaccount.config
Delete user account config file
/var/sysadm/config/deleteaccount.script
Delete user account script
sysmgr(1M), runpriv(1M), UserManager(1M), addUserAccount(1M),
modifyUserAccount(1M), deleteaccount(4), passwd(4)
PPPPaaaaggggeeee 2222 [ Back ]
|