Terminal shows that my user is only a member of its group, but it is not true - how to fix?
up vote
1
down vote
favorite
I went to strange situation on my laptop (running Ubuntu 16.04.5 LTS).
All terminals show that my sudo
-able user is only a member of its group:
$ whoami
norbert
$ groups
norbert
$ id
uid=1000(norbert) gid=1000(norbert) groups=1000(norbert)
$ grep norbert /etc/passwd
norbert:x:1000:1000:Norbert,,,:/home/norbert:/bin/bash
but it is not true as my user is listed in /etc/groups
:
$ grep norbert /etc/group
adm:x:4:norbert,syslog
disk:x:6:norbert
lp:x:7:norbert
dialout:x:20:norbert
cdrom:x:24:norbert
www-data:x:33:norbert
plugdev:x:46:norbert
fuse:x:104:norbert,tester
lpadmin:x:105:norbert
admin:x:119:norbert
norbert:x:1000:
sambashare:x:122:norbert
vboxusers:x:124:norbert
debian-tor:x:129:norbert,tester
local:x:1001:norbert
libvirtd:x:138:norbert
wireshark:x:126:norbert
As the result I can't use Arduino IDE and Wireshark.
If I login to this system from SSH - I can see all groups:
$ groups
norbert adm disk lp dialout cdrom www-data plugdev fuse lpadmin admin sambashare vboxusers wireshark debian-tor libvirtd local
Why this happened? What should I do to debug and fix this behavior?
16.04 permissions ssh user-management groups
add a comment |
up vote
1
down vote
favorite
I went to strange situation on my laptop (running Ubuntu 16.04.5 LTS).
All terminals show that my sudo
-able user is only a member of its group:
$ whoami
norbert
$ groups
norbert
$ id
uid=1000(norbert) gid=1000(norbert) groups=1000(norbert)
$ grep norbert /etc/passwd
norbert:x:1000:1000:Norbert,,,:/home/norbert:/bin/bash
but it is not true as my user is listed in /etc/groups
:
$ grep norbert /etc/group
adm:x:4:norbert,syslog
disk:x:6:norbert
lp:x:7:norbert
dialout:x:20:norbert
cdrom:x:24:norbert
www-data:x:33:norbert
plugdev:x:46:norbert
fuse:x:104:norbert,tester
lpadmin:x:105:norbert
admin:x:119:norbert
norbert:x:1000:
sambashare:x:122:norbert
vboxusers:x:124:norbert
debian-tor:x:129:norbert,tester
local:x:1001:norbert
libvirtd:x:138:norbert
wireshark:x:126:norbert
As the result I can't use Arduino IDE and Wireshark.
If I login to this system from SSH - I can see all groups:
$ groups
norbert adm disk lp dialout cdrom www-data plugdev fuse lpadmin admin sambashare vboxusers wireshark debian-tor libvirtd local
Why this happened? What should I do to debug and fix this behavior?
16.04 permissions ssh user-management groups
Did you do the obvious thing and reboot (or maybe at least log out completely) already?
– Byte Commander
Dec 2 at 14:05
@ByteCommander Thank you! But it was a bug, see answer below.
– N0rbert
Dec 2 at 14:44
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I went to strange situation on my laptop (running Ubuntu 16.04.5 LTS).
All terminals show that my sudo
-able user is only a member of its group:
$ whoami
norbert
$ groups
norbert
$ id
uid=1000(norbert) gid=1000(norbert) groups=1000(norbert)
$ grep norbert /etc/passwd
norbert:x:1000:1000:Norbert,,,:/home/norbert:/bin/bash
but it is not true as my user is listed in /etc/groups
:
$ grep norbert /etc/group
adm:x:4:norbert,syslog
disk:x:6:norbert
lp:x:7:norbert
dialout:x:20:norbert
cdrom:x:24:norbert
www-data:x:33:norbert
plugdev:x:46:norbert
fuse:x:104:norbert,tester
lpadmin:x:105:norbert
admin:x:119:norbert
norbert:x:1000:
sambashare:x:122:norbert
vboxusers:x:124:norbert
debian-tor:x:129:norbert,tester
local:x:1001:norbert
libvirtd:x:138:norbert
wireshark:x:126:norbert
As the result I can't use Arduino IDE and Wireshark.
If I login to this system from SSH - I can see all groups:
$ groups
norbert adm disk lp dialout cdrom www-data plugdev fuse lpadmin admin sambashare vboxusers wireshark debian-tor libvirtd local
Why this happened? What should I do to debug and fix this behavior?
16.04 permissions ssh user-management groups
I went to strange situation on my laptop (running Ubuntu 16.04.5 LTS).
All terminals show that my sudo
-able user is only a member of its group:
$ whoami
norbert
$ groups
norbert
$ id
uid=1000(norbert) gid=1000(norbert) groups=1000(norbert)
$ grep norbert /etc/passwd
norbert:x:1000:1000:Norbert,,,:/home/norbert:/bin/bash
but it is not true as my user is listed in /etc/groups
:
$ grep norbert /etc/group
adm:x:4:norbert,syslog
disk:x:6:norbert
lp:x:7:norbert
dialout:x:20:norbert
cdrom:x:24:norbert
www-data:x:33:norbert
plugdev:x:46:norbert
fuse:x:104:norbert,tester
lpadmin:x:105:norbert
admin:x:119:norbert
norbert:x:1000:
sambashare:x:122:norbert
vboxusers:x:124:norbert
debian-tor:x:129:norbert,tester
local:x:1001:norbert
libvirtd:x:138:norbert
wireshark:x:126:norbert
As the result I can't use Arduino IDE and Wireshark.
If I login to this system from SSH - I can see all groups:
$ groups
norbert adm disk lp dialout cdrom www-data plugdev fuse lpadmin admin sambashare vboxusers wireshark debian-tor libvirtd local
Why this happened? What should I do to debug and fix this behavior?
16.04 permissions ssh user-management groups
16.04 permissions ssh user-management groups
edited Dec 2 at 14:44
asked Dec 2 at 13:19
N0rbert
20.5k54494
20.5k54494
Did you do the obvious thing and reboot (or maybe at least log out completely) already?
– Byte Commander
Dec 2 at 14:05
@ByteCommander Thank you! But it was a bug, see answer below.
– N0rbert
Dec 2 at 14:44
add a comment |
Did you do the obvious thing and reboot (or maybe at least log out completely) already?
– Byte Commander
Dec 2 at 14:05
@ByteCommander Thank you! But it was a bug, see answer below.
– N0rbert
Dec 2 at 14:44
Did you do the obvious thing and reboot (or maybe at least log out completely) already?
– Byte Commander
Dec 2 at 14:05
Did you do the obvious thing and reboot (or maybe at least log out completely) already?
– Byte Commander
Dec 2 at 14:05
@ByteCommander Thank you! But it was a bug, see answer below.
– N0rbert
Dec 2 at 14:44
@ByteCommander Thank you! But it was a bug, see answer below.
– N0rbert
Dec 2 at 14:44
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
This problem was linked with my other question about PAM warnings in /var/log/auth.log
.
The problem was caused by manually installed PAM KWallet modules. I have installed both (libpam-kwallet4
and libpam-kwallet5
), but they can't be installed in the same time as described in the bug 1781418 on launchpad.
I fixed my problem by removing two PAM modules:
sudo apt-get purge libpam-kwallet4 libpam-kwallet5
and then rebooted.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1097893%2fterminal-shows-that-my-user-is-only-a-member-of-its-group-but-it-is-not-true%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
This problem was linked with my other question about PAM warnings in /var/log/auth.log
.
The problem was caused by manually installed PAM KWallet modules. I have installed both (libpam-kwallet4
and libpam-kwallet5
), but they can't be installed in the same time as described in the bug 1781418 on launchpad.
I fixed my problem by removing two PAM modules:
sudo apt-get purge libpam-kwallet4 libpam-kwallet5
and then rebooted.
add a comment |
up vote
1
down vote
accepted
This problem was linked with my other question about PAM warnings in /var/log/auth.log
.
The problem was caused by manually installed PAM KWallet modules. I have installed both (libpam-kwallet4
and libpam-kwallet5
), but they can't be installed in the same time as described in the bug 1781418 on launchpad.
I fixed my problem by removing two PAM modules:
sudo apt-get purge libpam-kwallet4 libpam-kwallet5
and then rebooted.
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
This problem was linked with my other question about PAM warnings in /var/log/auth.log
.
The problem was caused by manually installed PAM KWallet modules. I have installed both (libpam-kwallet4
and libpam-kwallet5
), but they can't be installed in the same time as described in the bug 1781418 on launchpad.
I fixed my problem by removing two PAM modules:
sudo apt-get purge libpam-kwallet4 libpam-kwallet5
and then rebooted.
This problem was linked with my other question about PAM warnings in /var/log/auth.log
.
The problem was caused by manually installed PAM KWallet modules. I have installed both (libpam-kwallet4
and libpam-kwallet5
), but they can't be installed in the same time as described in the bug 1781418 on launchpad.
I fixed my problem by removing two PAM modules:
sudo apt-get purge libpam-kwallet4 libpam-kwallet5
and then rebooted.
answered Dec 2 at 14:43
N0rbert
20.5k54494
20.5k54494
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1097893%2fterminal-shows-that-my-user-is-only-a-member-of-its-group-but-it-is-not-true%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Did you do the obvious thing and reboot (or maybe at least log out completely) already?
– Byte Commander
Dec 2 at 14:05
@ByteCommander Thank you! But it was a bug, see answer below.
– N0rbert
Dec 2 at 14:44