Ubuntu Tutorials Copy/Paste tutorials for Ubuntu

5Nov/090

Add a sudoer (user allowed to use sudo)

Sudo allows a system administrator to delegate authority to give certain users (or groups of users) the ability to run some (or all) commands as root or another user while providing an audit trail of the commands and their arguments.

1. Create a new user (optional)

adduser user1

2. As root, run this command:

visudo

3. Add this line into the file:

user1 ALL=(ALL) ALL

This will allow user1 to run all commands as root. You can also limit the access, Click here to view the syntax

4. Save the file by pressing Ctrl-X if you are using Nano or :w if using vi

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • email
  • LinkedIn
  • Live
  • Netvibes
  • Netvouz
  • PDF
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Tumblr
  • Twitter
  • Yahoo! Bookmarks
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


Spam Protection by WP-SpamFree Plugin

No trackbacks yet.