In most cases, there is no reason to remove an OS user. It is better to simply lock down the account to prevent any future login.
passwd -l username
In most cases, there is no reason to remove an OS user. It is better to simply lock down the account to prevent any future login.
passwd -l username
Comments are closed.
To claify, I should use the above command in place of
“userdel username”?
Susan,
While we recommend locking the account instead of completely removing it, you may use “userdel username” if you wish to completely remove the account from the system.
Reference:
http://kb.eclipseinc.com/kb/how-do-i-remove-a-linux-eterm-user-via-the-command-line/
Regards,
Oliver