From c6175f07e35078ae035561fd5afef23805f5ba3f Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Mon, 14 Nov 2011 19:15:10 +0000 Subject: [PATCH] Update useradd usage with the --root option. --- tests/usertools/useradd/01_useradd_usage/data/usage.out | 1 + .../useradd/02_useradd_usage_invalid_option/data/usage.out | 1 + .../usertools/useradd/03_useradd_usage_no_users/data/usage.out | 1 + .../usertools/useradd/04_useradd_usage_2_users/data/usage.out | 1 + .../useradd/26_useradd_usage-o_without-u/data/usage.out | 1 + .../useradd/27_useradd_usage-k_without-m/data/usage.out | 1 + .../usertools/useradd/28_useradd_usage-U_with-g/data/usage.out | 1 + .../usertools/useradd/29_useradd_usage-U_with-N/data/usage.out | 1 + .../usertools/useradd/30_useradd_usage-m_with-M/data/usage.out | 1 + .../useradd/31_useradd_usage_user_with-D/data/usage.out | 1 + .../useradd/32_useradd_usage-D_with_other/data/usage.out | 1 + .../useradd/57_useradd_usage-D_not_first_option/data/usage.out | 3 +++ 12 files changed, 14 insertions(+) diff --git a/tests/usertools/useradd/01_useradd_usage/data/usage.out b/tests/usertools/useradd/01_useradd_usage/data/usage.out index d75dd34f..b77a98a0 100644 --- a/tests/usertools/useradd/01_useradd_usage/data/usage.out +++ b/tests/usertools/useradd/01_useradd_usage/data/usage.out @@ -27,6 +27,7 @@ Options: (non-unique) UID -p, --password PASSWORD encrypted password of the new account -r, --system create a system account + -R, --root CHROOT_DIR directory to chroot into -s, --shell SHELL login shell of the new account -u, --uid UID user ID of the new account -U, --user-group create a group with the same name as the user diff --git a/tests/usertools/useradd/02_useradd_usage_invalid_option/data/usage.out b/tests/usertools/useradd/02_useradd_usage_invalid_option/data/usage.out index 80acb9e0..2efa1348 100644 --- a/tests/usertools/useradd/02_useradd_usage_invalid_option/data/usage.out +++ b/tests/usertools/useradd/02_useradd_usage_invalid_option/data/usage.out @@ -28,6 +28,7 @@ Options: (non-unique) UID -p, --password PASSWORD encrypted password of the new account -r, --system create a system account + -R, --root CHROOT_DIR directory to chroot into -s, --shell SHELL login shell of the new account -u, --uid UID user ID of the new account -U, --user-group create a group with the same name as the user diff --git a/tests/usertools/useradd/03_useradd_usage_no_users/data/usage.out b/tests/usertools/useradd/03_useradd_usage_no_users/data/usage.out index d75dd34f..b77a98a0 100644 --- a/tests/usertools/useradd/03_useradd_usage_no_users/data/usage.out +++ b/tests/usertools/useradd/03_useradd_usage_no_users/data/usage.out @@ -27,6 +27,7 @@ Options: (non-unique) UID -p, --password PASSWORD encrypted password of the new account -r, --system create a system account + -R, --root CHROOT_DIR directory to chroot into -s, --shell SHELL login shell of the new account -u, --uid UID user ID of the new account -U, --user-group create a group with the same name as the user diff --git a/tests/usertools/useradd/04_useradd_usage_2_users/data/usage.out b/tests/usertools/useradd/04_useradd_usage_2_users/data/usage.out index d75dd34f..b77a98a0 100644 --- a/tests/usertools/useradd/04_useradd_usage_2_users/data/usage.out +++ b/tests/usertools/useradd/04_useradd_usage_2_users/data/usage.out @@ -27,6 +27,7 @@ Options: (non-unique) UID -p, --password PASSWORD encrypted password of the new account -r, --system create a system account + -R, --root CHROOT_DIR directory to chroot into -s, --shell SHELL login shell of the new account -u, --uid UID user ID of the new account -U, --user-group create a group with the same name as the user diff --git a/tests/usertools/useradd/26_useradd_usage-o_without-u/data/usage.out b/tests/usertools/useradd/26_useradd_usage-o_without-u/data/usage.out index fac2ca54..f0e24c55 100644 --- a/tests/usertools/useradd/26_useradd_usage-o_without-u/data/usage.out +++ b/tests/usertools/useradd/26_useradd_usage-o_without-u/data/usage.out @@ -28,6 +28,7 @@ Options: (non-unique) UID -p, --password PASSWORD encrypted password of the new account -r, --system create a system account + -R, --root CHROOT_DIR directory to chroot into -s, --shell SHELL login shell of the new account -u, --uid UID user ID of the new account -U, --user-group create a group with the same name as the user diff --git a/tests/usertools/useradd/27_useradd_usage-k_without-m/data/usage.out b/tests/usertools/useradd/27_useradd_usage-k_without-m/data/usage.out index 88b6e47b..e27e5b6b 100644 --- a/tests/usertools/useradd/27_useradd_usage-k_without-m/data/usage.out +++ b/tests/usertools/useradd/27_useradd_usage-k_without-m/data/usage.out @@ -28,6 +28,7 @@ Options: (non-unique) UID -p, --password PASSWORD encrypted password of the new account -r, --system create a system account + -R, --root CHROOT_DIR directory to chroot into -s, --shell SHELL login shell of the new account -u, --uid UID user ID of the new account -U, --user-group create a group with the same name as the user diff --git a/tests/usertools/useradd/28_useradd_usage-U_with-g/data/usage.out b/tests/usertools/useradd/28_useradd_usage-U_with-g/data/usage.out index 8ab300c3..3b030c38 100644 --- a/tests/usertools/useradd/28_useradd_usage-U_with-g/data/usage.out +++ b/tests/usertools/useradd/28_useradd_usage-U_with-g/data/usage.out @@ -28,6 +28,7 @@ Options: (non-unique) UID -p, --password PASSWORD encrypted password of the new account -r, --system create a system account + -R, --root CHROOT_DIR directory to chroot into -s, --shell SHELL login shell of the new account -u, --uid UID user ID of the new account -U, --user-group create a group with the same name as the user diff --git a/tests/usertools/useradd/29_useradd_usage-U_with-N/data/usage.out b/tests/usertools/useradd/29_useradd_usage-U_with-N/data/usage.out index 772846ad..7a7bc5df 100644 --- a/tests/usertools/useradd/29_useradd_usage-U_with-N/data/usage.out +++ b/tests/usertools/useradd/29_useradd_usage-U_with-N/data/usage.out @@ -28,6 +28,7 @@ Options: (non-unique) UID -p, --password PASSWORD encrypted password of the new account -r, --system create a system account + -R, --root CHROOT_DIR directory to chroot into -s, --shell SHELL login shell of the new account -u, --uid UID user ID of the new account -U, --user-group create a group with the same name as the user diff --git a/tests/usertools/useradd/30_useradd_usage-m_with-M/data/usage.out b/tests/usertools/useradd/30_useradd_usage-m_with-M/data/usage.out index c3ed4f76..37a90dc6 100644 --- a/tests/usertools/useradd/30_useradd_usage-m_with-M/data/usage.out +++ b/tests/usertools/useradd/30_useradd_usage-m_with-M/data/usage.out @@ -28,6 +28,7 @@ Options: (non-unique) UID -p, --password PASSWORD encrypted password of the new account -r, --system create a system account + -R, --root CHROOT_DIR directory to chroot into -s, --shell SHELL login shell of the new account -u, --uid UID user ID of the new account -U, --user-group create a group with the same name as the user diff --git a/tests/usertools/useradd/31_useradd_usage_user_with-D/data/usage.out b/tests/usertools/useradd/31_useradd_usage_user_with-D/data/usage.out index d75dd34f..b77a98a0 100644 --- a/tests/usertools/useradd/31_useradd_usage_user_with-D/data/usage.out +++ b/tests/usertools/useradd/31_useradd_usage_user_with-D/data/usage.out @@ -27,6 +27,7 @@ Options: (non-unique) UID -p, --password PASSWORD encrypted password of the new account -r, --system create a system account + -R, --root CHROOT_DIR directory to chroot into -s, --shell SHELL login shell of the new account -u, --uid UID user ID of the new account -U, --user-group create a group with the same name as the user diff --git a/tests/usertools/useradd/32_useradd_usage-D_with_other/data/usage.out b/tests/usertools/useradd/32_useradd_usage-D_with_other/data/usage.out index d75dd34f..b77a98a0 100644 --- a/tests/usertools/useradd/32_useradd_usage-D_with_other/data/usage.out +++ b/tests/usertools/useradd/32_useradd_usage-D_with_other/data/usage.out @@ -27,6 +27,7 @@ Options: (non-unique) UID -p, --password PASSWORD encrypted password of the new account -r, --system create a system account + -R, --root CHROOT_DIR directory to chroot into -s, --shell SHELL login shell of the new account -u, --uid UID user ID of the new account -U, --user-group create a group with the same name as the user diff --git a/tests/usertools/useradd/57_useradd_usage-D_not_first_option/data/usage.out b/tests/usertools/useradd/57_useradd_usage-D_not_first_option/data/usage.out index 70e2a26b..b77a98a0 100644 --- a/tests/usertools/useradd/57_useradd_usage-D_not_first_option/data/usage.out +++ b/tests/usertools/useradd/57_useradd_usage-D_not_first_option/data/usage.out @@ -1,4 +1,6 @@ Usage: useradd [options] LOGIN + useradd -D + useradd -D [options] Options: -b, --base-dir BASE_DIR base directory for the home directory of the @@ -25,6 +27,7 @@ Options: (non-unique) UID -p, --password PASSWORD encrypted password of the new account -r, --system create a system account + -R, --root CHROOT_DIR directory to chroot into -s, --shell SHELL login shell of the new account -u, --uid UID user ID of the new account -U, --user-group create a group with the same name as the user