On Tue, Apr 22, 2025 at 04:21:42PM +0200, Tomas Pospisek wrote:
> > The way to avoid any confusion, I've found, is just to tell the user to
> > "fully logout and log back in" and then go about their business.
> 
> I can agree to that.
> 
> So let's point the user to some explanation instead of not doing what a user
> without any additional experience would expect and not saying anything about
> the problem that `adduser user group` has.

The question then is whether or not we want the man page to be more
helpful in describing the effects of this use case.

Maybe it could say something like this…

> Add an existing user to an existing group
>   If called with two non-option arguments, adduser will add an
>   existing user to an existing group. A logged in user will need to
>   log out and log back in for the change to take effect.

This is a minimal change that at least makes note of something that may
be surprising to a person who has limited familiarity with how Debian
works.

Would this type of change help?

Marc, do you think this is reasonable?

-- 
Jason Franklin

Reply via email to