4

How to allow users in a group to run all commands in Fedora / CentOS using sudo

view full story
linux-howto

http://linuxers.org – This tutorial will guide you on how to allow a group of users to run all the commands without sharing your system root password in Fedora / Redhat / CentOS based Distros. This is similar to the sudo in Ubuntu. Here we will start by creating a group called "sysadmin", then we will append a user "chia" to that group which will be able to run any command on the system. Lets start by creating a group and adding a user to it. [root]# groupadd sysadmin [root]# usermod -aG sysadm (General)