From 227e7806443c50475c4e1f1bc7b7cca6d29c9f08 Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Fri, 23 Sep 2011 17:50:59 +0000 Subject: [PATCH] When there is a gshadow file, gshadow is activated. Then a group password change puts the password in the gshadow file (create an entry) and the group's password is set to 'x'. --- .../chgpasswd/04_chgpasswd_no_gshadow_entry/data/group | 2 +- .../chgpasswd/04_chgpasswd_no_gshadow_entry/data/gshadow | 1 + .../chgpasswd/29_chgpasswd-e_no_gshadow_entry/data/group | 2 +- .../chgpasswd/29_chgpasswd-e_no_gshadow_entry/data/gshadow | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/grouptools/chgpasswd/04_chgpasswd_no_gshadow_entry/data/group b/tests/grouptools/chgpasswd/04_chgpasswd_no_gshadow_entry/data/group index e3c3263f..10123908 100644 --- a/tests/grouptools/chgpasswd/04_chgpasswd_no_gshadow_entry/data/group +++ b/tests/grouptools/chgpasswd/04_chgpasswd_no_gshadow_entry/data/group @@ -36,6 +36,6 @@ plugdev:x:46: staff:x:50: games:x:60: users:x:100: -nogroup:@PASS_DES test@:65534: +nogroup:x:65534: crontab:x:101: Debian-exim:x:102: diff --git a/tests/grouptools/chgpasswd/04_chgpasswd_no_gshadow_entry/data/gshadow b/tests/grouptools/chgpasswd/04_chgpasswd_no_gshadow_entry/data/gshadow index 6d95242a..544e0d10 100644 --- a/tests/grouptools/chgpasswd/04_chgpasswd_no_gshadow_entry/data/gshadow +++ b/tests/grouptools/chgpasswd/04_chgpasswd_no_gshadow_entry/data/gshadow @@ -38,3 +38,4 @@ games:*:: users:*:: crontab:x:: Debian-exim:x:: +nogroup:@PASS_DES test@:: diff --git a/tests/grouptools/chgpasswd/29_chgpasswd-e_no_gshadow_entry/data/group b/tests/grouptools/chgpasswd/29_chgpasswd-e_no_gshadow_entry/data/group index f7c0f570..10123908 100644 --- a/tests/grouptools/chgpasswd/29_chgpasswd-e_no_gshadow_entry/data/group +++ b/tests/grouptools/chgpasswd/29_chgpasswd-e_no_gshadow_entry/data/group @@ -5,7 +5,7 @@ sys:x:3: adm:x:4: tty:x:5: disk:x:6: -lp:test2:7: +lp:x:7: mail:x:8: news:x:9: uucp:x:10: diff --git a/tests/grouptools/chgpasswd/29_chgpasswd-e_no_gshadow_entry/data/gshadow b/tests/grouptools/chgpasswd/29_chgpasswd-e_no_gshadow_entry/data/gshadow index abb535b2..3652f6ff 100644 --- a/tests/grouptools/chgpasswd/29_chgpasswd-e_no_gshadow_entry/data/gshadow +++ b/tests/grouptools/chgpasswd/29_chgpasswd-e_no_gshadow_entry/data/gshadow @@ -38,3 +38,4 @@ users:*:: nogroup:test:: crontab:x:: Debian-exim:x:: +lp:test2::