We have set up a Red Hat VM on Azure, but we are unsure how we could deal with user privileges. We want to use the VM to test software in a Linux environment as opposed to the Windows workstations that we have.
We would like to have two user groups:
1) admin Account
2) user Accounts: They need to be able to install packages via yum, but should not be able to change system relevant information (by accident) like ssh-keys, other users' passwords etc. However, from this yum install in user home for non-admins I understood that sudo privileges are necessary to do yum installs.
How could we achieve this?
newgroup
and assigned my team members to it. If I put%newgroup ALL=(root) /usr/bin/yum
in /etc/sudoers, members will only be able to execute yum, right? But yum changes files in some other folders outside$HOME
, for which the group should not have write privileges. Is this not conflicting? – evilolive Mar 19 '19 at 15:38