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 file and remove the last field.

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

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 *