admin/sudo confusion
Sarunas Burdulis
sarunas at math.dartmouth.edu
Sat May 11 22:30:12 UTC 2013
-----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-----
More information about the ubuntu-users
mailing list