Re: [PLUG] Adding admin account back to sudoers

Keith C. Perry on 30 Jan 2017 14:40:41 -0800


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

Re: [PLUG] Adding admin account back to sudoers


I usually manually edit the /etc/sudoers files to allow the sudo group if its not already allowed and then I add the necessary accounts to the sudo group.


~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Keith C. Perry, MS E.E.
Owner, DAO Technologies LLC
(O) +1.215.525.4165 x2033
(M) +1.215.432.5167
www.daotechnologies.com


From: "Eric H. Johnson" <ejohnson@camalytics.com>
To: "Philadelphia Linux User's Group Discussion List" <plug@lists.phillylinux.org>
Sent: Monday, January 30, 2017 5:35:15 PM
Subject: [PLUG] Adding admin account back to sudoers

Hi all,

This happened to me the last time I ported accounts to a new machine, and I cannot figure out what I did to fix it. Both the old and new machines are running Ubuntu 16.04. After porting all of the user accounts to the new computer, I lost the use of sudo in the administrator account. If I try to use sudo, I get the error that the account is not in sudoers. I booted to recovery mode, mounted the drive read/write, and tried:

adduser administrator sudo

Which said “administrator is already a member of the sudo group”.

I checked /etc/sudoers, and it agrees with what my source (http://www.psychocats.net/ubuntu/fixsudo) says it should say.

Another source said to try:

sudo usermod –a –G sudo administrator

The command ran without error, but did not fix the problem.

Any ideas?

Thanks,

Eric


___________________________________________________________________________
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
___________________________________________________________________________
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

AltStyle によって変換されたページ (->オリジナル) /