Sudoers CLI

Tim Dunphy bluethundr at gmail.com
Sun Mar 9 20:12:29 UTC 2014


You need to type one word into your console. 

Go: 'visudo'

It will open in "your favorite text editor". You know, the one you have set in the VISUAL environment variable in your .bashrc or .bash_profile.

Then look at the examples in the file for how to format the line. Google it if you aren't sure. 

Then save and quit. Visudo will let you know of any formatting errors.

Simple! You're done.

You're welcome. :)

Sent from my iPhone

> On Mar 9, 2014, at 3:56 PM, William Scott Lockwood III <scott at guppylog.com> wrote:
> 
>> On Sun, Mar 9, 2014 at 2:28 PM, Sajan Parikh <sajan at parikh.io> wrote:
>> I believe that will only work if the user has not been created.
> 
> 
> You believe incorrectly. The correct way to add a user to a group is
> `sudo adduser [user] [group]`
> 
> Try it.
> 
> --
> W. Scott Lockwood III
> "There are four boxes to be used in defense of liberty:  soap, ballot,
> jury, and ammo. Please use in that order." -Ed Howdershelt (Author)
> 
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




More information about the ubuntu-users mailing list