Debian reference (https://www.debian.org/doc/manuals/debian-reference/ch01.en.html#_permissions_for_groups_of_users_group)
says one of the option to apply change of group user configuration is
Logout via GUI menu and login.
It is not marked as "Best option" such as
Cold reboot and login. (Best option)
but per my understanding, it does not mean that it does not work.
On the other hand, I've checked that with Debian 12 and GNOME it is
not enough to logout and login to see that a user is added to a group.
Any comments?
Debian reference (https://www.debian.org/doc/manuals/debian-reference/ch01.en.html#_permissions_for_groups_of_users_group)
says one of the option to apply change of group user configuration is
Logout via GUI menu and login.
It is not marked as "Best option" such as
Cold reboot and login. (Best option)
but per my understanding, it does not mean that it does not work.
On the other hand, I've checked that with Debian 12 and GNOME it is
not enough to logout and login to see that a user is added to a group.
Any comments?
For a simple DE, just cat /etc/group will check that a group add
command worked. The next login will make use of the group membership.
On Sun, Feb 02, 2025 at 05:51:47PM +0200, Vasyl Vavrychuk wrote:
Debian reference (https://www.debian.org/doc/manuals/debian-reference/ch01.en.html#_permissions_for_groups_of_users_group)
says one of the option to apply change of group user configuration
is
Logout via GUI menu and login.
It is not marked as "Best option" such as
Cold reboot and login. (Best option)
but per my understanding, it does not mean that it does not work.
On the other hand, I've checked that with Debian 12 and GNOME it is
not enough to logout and login to see that a user is added to a
group.
Any comments?
Yes, I think that is not true. If you logout and login (assuming that
this is the modified user) that works.
Don't you need to use "newgrp" to change the current running group
membership of existing sessions?
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 24:05:11 |
| Calls: | 12,105 |
| Calls today: | 5 |
| Files: | 15,006 |
| Messages: | 6,518,155 |