XK0-005 · Question #193
XK0-005 Question #193: Real Exam Question with Answer & Explanation
The correct answer is A: Use visudo to edit the /etc/sudoers file and add network_administrators to the "wheel" group. Once you add the group to the wheel group, you use the ALL directive which applies to the wheel group, allowing users to run ALL commands defined there, it should already be in the file, just
Question
A junior systems administrator is tasked with providing the network_administrators group the ability to perform sudo without prompting for a password. Which of the following steps should the administrator perform to accomplish this task? (Choose two.)
Options
- AUse visudo to edit the /etc/sudoers file and add network_administrators to the "wheel" group
- BUse vi to edit the /etc/sudo file and add network_administrators to the "wheel" group
- CProvide all network_administrators with the "root" account password
- DAdd the network_administrators ALL=(ALL) NOPASSWD: ALL directive to the /etc/sudoers file
- EAdd the network_administrators =(ALL) NOEXEC: ALL directive to the /etc/sudoers file
Explanation
Once you add the group to the wheel group, you use the ALL directive which applies to the wheel group, allowing users to run ALL commands defined there, it should already be in the file, just
Topics
Community Discussion
No community discussion yet for this question.