10
votes
2answers
127 views

Why is root in wheel and operator? Can root being in a group ever make a difference?

I just noticed on my FreeBSD machine that root is in wheel and operator. I'm trying to think of a situation where UID 0 being in a group would have any effect on... well... anything, and I'm coming up ...
0
votes
0answers
21 views

gksu login and groups

After installing Wireshark, I added my user to wireshark group. As I didn't want to restart my X session in order to relogin, I tried running it with gksu -l -u myuser. As su - myuser showed my new ...
3
votes
2answers
42 views

Why does “logging out” of a session activate a newly added supplementary group? [duplicate]

I asked the following question Added user supplementary group, but 'groups(1)' not showing change earlier today. Now I'd like to know why the answer works. After running adduser user group ...
2
votes
3answers
784 views

newgrp asks for password [duplicate]

I don't understand why newgrp prompts me for password when I want to change my group. I don't even know what password it is asking for but certainly not mine (user clime). $ id uid=500(clime) ...
4
votes
3answers
421 views

how to login as a member of specific group

i want to login as a member of non primary group to create files whose owner as a member of non primary group of current user. -rwxr-xr-x 2 gowtham gowtham 4096 Sep 5 14:48 defaultNewFile ...
1
vote
1answer
5k views

Error message id: cannot find name for group ID after logging in

BACKGROUND Trevor logs into his account on ssh://foobar.university.edu as one of the developers on the box, and he gets the message: id: cannot find name for group ID 131 Trevor then checks this ...
3
votes
3answers
196 views

When adding a user to a new group when does the user group permissions become active when its a /nologin user?

I have a service level account to run my webserver, and this user is setup with /sbin/nologin. Normally when you add a user to a group you must logout and login to use the new group permissions. ...
4
votes
1answer
435 views

Why do I need to use newgrp or su (or logout and login again) to have new group memberships applied?

What is it that makes new group membership require a new login (or new login shell as started by su or newgrp) to be visible? Just running another bash (or whatever other shell) instance with --login ...