The time has come to remove a user from the system; Xander's account must be deleted. To do so, you need
rmuser
.To remove a user, simply execute
rmuser
with the user's account name as the argument. Doing so with no switches removes the user from the system, but the user's password information will be retained in the /etc/security/passwd file:# rmuser xander
|
To fully remove the user's password information, use the
-p
switch:# rmuser –p xander
|
Note that
rmuser
does not remove the user's home directory. If a user has important data in his or her home directory that should be kept, it is up to you to remove the home directories when you deem it safe.
No comments:
Post a Comment