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/gshadow and just remove his name.

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

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

D.
Edit /etc/passwd and insert an * after thefirst : .

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



Leave a Reply 0

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