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


All,

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

Thanks,
Eric


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         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug