[Pkg-shadow-commits] r1899 - in debian/trunk/tests/newusers: 01_create_user/data 05_create_user_pid/data 06_create_user_gid/data 07_create_user_pid_gid/data 08_create_user_pid_other-gid/data 09_create_user_pid-as-user-bar/data 10_create_user_gid-as-group-bar/data 13_create_user_new-home/data 14_create_user_existing-home/data 17_create_user_pid-already-used/data 18_create_user_gid-already-used/data

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Sun Mar 9 01:59:59 UTC 2008


Author: nekral-guest
Date: 2008-03-09 01:59:59 +0000 (Sun, 09 Mar 2008)
New Revision: 1899

Modified:
   debian/trunk/tests/newusers/01_create_user/data/group
   debian/trunk/tests/newusers/01_create_user/data/gshadow
   debian/trunk/tests/newusers/01_create_user/data/passwd
   debian/trunk/tests/newusers/05_create_user_pid/data/group
   debian/trunk/tests/newusers/05_create_user_pid/data/gshadow
   debian/trunk/tests/newusers/05_create_user_pid/data/passwd
   debian/trunk/tests/newusers/06_create_user_gid/data/group
   debian/trunk/tests/newusers/06_create_user_gid/data/gshadow
   debian/trunk/tests/newusers/06_create_user_gid/data/passwd
   debian/trunk/tests/newusers/07_create_user_pid_gid/data/group
   debian/trunk/tests/newusers/07_create_user_pid_gid/data/gshadow
   debian/trunk/tests/newusers/08_create_user_pid_other-gid/data/group
   debian/trunk/tests/newusers/08_create_user_pid_other-gid/data/gshadow
   debian/trunk/tests/newusers/09_create_user_pid-as-user-bar/data/group
   debian/trunk/tests/newusers/09_create_user_pid-as-user-bar/data/gshadow
   debian/trunk/tests/newusers/09_create_user_pid-as-user-bar/data/passwd
   debian/trunk/tests/newusers/10_create_user_gid-as-group-bar/data/group
   debian/trunk/tests/newusers/10_create_user_gid-as-group-bar/data/passwd
   debian/trunk/tests/newusers/13_create_user_new-home/data/group
   debian/trunk/tests/newusers/13_create_user_new-home/data/gshadow
   debian/trunk/tests/newusers/13_create_user_new-home/data/passwd
   debian/trunk/tests/newusers/14_create_user_existing-home/data/group
   debian/trunk/tests/newusers/14_create_user_existing-home/data/gshadow
   debian/trunk/tests/newusers/14_create_user_existing-home/data/passwd
   debian/trunk/tests/newusers/17_create_user_pid-already-used/data/group
   debian/trunk/tests/newusers/17_create_user_pid-already-used/data/gshadow
   debian/trunk/tests/newusers/17_create_user_pid-already-used/data/passwd
   debian/trunk/tests/newusers/18_create_user_gid-already-used/data/group
   debian/trunk/tests/newusers/18_create_user_gid-already-used/data/passwd
Log:
Update to new newusers behavior:
 * users are not added automatically to the list of supplementary groups
 * newusers use the same algorithm as useradd to define the new UIDs.


Modified: debian/trunk/tests/newusers/01_create_user/data/group
===================================================================
--- debian/trunk/tests/newusers/01_create_user/data/group	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/01_create_user/data/group	2008-03-09 01:59:59 UTC (rev 1899)
@@ -39,4 +39,4 @@
 nogroup:x:65534:
 crontab:x:101:
 Debian-exim:x:102:
-foo:x:65535:foo
+foo:x:1000:

Modified: debian/trunk/tests/newusers/01_create_user/data/gshadow
===================================================================
--- debian/trunk/tests/newusers/01_create_user/data/gshadow	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/01_create_user/data/gshadow	2008-03-09 01:59:59 UTC (rev 1899)
@@ -39,3 +39,4 @@
 nogroup:*::
 crontab:x::
 Debian-exim:x::
+foo:*::

Modified: debian/trunk/tests/newusers/01_create_user/data/passwd
===================================================================
--- debian/trunk/tests/newusers/01_create_user/data/passwd	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/01_create_user/data/passwd	2008-03-09 01:59:59 UTC (rev 1899)
@@ -17,4 +17,4 @@
 gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
 nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
 Debian-exim:x:102:102::/var/spool/exim4:/bin/false
-foo:x:65535:65535:User Foo - Gecos Field::/bin/sh
+foo:x:1000:1000:User Foo - Gecos Field::/bin/sh

Modified: debian/trunk/tests/newusers/05_create_user_pid/data/group
===================================================================
--- debian/trunk/tests/newusers/05_create_user_pid/data/group	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/05_create_user_pid/data/group	2008-03-09 01:59:59 UTC (rev 1899)
@@ -39,4 +39,4 @@
 nogroup:x:65534:
 crontab:x:101:
 Debian-exim:x:102:
-foo:x:65535:foo
+foo:x:4242:

Modified: debian/trunk/tests/newusers/05_create_user_pid/data/gshadow
===================================================================
--- debian/trunk/tests/newusers/05_create_user_pid/data/gshadow	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/05_create_user_pid/data/gshadow	2008-03-09 01:59:59 UTC (rev 1899)
@@ -39,3 +39,4 @@
 nogroup:*::
 crontab:x::
 Debian-exim:x::
+foo:*::

Modified: debian/trunk/tests/newusers/05_create_user_pid/data/passwd
===================================================================
--- debian/trunk/tests/newusers/05_create_user_pid/data/passwd	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/05_create_user_pid/data/passwd	2008-03-09 01:59:59 UTC (rev 1899)
@@ -17,4 +17,4 @@
 gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
 nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
 Debian-exim:x:102:102::/var/spool/exim4:/bin/false
-foo:x:4242:65535:User Foo - Gecos Field::/bin/sh
+foo:x:4242:4242:User Foo - Gecos Field::/bin/sh

Modified: debian/trunk/tests/newusers/06_create_user_gid/data/group
===================================================================
--- debian/trunk/tests/newusers/06_create_user_gid/data/group	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/06_create_user_gid/data/group	2008-03-09 01:59:59 UTC (rev 1899)
@@ -39,4 +39,4 @@
 nogroup:x:65534:
 crontab:x:101:
 Debian-exim:x:102:
-foo:x:4242:foo
+foo:x:4242:

Modified: debian/trunk/tests/newusers/06_create_user_gid/data/gshadow
===================================================================
--- debian/trunk/tests/newusers/06_create_user_gid/data/gshadow	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/06_create_user_gid/data/gshadow	2008-03-09 01:59:59 UTC (rev 1899)
@@ -39,3 +39,4 @@
 nogroup:*::
 crontab:x::
 Debian-exim:x::
+foo:*::

Modified: debian/trunk/tests/newusers/06_create_user_gid/data/passwd
===================================================================
--- debian/trunk/tests/newusers/06_create_user_gid/data/passwd	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/06_create_user_gid/data/passwd	2008-03-09 01:59:59 UTC (rev 1899)
@@ -17,4 +17,4 @@
 gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
 nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
 Debian-exim:x:102:102::/var/spool/exim4:/bin/false
-foo:x:65535:4242:User Foo - Gecos Field::/bin/sh
+foo:x:1000:4242:User Foo - Gecos Field::/bin/sh

Modified: debian/trunk/tests/newusers/07_create_user_pid_gid/data/group
===================================================================
--- debian/trunk/tests/newusers/07_create_user_pid_gid/data/group	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/07_create_user_pid_gid/data/group	2008-03-09 01:59:59 UTC (rev 1899)
@@ -39,4 +39,4 @@
 nogroup:x:65534:
 crontab:x:101:
 Debian-exim:x:102:
-foo:x:4242:foo
+foo:x:4242:

Modified: debian/trunk/tests/newusers/07_create_user_pid_gid/data/gshadow
===================================================================
--- debian/trunk/tests/newusers/07_create_user_pid_gid/data/gshadow	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/07_create_user_pid_gid/data/gshadow	2008-03-09 01:59:59 UTC (rev 1899)
@@ -39,3 +39,4 @@
 nogroup:*::
 crontab:x::
 Debian-exim:x::
+foo:*::

Modified: debian/trunk/tests/newusers/08_create_user_pid_other-gid/data/group
===================================================================
--- debian/trunk/tests/newusers/08_create_user_pid_other-gid/data/group	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/08_create_user_pid_other-gid/data/group	2008-03-09 01:59:59 UTC (rev 1899)
@@ -39,4 +39,4 @@
 nogroup:x:65534:
 crontab:x:101:
 Debian-exim:x:102:
-foo:x:4243:foo
+foo:x:4243:

Modified: debian/trunk/tests/newusers/08_create_user_pid_other-gid/data/gshadow
===================================================================
--- debian/trunk/tests/newusers/08_create_user_pid_other-gid/data/gshadow	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/08_create_user_pid_other-gid/data/gshadow	2008-03-09 01:59:59 UTC (rev 1899)
@@ -39,3 +39,4 @@
 nogroup:*::
 crontab:x::
 Debian-exim:x::
+foo:*::

Modified: debian/trunk/tests/newusers/09_create_user_pid-as-user-bar/data/group
===================================================================
--- debian/trunk/tests/newusers/09_create_user_pid-as-user-bar/data/group	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/09_create_user_pid-as-user-bar/data/group	2008-03-09 01:59:59 UTC (rev 1899)
@@ -40,4 +40,4 @@
 crontab:x:101:
 Debian-exim:x:102:
 bar:x:1042:
-foo:x:65535:foo
+foo:x:1043:

Modified: debian/trunk/tests/newusers/09_create_user_pid-as-user-bar/data/gshadow
===================================================================
--- debian/trunk/tests/newusers/09_create_user_pid-as-user-bar/data/gshadow	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/09_create_user_pid-as-user-bar/data/gshadow	2008-03-09 01:59:59 UTC (rev 1899)
@@ -40,3 +40,4 @@
 crontab:x::
 Debian-exim:x::
 bar:x::
+foo:*::

Modified: debian/trunk/tests/newusers/09_create_user_pid-as-user-bar/data/passwd
===================================================================
--- debian/trunk/tests/newusers/09_create_user_pid-as-user-bar/data/passwd	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/09_create_user_pid-as-user-bar/data/passwd	2008-03-09 01:59:59 UTC (rev 1899)
@@ -18,4 +18,4 @@
 nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
 Debian-exim:x:102:102::/var/spool/exim4:/bin/false
 bar:x:1042:1042::/:/bin/false
-foo:x:1042:65535:User Foo - Gecos Field::/bin/sh
+foo:x:1042:1043:User Foo - Gecos Field::/bin/sh

Modified: debian/trunk/tests/newusers/10_create_user_gid-as-group-bar/data/group
===================================================================
--- debian/trunk/tests/newusers/10_create_user_gid-as-group-bar/data/group	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/10_create_user_gid-as-group-bar/data/group	2008-03-09 01:59:59 UTC (rev 1899)
@@ -39,4 +39,4 @@
 nogroup:x:65534:
 crontab:x:101:
 Debian-exim:x:102:
-bar:x:1043:foo
+bar:x:1043:

Modified: debian/trunk/tests/newusers/10_create_user_gid-as-group-bar/data/passwd
===================================================================
--- debian/trunk/tests/newusers/10_create_user_gid-as-group-bar/data/passwd	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/10_create_user_gid-as-group-bar/data/passwd	2008-03-09 01:59:59 UTC (rev 1899)
@@ -18,4 +18,4 @@
 nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
 Debian-exim:x:102:102::/var/spool/exim4:/bin/false
 bar:x:1042:1043::/:/bin/false
-foo:x:65535:1043:User Foo - Gecos Field::/bin/sh
+foo:x:1043:1043:User Foo - Gecos Field::/bin/sh

Modified: debian/trunk/tests/newusers/13_create_user_new-home/data/group
===================================================================
--- debian/trunk/tests/newusers/13_create_user_new-home/data/group	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/13_create_user_new-home/data/group	2008-03-09 01:59:59 UTC (rev 1899)
@@ -39,4 +39,4 @@
 nogroup:x:65534:
 crontab:x:101:
 Debian-exim:x:102:
-foo:x:65535:foo
+foo:x:1000:

Modified: debian/trunk/tests/newusers/13_create_user_new-home/data/gshadow
===================================================================
--- debian/trunk/tests/newusers/13_create_user_new-home/data/gshadow	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/13_create_user_new-home/data/gshadow	2008-03-09 01:59:59 UTC (rev 1899)
@@ -39,3 +39,4 @@
 nogroup:*::
 crontab:x::
 Debian-exim:x::
+foo:*::

Modified: debian/trunk/tests/newusers/13_create_user_new-home/data/passwd
===================================================================
--- debian/trunk/tests/newusers/13_create_user_new-home/data/passwd	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/13_create_user_new-home/data/passwd	2008-03-09 01:59:59 UTC (rev 1899)
@@ -17,4 +17,4 @@
 gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
 nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
 Debian-exim:x:102:102::/var/spool/exim4:/bin/false
-foo:x:65535:65535:User Foo - Gecos Field:/tmp/test-newusers:/bin/sh
+foo:x:1000:1000:User Foo - Gecos Field:/tmp/test-newusers:/bin/sh

Modified: debian/trunk/tests/newusers/14_create_user_existing-home/data/group
===================================================================
--- debian/trunk/tests/newusers/14_create_user_existing-home/data/group	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/14_create_user_existing-home/data/group	2008-03-09 01:59:59 UTC (rev 1899)
@@ -39,4 +39,4 @@
 nogroup:x:65534:
 crontab:x:101:
 Debian-exim:x:102:
-foo:x:65535:foo
+foo:x:1000:

Modified: debian/trunk/tests/newusers/14_create_user_existing-home/data/gshadow
===================================================================
--- debian/trunk/tests/newusers/14_create_user_existing-home/data/gshadow	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/14_create_user_existing-home/data/gshadow	2008-03-09 01:59:59 UTC (rev 1899)
@@ -39,3 +39,4 @@
 nogroup:*::
 crontab:x::
 Debian-exim:x::
+foo:*::

Modified: debian/trunk/tests/newusers/14_create_user_existing-home/data/passwd
===================================================================
--- debian/trunk/tests/newusers/14_create_user_existing-home/data/passwd	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/14_create_user_existing-home/data/passwd	2008-03-09 01:59:59 UTC (rev 1899)
@@ -17,4 +17,4 @@
 gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
 nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
 Debian-exim:x:102:102::/var/spool/exim4:/bin/false
-foo:x:65535:65535:User Foo - Gecos Field:/tmp/test-newusers:/bin/sh
+foo:x:1000:1000:User Foo - Gecos Field:/tmp/test-newusers:/bin/sh

Modified: debian/trunk/tests/newusers/17_create_user_pid-already-used/data/group
===================================================================
--- debian/trunk/tests/newusers/17_create_user_pid-already-used/data/group	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/17_create_user_pid-already-used/data/group	2008-03-09 01:59:59 UTC (rev 1899)
@@ -40,4 +40,4 @@
 crontab:x:101:
 Debian-exim:x:102:
 bar:x:1042:
-foo:x:65535:foo
+foo:x:1043:

Modified: debian/trunk/tests/newusers/17_create_user_pid-already-used/data/gshadow
===================================================================
--- debian/trunk/tests/newusers/17_create_user_pid-already-used/data/gshadow	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/17_create_user_pid-already-used/data/gshadow	2008-03-09 01:59:59 UTC (rev 1899)
@@ -40,3 +40,4 @@
 crontab:x::
 Debian-exim:x::
 bar:x::
+foo:*::

Modified: debian/trunk/tests/newusers/17_create_user_pid-already-used/data/passwd
===================================================================
--- debian/trunk/tests/newusers/17_create_user_pid-already-used/data/passwd	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/17_create_user_pid-already-used/data/passwd	2008-03-09 01:59:59 UTC (rev 1899)
@@ -18,4 +18,4 @@
 nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
 Debian-exim:x:102:102::/var/spool/exim4:/bin/false
 bar:x:1042:1042::/:/bin/false
-foo:x:1042:65535:User Foo - Gecos Field::/bin/sh
+foo:x:1042:1043:User Foo - Gecos Field::/bin/sh

Modified: debian/trunk/tests/newusers/18_create_user_gid-already-used/data/group
===================================================================
--- debian/trunk/tests/newusers/18_create_user_gid-already-used/data/group	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/18_create_user_gid-already-used/data/group	2008-03-09 01:59:59 UTC (rev 1899)
@@ -39,4 +39,4 @@
 nogroup:x:65534:
 crontab:x:101:
 Debian-exim:x:102:
-bar:x:1043:foo
+bar:x:1043:

Modified: debian/trunk/tests/newusers/18_create_user_gid-already-used/data/passwd
===================================================================
--- debian/trunk/tests/newusers/18_create_user_gid-already-used/data/passwd	2008-03-09 00:20:48 UTC (rev 1898)
+++ debian/trunk/tests/newusers/18_create_user_gid-already-used/data/passwd	2008-03-09 01:59:59 UTC (rev 1899)
@@ -18,4 +18,4 @@
 nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
 Debian-exim:x:102:102::/var/spool/exim4:/bin/false
 bar:x:1042:1043::/:/bin/false
-foo:x:65535:1043:User Foo - Gecos Field::/bin/sh
+foo:x:1043:1043:User Foo - Gecos Field::/bin/sh




More information about the Pkg-shadow-commits mailing list