To give users in linux similar privileges to root,sudo is the way to go.
To set up sudo,follow the following steps. demoman is the sample username and 123456 is the sample password
adduser demoman -p 123456
sudoedit -e /etc/sudoers
Look for the lines that read:
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
After that,add the following:
demoman ALL=(ALL) ALL
You can grant certain may different privileges to users besides full root level access… Read up on the different capabilities of sudo for more details.
Blogged with the Flock Browser
Tags:sudo,linux,sudoers, root, sudoedit,privileges
Related posts: