From cecae46ccfb85c2c4bf6e0fe0419d740ba1f2ecc Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Sun, 6 Nov 2011 18:37:25 +0000 Subject: [PATCH] * NEWS, src/useradd.c, man/useradd.8.xml: Add --root option. Open audit after the potential chroot. --- ChangeLog | 2 ++ NEWS | 1 + man/useradd.8.xml | 15 ++++++++++++++- src/useradd.c | 17 +++++++++++------ 4 files changed, 28 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1c1b9b06..2f449f74 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,8 @@ po/POTFILES.in: Add process_root_flag() to process the --root option and chroot so that the chroot config is used and changes are applied to the chroot. + * NEWS, src/useradd.c, man/useradd.8.xml: Add --root option. Open + audit after the potential chroot. 2011-10-22 Nicolas François diff --git a/NEWS b/NEWS index 46aa63c2..82620925 100644 --- a/NEWS +++ b/NEWS @@ -71,6 +71,7 @@ shadow-4.1.4.3 -> shadow-4.1.5 UNRELEASED - useradd * If the skeleton directory contained hardlinked files, copies of the hardlink were removed from the skeleton directory. + * Add --root option. - userdel * Check the existence of the user's mail spool before trying to remove it. If it does not exist, a warning is issued, but no failure. diff --git a/man/useradd.8.xml b/man/useradd.8.xml index 4b4dc2b9..d1d1f1c1 100644 --- a/man/useradd.8.xml +++ b/man/useradd.8.xml @@ -1,7 +1,7 @@