Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

How to use sudo in Linux (Ubuntu)

Loading...

Sign in or sign up now!
3,965
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 3, 2008

How to use sudo in Linux (Ubuntu).

visudo (as root user - /etc/sudoers)

ubuntu ALL=NOPASSWD: /usr/bin/pppconfig

Adds in the list of sudoers the user ubuntu, first ALL refers to ALL servers, NOPASSWD means that we do need password in order to use sudo, last bit enables sudo actions only for the referred directory and file.

Another option would be to specify the UNIX group instead of the user

%admin ALL=(ALL) ALL

Adds in the list of sudoers the group admin, first ALL refers to ALL servers, ALL requires Password in order to use sudo, last bit enables sudo all kind of actions.

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 4 dislikes

Link to this comment:

Share to:
see all

All Comments (3)

Sign In or Sign Up now to post a comment!
  • not helping at all!!!!

  • Not helping...

  • Bad idea

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more