KP on 30 Jan 2017 17:57:19 -0800


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

Re: [PLUG] Adding admin account back to sudoers


Glad you got it working but your sudoers file was correct (typical ubuntu) so you could have added administrator to the admin or sudo group as well.

On January 30, 2017 7:22:18 PM EST, "Eric H. Johnson" <ejohnson@camalytics.com> wrote:
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

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___________________________________________________________________________
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