[Pkg-shadow-devel] [Git][debian/adduser][debian/latest] add a NOTE to adduser.8 regarding group membership

Marc Haber (@zugschlus) gitlab at salsa.debian.org
Wed Jun 17 14:26:46 BST 2026



Marc Haber pushed to branch debian/latest at Debian / adduser


Commits:
0c448b73 by Marc Haber at 2026-06-17T15:10:00+02:00
add a NOTE to adduser.8 regarding group membership

Closes: #1103776

- - - - -


1 changed file:

- doc/adduser.8


Changes:

=====================================
doc/adduser.8
=====================================
@@ -798,6 +798,21 @@ the plethora of directory services that need support.
 \fBadduser\fP will constrict itself to being a policy layer
 for the management of local system accounts,
 using the tools from the \fBpasswd\fP package for the actual work.
+.PP
+Group membership changes do not affect processes that are already running.
+When a user is added to a group, the new membership becomes effective only for
+sessions started after the change. This behavior is a common source of
+confusion for administrators who expect the results of \fBadduser user
+group\fP to apply immediately to existing sessions.
+
+To make the new group membership available immediately, the user must
+start a new login session. Alternatively, the
+.BR newgrp (1)
+command can be used to start a new shell with the updated group
+membership.
+
+This behavior is a fundamental property of Unix-like operating systems
+and cannot be altered by \fBadduser\fP.
 
 .SH BUGS
 Inconsistent use of terminology around the term \fIsystem account\fP



View it on GitLab: https://salsa.debian.org/debian/adduser/-/commit/0c448b73356981c212ad901377e227aa1e0bc59e

-- 
View it on GitLab: https://salsa.debian.org/debian/adduser/-/commit/0c448b73356981c212ad901377e227aa1e0bc59e
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-shadow-devel/attachments/20260617/b8187669/attachment-0001.htm>


More information about the Pkg-shadow-devel mailing list