What should you do?

You have a user whose account you want to disable but not remove. What should you do?

You have a user whose account you want to disable but not remove. What should you do?

A.
Edit /etc/group file and put a # sign in front of his name.

B.
Edit /etc/passwd and insert an * after the first : .

C.
Edit /etc/passwd and change all numbers to 0.

D.
Edit /etc/gshadow and just remove his name.

E.
Edit /etc/shadow and remove the last field.



Leave a Reply 0

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