Linux Admins Sudoer Group Setup - VBychkov-boop/Spring-SYS265-Final-Project GitHub Wiki

MGMT01:

  • Start by making a new domain group in the server manager called "Linux-Admins".

  • Then make a new Linux admin user and add it to the group.

Util:

  • Configure Sudo for the Linux admins group using the following commands on the Linux device: sudo visudo -f /etc/sudoers.d/linux-admins

  • edit the file you enter to look like this:

  • Then set the proper permissions for the file: sudo chmod 440 /etc/sudoers.d/linux-admins

  • Next, edit /etc/sssd/sssd.conf and make sure the following are set:

  • Restart SSSD after changes: sudo systemctl restart sssd

Test:

  • To test whether the group is working correctly enter the following commands and see if you get the same output: