Re: add user to a group and logout/login to apply

2025-02-04 Thread Vasyl Vavrychuk
On Tue, Feb 4, 2025 at 4:27 AM Max Nikulin wrote: > > On 02/02/2025 22:51, Vasyl Vavrychuk wrote: > > 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? > > Wait a bit longer before ne

Re: add user to a group and logout/login to apply

2025-02-03 Thread Max Nikulin
On 02/02/2025 22:51, Vasyl Vavrychuk wrote: 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? Wait a bit longer before next login (and check there is no VT or ssh logins at the same time).

Re: add user to a group and logout/login to apply

2025-02-02 Thread Greg Wooledge
On Sun, Feb 02, 2025 at 16:55:25 -0600, Nicholas Geovanis wrote: > Don't you need to use "newgrp" to change the current running group > membership of existing sessions? That doesn't change a *session*. It just creates a single shell with the updated permissions. Your window manager, your systemd

Re: add user to a group and logout/login to apply

2025-02-02 Thread Nicholas Geovanis
On Sun, Feb 2, 2025, 3:19 PM Joe wrote: > On Sun, 2 Feb 2025 12:30:39 -0500 > Henning Follmann wrote: > > > 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_o

Re: add user to a group and logout/login to apply

2025-02-02 Thread Greg Wooledge
On Sun, Feb 02, 2025 at 21:19:18 +, Joe wrote: > 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. That's correct, and also: * "id USERNAME" (passing an argument) will tell you what that user's group me

Re: add user to a group and logout/login to apply

2025-02-02 Thread Joe
On Sun, 2 Feb 2025 12:30:39 -0500 Henning Follmann wrote: > 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 chang

Re: add user to a group and logout/login to apply

2025-02-02 Thread Henning Follmann
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 logi

Re: add user to a group and logout/login to apply

2025-02-02 Thread Dan Purgert
On Feb 02, 2025, 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

add user to a group and logout/login to apply

2025-02-02 Thread Vasyl Vavrychuk
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. (Be