Creating a super user with root privileges
If you want a user to perform root task but do not want to share root user, Is this possible my answer is yes its possible in LINUX using sudo. you can create a sudo user to do all task what root user can do.
Sudo is a program which can be used by normal users to execute programs as super user or any other user. Sudo access is controlled by /etc/sudoers. The users listed in /etc/sudoers file can execute commands with an effective user id of 0 and a group id of root’s group.
The file ‘/etc/sudoers’ should be edited with the editor “visudo”.
First, create a user called “tecgeeks”
Now Edit the file with visudo or /etc/sudoers as follows:
# vi /etc/sudoers
Go down to the line ‘# User privilege specification‘and add the following line.
tecgeeks ALL=(ALL:ALL) ALL
Your Profile can also be listed here, Want to share you Experience, become a TecGeeks Author Submit here
Latest posts by Rahul Kansi (see all)
- Top 10 Linux supporting Laptops in India with Best Price and features - March 30, 2017
- Former US president admits he ordered cyber attacks on North Korea - March 6, 2017
- Deny SSH Access to Particular User and Group - February 25, 2017