An employee has been terminated from the company. Which of the following commands will remove the user from the system and maintain the contents of the employee’s home directory?
A.
userdel -r
B.
passwd -l
C.
usermod -f
D.
userdel
An employee has been terminated from the company. Which of the following commands will remove the user from the system and maintain the contents of the employee’s home directory?
An employee has been terminated from the company. Which of the following commands will remove the user from the system and maintain the contents of the employee’s home directory?
A.
userdel -r
B.
passwd -l
C.
usermod -f
D.
userdel
Correct answer is D