Groups not registering in X
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I'm using Ubuntu 16.04. When I use LightDM to login and start X, I see that my secondary groups aren't loaded (running "groups" reports that I belong only to my primary group). If I log in via console or if I su in a term in X, the groups command works normally, reporting my primary and all of my secondary groups.
Curiously, even though "groups" does not report that I'm a member of sudoers, I can still sudo. Similarly, I can run mythfrontend, even though I'm not reportedly a member of mythtv. It seems as if the OS recognizes my secondary groups, even if the groups command does not.
So, it doesn't seem to cause a real problem, but I'm curious if anyone else has seen this behavior. I have three other machines running Ubuntu 16.04, but groups works normally on each of them.
ubuntu group x
 |Â
show 3 more comments
up vote
1
down vote
favorite
I'm using Ubuntu 16.04. When I use LightDM to login and start X, I see that my secondary groups aren't loaded (running "groups" reports that I belong only to my primary group). If I log in via console or if I su in a term in X, the groups command works normally, reporting my primary and all of my secondary groups.
Curiously, even though "groups" does not report that I'm a member of sudoers, I can still sudo. Similarly, I can run mythfrontend, even though I'm not reportedly a member of mythtv. It seems as if the OS recognizes my secondary groups, even if the groups command does not.
So, it doesn't seem to cause a real problem, but I'm curious if anyone else has seen this behavior. I have three other machines running Ubuntu 16.04, but groups works normally on each of them.
ubuntu group x
1
what doesid
show?
â ivanivan
Jul 11 at 1:59
id also reports that I am a member of my primary group and no other.
â Jesse Hughes
Jul 11 at 2:11
Are you saying that your user isn't in the/etc/sudoers
file? Also if you reboot the system it still reports the same way? Please post your/etc/nsswitch.conf
as well. Specifically we want to see thegroup: ...
line.
â slmâ¦
Jul 11 at 3:33
My user is a member of the group sudo, which has access to all commands, per the default Ubuntu sudoers file. But this problem isn't about sudo, really. To test it out, I created a new user and added him to a test group. When I logged in as that user, "groups" reported only his primary group, not the test (secondary) group. When I su'ed to the same user, his test group was listed under "groups".
â Jesse Hughes
Jul 11 at 11:55
nsswitch.conf found <a href="phiwumbda.org/~jesse/tmp/nsswitch.conf">here</a>.
â Jesse Hughes
Jul 11 at 11:59
 |Â
show 3 more comments
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm using Ubuntu 16.04. When I use LightDM to login and start X, I see that my secondary groups aren't loaded (running "groups" reports that I belong only to my primary group). If I log in via console or if I su in a term in X, the groups command works normally, reporting my primary and all of my secondary groups.
Curiously, even though "groups" does not report that I'm a member of sudoers, I can still sudo. Similarly, I can run mythfrontend, even though I'm not reportedly a member of mythtv. It seems as if the OS recognizes my secondary groups, even if the groups command does not.
So, it doesn't seem to cause a real problem, but I'm curious if anyone else has seen this behavior. I have three other machines running Ubuntu 16.04, but groups works normally on each of them.
ubuntu group x
I'm using Ubuntu 16.04. When I use LightDM to login and start X, I see that my secondary groups aren't loaded (running "groups" reports that I belong only to my primary group). If I log in via console or if I su in a term in X, the groups command works normally, reporting my primary and all of my secondary groups.
Curiously, even though "groups" does not report that I'm a member of sudoers, I can still sudo. Similarly, I can run mythfrontend, even though I'm not reportedly a member of mythtv. It seems as if the OS recognizes my secondary groups, even if the groups command does not.
So, it doesn't seem to cause a real problem, but I'm curious if anyone else has seen this behavior. I have three other machines running Ubuntu 16.04, but groups works normally on each of them.
ubuntu group x
asked Jul 11 at 1:58
Jesse Hughes
82
82
1
what doesid
show?
â ivanivan
Jul 11 at 1:59
id also reports that I am a member of my primary group and no other.
â Jesse Hughes
Jul 11 at 2:11
Are you saying that your user isn't in the/etc/sudoers
file? Also if you reboot the system it still reports the same way? Please post your/etc/nsswitch.conf
as well. Specifically we want to see thegroup: ...
line.
â slmâ¦
Jul 11 at 3:33
My user is a member of the group sudo, which has access to all commands, per the default Ubuntu sudoers file. But this problem isn't about sudo, really. To test it out, I created a new user and added him to a test group. When I logged in as that user, "groups" reported only his primary group, not the test (secondary) group. When I su'ed to the same user, his test group was listed under "groups".
â Jesse Hughes
Jul 11 at 11:55
nsswitch.conf found <a href="phiwumbda.org/~jesse/tmp/nsswitch.conf">here</a>.
â Jesse Hughes
Jul 11 at 11:59
 |Â
show 3 more comments
1
what doesid
show?
â ivanivan
Jul 11 at 1:59
id also reports that I am a member of my primary group and no other.
â Jesse Hughes
Jul 11 at 2:11
Are you saying that your user isn't in the/etc/sudoers
file? Also if you reboot the system it still reports the same way? Please post your/etc/nsswitch.conf
as well. Specifically we want to see thegroup: ...
line.
â slmâ¦
Jul 11 at 3:33
My user is a member of the group sudo, which has access to all commands, per the default Ubuntu sudoers file. But this problem isn't about sudo, really. To test it out, I created a new user and added him to a test group. When I logged in as that user, "groups" reported only his primary group, not the test (secondary) group. When I su'ed to the same user, his test group was listed under "groups".
â Jesse Hughes
Jul 11 at 11:55
nsswitch.conf found <a href="phiwumbda.org/~jesse/tmp/nsswitch.conf">here</a>.
â Jesse Hughes
Jul 11 at 11:59
1
1
what does
id
show?â ivanivan
Jul 11 at 1:59
what does
id
show?â ivanivan
Jul 11 at 1:59
id also reports that I am a member of my primary group and no other.
â Jesse Hughes
Jul 11 at 2:11
id also reports that I am a member of my primary group and no other.
â Jesse Hughes
Jul 11 at 2:11
Are you saying that your user isn't in the
/etc/sudoers
file? Also if you reboot the system it still reports the same way? Please post your /etc/nsswitch.conf
as well. Specifically we want to see the group: ...
line.â slmâ¦
Jul 11 at 3:33
Are you saying that your user isn't in the
/etc/sudoers
file? Also if you reboot the system it still reports the same way? Please post your /etc/nsswitch.conf
as well. Specifically we want to see the group: ...
line.â slmâ¦
Jul 11 at 3:33
My user is a member of the group sudo, which has access to all commands, per the default Ubuntu sudoers file. But this problem isn't about sudo, really. To test it out, I created a new user and added him to a test group. When I logged in as that user, "groups" reported only his primary group, not the test (secondary) group. When I su'ed to the same user, his test group was listed under "groups".
â Jesse Hughes
Jul 11 at 11:55
My user is a member of the group sudo, which has access to all commands, per the default Ubuntu sudoers file. But this problem isn't about sudo, really. To test it out, I created a new user and added him to a test group. When I logged in as that user, "groups" reported only his primary group, not the test (secondary) group. When I su'ed to the same user, his test group was listed under "groups".
â Jesse Hughes
Jul 11 at 11:55
nsswitch.conf found <a href="phiwumbda.org/~jesse/tmp/nsswitch.conf">here</a>.
â Jesse Hughes
Jul 11 at 11:59
nsswitch.conf found <a href="phiwumbda.org/~jesse/tmp/nsswitch.conf">here</a>.
â Jesse Hughes
Jul 11 at 11:59
 |Â
show 3 more comments
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
I've got my exact problem fixed, thanks to the defect reported here https://bugzilla.redhat.com/show_bug.cgi?id=1581495
I had errors logged into the /var/log/auth.log
which made me suspect problems around this.
These Ubuntu package was updated yesterday, libpam-kwallet4:amd64 (4:5.5.5-0ubuntu1.2, 4:5.5.5-0ubuntu1.3), libpam-kwallet5:amd64 (4:5.5.5-0ubuntu1.2, 4:5.5.5-0ubuntu1.3)
and this must have caused the trouble. I just commented out the following lines in /etc/pam.d/lightdm
auth optional pam_kwallet.so
auth optional pam_kwallet5.so
and a reboot saved my day
That did it! Thanks!
â Jesse Hughes
Jul 11 at 17:56
I wouldn't mind understanding what those lines were supposed to do, mind you. I've a very meager understanding of pam.
â Jesse Hughes
Jul 11 at 20:09
@JesseHughes - It was supposed to get my KDE wallet unlocked automatically. It doesn't happen anymore, but that's okay. It pops up a prompt for me once I log in.
â roby
Jul 17 at 12:46
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
I've got my exact problem fixed, thanks to the defect reported here https://bugzilla.redhat.com/show_bug.cgi?id=1581495
I had errors logged into the /var/log/auth.log
which made me suspect problems around this.
These Ubuntu package was updated yesterday, libpam-kwallet4:amd64 (4:5.5.5-0ubuntu1.2, 4:5.5.5-0ubuntu1.3), libpam-kwallet5:amd64 (4:5.5.5-0ubuntu1.2, 4:5.5.5-0ubuntu1.3)
and this must have caused the trouble. I just commented out the following lines in /etc/pam.d/lightdm
auth optional pam_kwallet.so
auth optional pam_kwallet5.so
and a reboot saved my day
That did it! Thanks!
â Jesse Hughes
Jul 11 at 17:56
I wouldn't mind understanding what those lines were supposed to do, mind you. I've a very meager understanding of pam.
â Jesse Hughes
Jul 11 at 20:09
@JesseHughes - It was supposed to get my KDE wallet unlocked automatically. It doesn't happen anymore, but that's okay. It pops up a prompt for me once I log in.
â roby
Jul 17 at 12:46
add a comment |Â
up vote
0
down vote
accepted
I've got my exact problem fixed, thanks to the defect reported here https://bugzilla.redhat.com/show_bug.cgi?id=1581495
I had errors logged into the /var/log/auth.log
which made me suspect problems around this.
These Ubuntu package was updated yesterday, libpam-kwallet4:amd64 (4:5.5.5-0ubuntu1.2, 4:5.5.5-0ubuntu1.3), libpam-kwallet5:amd64 (4:5.5.5-0ubuntu1.2, 4:5.5.5-0ubuntu1.3)
and this must have caused the trouble. I just commented out the following lines in /etc/pam.d/lightdm
auth optional pam_kwallet.so
auth optional pam_kwallet5.so
and a reboot saved my day
That did it! Thanks!
â Jesse Hughes
Jul 11 at 17:56
I wouldn't mind understanding what those lines were supposed to do, mind you. I've a very meager understanding of pam.
â Jesse Hughes
Jul 11 at 20:09
@JesseHughes - It was supposed to get my KDE wallet unlocked automatically. It doesn't happen anymore, but that's okay. It pops up a prompt for me once I log in.
â roby
Jul 17 at 12:46
add a comment |Â
up vote
0
down vote
accepted
up vote
0
down vote
accepted
I've got my exact problem fixed, thanks to the defect reported here https://bugzilla.redhat.com/show_bug.cgi?id=1581495
I had errors logged into the /var/log/auth.log
which made me suspect problems around this.
These Ubuntu package was updated yesterday, libpam-kwallet4:amd64 (4:5.5.5-0ubuntu1.2, 4:5.5.5-0ubuntu1.3), libpam-kwallet5:amd64 (4:5.5.5-0ubuntu1.2, 4:5.5.5-0ubuntu1.3)
and this must have caused the trouble. I just commented out the following lines in /etc/pam.d/lightdm
auth optional pam_kwallet.so
auth optional pam_kwallet5.so
and a reboot saved my day
I've got my exact problem fixed, thanks to the defect reported here https://bugzilla.redhat.com/show_bug.cgi?id=1581495
I had errors logged into the /var/log/auth.log
which made me suspect problems around this.
These Ubuntu package was updated yesterday, libpam-kwallet4:amd64 (4:5.5.5-0ubuntu1.2, 4:5.5.5-0ubuntu1.3), libpam-kwallet5:amd64 (4:5.5.5-0ubuntu1.2, 4:5.5.5-0ubuntu1.3)
and this must have caused the trouble. I just commented out the following lines in /etc/pam.d/lightdm
auth optional pam_kwallet.so
auth optional pam_kwallet5.so
and a reboot saved my day
answered Jul 11 at 15:25
roby
1163
1163
That did it! Thanks!
â Jesse Hughes
Jul 11 at 17:56
I wouldn't mind understanding what those lines were supposed to do, mind you. I've a very meager understanding of pam.
â Jesse Hughes
Jul 11 at 20:09
@JesseHughes - It was supposed to get my KDE wallet unlocked automatically. It doesn't happen anymore, but that's okay. It pops up a prompt for me once I log in.
â roby
Jul 17 at 12:46
add a comment |Â
That did it! Thanks!
â Jesse Hughes
Jul 11 at 17:56
I wouldn't mind understanding what those lines were supposed to do, mind you. I've a very meager understanding of pam.
â Jesse Hughes
Jul 11 at 20:09
@JesseHughes - It was supposed to get my KDE wallet unlocked automatically. It doesn't happen anymore, but that's okay. It pops up a prompt for me once I log in.
â roby
Jul 17 at 12:46
That did it! Thanks!
â Jesse Hughes
Jul 11 at 17:56
That did it! Thanks!
â Jesse Hughes
Jul 11 at 17:56
I wouldn't mind understanding what those lines were supposed to do, mind you. I've a very meager understanding of pam.
â Jesse Hughes
Jul 11 at 20:09
I wouldn't mind understanding what those lines were supposed to do, mind you. I've a very meager understanding of pam.
â Jesse Hughes
Jul 11 at 20:09
@JesseHughes - It was supposed to get my KDE wallet unlocked automatically. It doesn't happen anymore, but that's okay. It pops up a prompt for me once I log in.
â roby
Jul 17 at 12:46
@JesseHughes - It was supposed to get my KDE wallet unlocked automatically. It doesn't happen anymore, but that's okay. It pops up a prompt for me once I log in.
â roby
Jul 17 at 12:46
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f454593%2fgroups-not-registering-in-x%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
what does
id
show?â ivanivan
Jul 11 at 1:59
id also reports that I am a member of my primary group and no other.
â Jesse Hughes
Jul 11 at 2:11
Are you saying that your user isn't in the
/etc/sudoers
file? Also if you reboot the system it still reports the same way? Please post your/etc/nsswitch.conf
as well. Specifically we want to see thegroup: ...
line.â slmâ¦
Jul 11 at 3:33
My user is a member of the group sudo, which has access to all commands, per the default Ubuntu sudoers file. But this problem isn't about sudo, really. To test it out, I created a new user and added him to a test group. When I logged in as that user, "groups" reported only his primary group, not the test (secondary) group. When I su'ed to the same user, his test group was listed under "groups".
â Jesse Hughes
Jul 11 at 11:55
nsswitch.conf found <a href="phiwumbda.org/~jesse/tmp/nsswitch.conf">here</a>.
â Jesse Hughes
Jul 11 at 11:59