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?

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



Leave a Reply 1

Your email address will not be published. Required fields are marked *


networkmanagers

networkmanagers

Correct answer is D