PrepAway - Latest Free Exam Questions & Answers

Which command will allow you to do this?

You are a standard user on a Linux system. You want to set permissions on the /etc/shadow file
so that it cannot be modified by any user. Which command will allow you to do this?

PrepAway - Latest Free Exam Questions & Answers

A.
Sudo chmod 000 /etc/shadow

B.
Sudo chattr +i /etc/shadow

C.
Chmod 000 /etc/shadow

D.
Chattr -i /etc/shadow

Explanation:


Leave a Reply