CentOS 7 - Adding Users to Sudo

Most articles that talk about granting users sudo privileges do so by directly adding the user to the sudoers file. However, I am used to (and prefer) the Ubuntu way in which giving a user sudo privileges is as easy as: sudo adduser [user] sudo To set this up in…

Read this article

Ubuntu - Giving Users Adminastrative Privileges

If you just want to allow a user to run commands with sudo, all you need to do is add them to the sudo group as shown below: sudo adduser [USER] sudo The Sudoers File Another way to add them, is to edit the /etc/sudoers file. One must use…

Read this article