From eceedf43cfcafcc18e5276f23c3d96c9596e1a48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Fran=C3=A7ois?= Date: Thu, 15 Aug 2013 17:21:44 +0200 Subject: [PATCH] Improve documentation. * man/login.defs.d/SUB_GID_COUNT.xml: Document newusers behavior when the user already have subordinate group IDs. * man/login.defs.d/SUB_UID_COUNT.xml: Likewise. * man/login.defs.d/SUB_GID_COUNT.xml: Fix typo (MAX<->MIN). * man/login.defs.d/SUB_UID_COUNT.xml: Likewise. --- ChangeLog | 8 ++++++++ man/login.defs.d/SUB_GID_COUNT.xml | 7 ++++--- man/login.defs.d/SUB_UID_COUNT.xml | 7 ++++--- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index ecfa950c..47fd3136 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2013-08-15 Nicolas François + + * man/login.defs.d/SUB_GID_COUNT.xml: Document newusers behavior + when the user already have subordinate group IDs. + * man/login.defs.d/SUB_UID_COUNT.xml: Likewise. + * man/login.defs.d/SUB_GID_COUNT.xml: Fix typo (MAX<->MIN). + * man/login.defs.d/SUB_UID_COUNT.xml: Likewise. + 2013-08-15 Nicolas François * src/usermod.c: Check early if /etc/subuid (/etc/subgid) exists diff --git a/man/login.defs.d/SUB_GID_COUNT.xml b/man/login.defs.d/SUB_GID_COUNT.xml index d8592e64..01ace007 100644 --- a/man/login.defs.d/SUB_GID_COUNT.xml +++ b/man/login.defs.d/SUB_GID_COUNT.xml @@ -33,14 +33,15 @@ If /etc/subuid exists, the commands - useradd and newusers allocate + useradd and newusers (unless + the user already have subordinate group IDs) allocate unused group IDs from the range to for each new user. - The default values for , - , + The default values for , + , are respectively 100000, 600100000 and 10000. diff --git a/man/login.defs.d/SUB_UID_COUNT.xml b/man/login.defs.d/SUB_UID_COUNT.xml index 8db10690..5ad812f7 100644 --- a/man/login.defs.d/SUB_UID_COUNT.xml +++ b/man/login.defs.d/SUB_UID_COUNT.xml @@ -33,14 +33,15 @@ If /etc/subuid exists, the commands - useradd and newusers allocate + useradd and newusers (unless + the user already have subordinate user IDs) allocate unused user IDs from the range to for each new user. - The default values for , - , + The default values for , + , are respectively 100000, 600100000 and 10000.