A systems administrator wants to be sure the sudo rules just added to /etc/sudoers are valid. Which of the following commands can be used for this task?
A.visudo -c
B.test -f /etc/sudoers
C.sudo vi check
D.cat /etc/sudoers | tee test
Answer:A
A systems administrator wants to be sure the sudo rules just added to /etc/sudoers are valid. Which of the following commands can be used for this task?
A.visudo -c B.test -f /etc/sudoers C.sudo vi check D.cat /etc/sudoers | tee test