I have two users:
misha-local
(the first user I created when installing Ubuntu)misha
(a user authenticated against an LDAP server)
I'm logged in as misha
.
misha@misha-antec:~$ whoami
misha
misha@misha-antec:~$ groups
lmd adm cdrom sudo dip plugdev lpadmin sambashare
As you can see, misha
is an admin user. However, when I do anything requiring superuser access in the GUI (like installing software), I get this:
Why is it asking me for the password for misha-local
? The current user also has administrative privileges. Why doesn't it ask for the current user's password instead?
EDIT
This is an Ubuntu 14.04 desktop installation.
Some more relevant command-line output:
misha@misha-antec:~$ id misha
uid=13009(misha) gid=10000(lmd) groups=10000(lmd)
misha@misha-antec:~$ id misha-local
uid=1000(misha-local) gid=1000(misha-local) groups=4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),108(lpadmin),124(sambashare),1000(misha-local)
misha@misha-antec:~$ whoami
misha
misha@misha-antec:~$ groups
lmd adm cdrom sudo dip plugdev lpadmin sambashare
misha@misha-antec:~$ groups misha
misha : lmd
This is odd. groups
is reporting that misha
is part of sudo
and adm
, but id
and groups misha
reports the opposite. What's going on?
EDIT 2
misha@misha-antec:~$ id -run
misha
misha@misha-antec:~$ id -un
misha
misha@misha-antec:~$ ps -A | grep nscd
8622 ? 00:00:02 nscd
id misha
andid misha-local
at a terminal ? – Benoit Jun 17 '14 at 8:05id -run
thanid -un
. I suspect that even if you log in with misha, your effective id is misha-local. It may be related to the configuration against the LDAP server to get the user. – Benoit Jun 17 '14 at 8:27