group rights log out and back in
I created a couple new groups in the command line and then added myself to those two groups. And then using Gnome in Fedora 25 I logged out and then back in. I was expecting to have the group rights applied to my account, but that didn't happen.
if I grep my name against /etc/group I see them there. If I type the command, groups I do not have them applied to my account. I thought all I needed to do was log out and back in and those group rights should be applied. But it doesn't seem to be working. Is this a known bug or something else? What am I missing?
What is the output with the cmd
groups <username>
?the same groups I already had, but not the new one.
Here is an example of everything...
$ groups marek wheel web backups freenas groupa
$ sudo groupadd -g 1502 groupb $ sudo usermod -a -G groupb marek
[marek@xps-9550 ~]$ groups marek wheel web backups freenas groupa
If I reboot I get the new group. But if merely log out and then log back in from Gnome, I don't. I thought logging out and back in via Gnome would log me out entirely and logging in would have given me the new group upon log in.
Are you able to repeat these steps and does it work for you? Are you getting the new group?
What are you trying to access as a member of this group? What fails as a result of you not being in the "proper group", other than the output of the groups command? What do you mean exactly by "If I reboot I get the new group"? It is difficult for us to tell what is what you have entered and what is the result of the command you have entered. I can see no difference between: $ groups marek wheel web backups freenas groupa and [marek@xps-9550 ~]$ groups marek wheel web backups freenas groupa
Are you issuing "groups marek" in each case or only "groups"?
This site is screwing up the formatting of my message.
I typed groups at the prompts.
Look my question is simple. I added a group, as I already showed. I then added myself to that groups. I then log out and then log back in and I don't see myself being added to the group. What doesn't make sense to you?
How do I get this site to exactly reproduce the sentence the way I typed it in. It's removes new lines and scrwewing up the formatting. I want it the way I typed it in. I don't want it removing spaces, line breaks or anything else. This is a technical site. The way I typed it in MATTERS
I guess a feature. Not sure.
Maybe GNOME don't want to kill your background processes?