On Mon, Apr 21, 2025 at 11:14:47PM +0200, Tomas Pospisek wrote:
On Mon, 21 Apr 2025, Marc Haber wrote:
I am totally not sure whether this is appropriate. I agree that this
behavior is a quick of many operating systems, but I don't think
that adduser should begin to document operating system quirks.
People might see this as an issue in adduser, which it isn't.
Well, I mean the goal of "adduser user group" is to add a user to a
group... except that - it doesn't. As a user of adduser I'm not really
interested who's fault it is - I just want to get the job done.
It adds the user to the group. It is not adduser's fault that /etc/group
is just read on login.
At some point I have somehow found out that using some other magic in
addition is necessary. Other users of adduser might not know and just
think that `adduser user group` doesn't work or is broken or ...
That is not magic, it's basic Unix semantic.
So why not give the user a hand to get the job done?
Because the next user is going to want more unrelated docs. I have spent
in the last release cycle literally days to clean adduser's man pages of
redundant information to make it easier to maintain them. This would be
counterproductive.
Greetings
Marc
P.S.: I keep falling into that trap myself
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421