Saturday, March 1, 2014

Linux Centos 6 - Sudoers - Add User with Sudo Privileges


1. sodusgroup group to linux system
2. add user and move it to sodusgroup group
3. open 'teminal' and run 'visudo' command
4. find 'root ALL...'
5. Hit 'i' to insert a line after 'root' line
6. as "%sudosgroup ALL=(ALL) ALL"
7. 'ESC' and ':x' to save and exit visudo command
8. logout an root user and login as the new use
9. new command 'sudo yum update' to check user set up corrrectly