admin/sudo confusion
rikona
rikona at sonic.net
Mon May 13 06:00:17 UTC 2013
Hello Catalin,
Sunday, May 12, 2013, 11:52:37 AM, Catalin wrote:
> On May 12, 2013 1:31 AM, "Sarunas Burdulis" <sarunas at math.dartmouth.edu>
> wrote:
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 05/11/2013 02:34 PM, rikona wrote:
>> > Just installed 12.04 on a newly built box. Mostly working fine. Has 2
>> > users. The first/setup user is an admin, the second, user B, was set
>> > up as not an admin. LOTS if files for B were copied from the old 10.04
>> > box, and B will be the main user. But, in the meantime, it would be
>> > nice if B could use sudo to help with the setup of the box. So, I
>> > installed users and groups, and set B to be in the sudo group [it is
>> > listed that way too] - doesn't work though. Then set B to be an
>> > administrator [temporarily], and B is listed as an admin - sudo still
>> > NG.
>> >
>> > To add to the confusion, 'user accounts' lists B as 'standard' even
>> > though 'users and groups' has B as an admin. What's going on?
>> >
>> > How can I get B to have sudo and/or be a temporary admin?
>>
>> I would suggest comparing group memberships in the output of
>>
>> id userA
>>
>> and
>>
>> id userB
>>
>> commands. And also looking at /etc/sudoers. If needed, it can be edited
>> with `visudo`.
>>
>> Of course, after group membership has been changed, the user has to log
>> out and login again, for the change to take effect.
>>
>> Sarunas
>> math.dartmouth.edu/~sarunas
>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.11 (GNU/Linux)
>> Comment: Using GnuPG with undefined - http://www.enigmail.net/
>>
>> iEYEARECAAYFAlGOxnMACgkQejaFVltl6E8ekwCggUneITcDX+FUMFtktVZBJJHp
>> KZ0AnjM71ffixTorMAQOp2JzJmbQwFKS
>> =4HdQ
>> -----END PGP SIGNATURE-----
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> Hi Rikona,
> As Sarunas mentioned, you will have to edit the sudoers file via visudo;
> granted, you will have to be root first to be able to do that.
I originally tried to do that but got 'no permission' - but that was
still while the settings were not working. The log out/in seemed to
do the trick, but I have not tried to edit sudoers yet. B seems to be
there because sudo works now.
Thanks,
--
rikona
More information about the ubuntu-users
mailing list