Question: What will happen when you execute the following command: su -c cat /var/log/messages | grep -i reboot 3. What would the entry look like in
What will happen when you execute the following command:
su -c cat /var/log/messages | grep -i reboot
3. What would the entry look like in /etc/sudoers if you were to assign users: jbgoode, fking, jpage and eclapton to the group: DBTEAM ?
4. What command do you use to edit the /etc/sudoers file, and why is this command desired over editing /etc/sudoers directly?
5. How would you view the /var/log/messages file using sudo?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
