From ce21d3b60325fa0e104554d949d51620e0c0e0a4 Mon Sep 17 00:00:00 2001 From: Nils K <24257556+septatrix@users.noreply.github.com> Date: Fri, 30 Jan 2026 02:50:51 +0100 Subject: [PATCH] Clarify documentation regarding creation of homedir The "for non-system users" only applies to the CREATE_HOME config and is does not matter when using the `-m` flag. --- man/useradd.8.xml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/man/useradd.8.xml b/man/useradd.8.xml index ba2175e79b..439ea6505d 100644 --- a/man/useradd.8.xml +++ b/man/useradd.8.xml @@ -186,10 +186,9 @@ BASE_DIR and use that as the login directory name. The directory HOME_DIR is not created by - default. However it will be created for non-system users if either the - flag is specified or - CREATE_HOME in - login.defs is set to true. However, it will never + default. It will only be created if the flag + is specified or, for non-system users, if CREATE_HOME + in login.defs is set to true. However, it will never be created if the flag is specified.