Eric H. Johnson on 30 Jan 2017 16:22:57 -0800

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Adding admin account back to sudoers


Got it. Just added administrator to be the same as root in sudoers.


Another sudo tip:  entries that are later in the sudoers file override the earlier ones.
I always add myself as the last line of the file to prevent that from screwing me up.
Also good practice to use visudo as noted earlier. If you don't like vi[m] you can 
export EDITOR=/bin/nano 
in your .bashrc or .zshrc or .whateverrc

Philadelphia Linux Users Group         --
Announcements -
General Discussion  --