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.
This commit is contained in:
@@ -39,4 +39,4 @@ users:x:100:
|
||||
nogroup:x:65534:
|
||||
crontab:x:101:
|
||||
Debian-exim:x:102:
|
||||
foo:x:65535:foo
|
||||
foo:x:1000:
|
||||
|
||||
@@ -39,3 +39,4 @@ users:*::
|
||||
nogroup:*::
|
||||
crontab:x::
|
||||
Debian-exim:x::
|
||||
foo:*::
|
||||
|
||||
@@ -17,4 +17,4 @@ irc:x:39:39:ircd:/var/run/ircd:/bin/sh
|
||||
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
|
||||
|
||||
@@ -39,4 +39,4 @@ users:x:100:
|
||||
nogroup:x:65534:
|
||||
crontab:x:101:
|
||||
Debian-exim:x:102:
|
||||
foo:x:65535:foo
|
||||
foo:x:4242:
|
||||
|
||||
@@ -39,3 +39,4 @@ users:*::
|
||||
nogroup:*::
|
||||
crontab:x::
|
||||
Debian-exim:x::
|
||||
foo:*::
|
||||
|
||||
@@ -17,4 +17,4 @@ irc:x:39:39:ircd:/var/run/ircd:/bin/sh
|
||||
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
|
||||
|
||||
@@ -39,4 +39,4 @@ users:x:100:
|
||||
nogroup:x:65534:
|
||||
crontab:x:101:
|
||||
Debian-exim:x:102:
|
||||
foo:x:4242:foo
|
||||
foo:x:4242:
|
||||
|
||||
@@ -39,3 +39,4 @@ users:*::
|
||||
nogroup:*::
|
||||
crontab:x::
|
||||
Debian-exim:x::
|
||||
foo:*::
|
||||
|
||||
@@ -17,4 +17,4 @@ irc:x:39:39:ircd:/var/run/ircd:/bin/sh
|
||||
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
|
||||
|
||||
@@ -39,4 +39,4 @@ users:x:100:
|
||||
nogroup:x:65534:
|
||||
crontab:x:101:
|
||||
Debian-exim:x:102:
|
||||
foo:x:4242:foo
|
||||
foo:x:4242:
|
||||
|
||||
@@ -39,3 +39,4 @@ users:*::
|
||||
nogroup:*::
|
||||
crontab:x::
|
||||
Debian-exim:x::
|
||||
foo:*::
|
||||
|
||||
@@ -39,4 +39,4 @@ users:x:100:
|
||||
nogroup:x:65534:
|
||||
crontab:x:101:
|
||||
Debian-exim:x:102:
|
||||
foo:x:4243:foo
|
||||
foo:x:4243:
|
||||
|
||||
@@ -39,3 +39,4 @@ users:*::
|
||||
nogroup:*::
|
||||
crontab:x::
|
||||
Debian-exim:x::
|
||||
foo:*::
|
||||
|
||||
@@ -40,4 +40,4 @@ nogroup:x:65534:
|
||||
crontab:x:101:
|
||||
Debian-exim:x:102:
|
||||
bar:x:1042:
|
||||
foo:x:65535:foo
|
||||
foo:x:1043:
|
||||
|
||||
@@ -40,3 +40,4 @@ nogroup:*::
|
||||
crontab:x::
|
||||
Debian-exim:x::
|
||||
bar:x::
|
||||
foo:*::
|
||||
|
||||
@@ -18,4 +18,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
|
||||
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
|
||||
|
||||
@@ -39,4 +39,4 @@ users:x:100:
|
||||
nogroup:x:65534:
|
||||
crontab:x:101:
|
||||
Debian-exim:x:102:
|
||||
bar:x:1043:foo
|
||||
bar:x:1043:
|
||||
|
||||
@@ -18,4 +18,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
|
||||
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
|
||||
|
||||
@@ -39,4 +39,4 @@ users:x:100:
|
||||
nogroup:x:65534:
|
||||
crontab:x:101:
|
||||
Debian-exim:x:102:
|
||||
foo:x:65535:foo
|
||||
foo:x:1000:
|
||||
|
||||
@@ -39,3 +39,4 @@ users:*::
|
||||
nogroup:*::
|
||||
crontab:x::
|
||||
Debian-exim:x::
|
||||
foo:*::
|
||||
|
||||
@@ -17,4 +17,4 @@ irc:x:39:39:ircd:/var/run/ircd:/bin/sh
|
||||
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
|
||||
|
||||
@@ -39,4 +39,4 @@ users:x:100:
|
||||
nogroup:x:65534:
|
||||
crontab:x:101:
|
||||
Debian-exim:x:102:
|
||||
foo:x:65535:foo
|
||||
foo:x:1000:
|
||||
|
||||
@@ -39,3 +39,4 @@ users:*::
|
||||
nogroup:*::
|
||||
crontab:x::
|
||||
Debian-exim:x::
|
||||
foo:*::
|
||||
|
||||
@@ -17,4 +17,4 @@ irc:x:39:39:ircd:/var/run/ircd:/bin/sh
|
||||
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
|
||||
|
||||
@@ -40,4 +40,4 @@ nogroup:x:65534:
|
||||
crontab:x:101:
|
||||
Debian-exim:x:102:
|
||||
bar:x:1042:
|
||||
foo:x:65535:foo
|
||||
foo:x:1043:
|
||||
|
||||
@@ -40,3 +40,4 @@ nogroup:*::
|
||||
crontab:x::
|
||||
Debian-exim:x::
|
||||
bar:x::
|
||||
foo:*::
|
||||
|
||||
@@ -18,4 +18,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
|
||||
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
|
||||
|
||||
@@ -39,4 +39,4 @@ users:x:100:
|
||||
nogroup:x:65534:
|
||||
crontab:x:101:
|
||||
Debian-exim:x:102:
|
||||
bar:x:1043:foo
|
||||
bar:x:1043:
|
||||
|
||||
@@ -18,4 +18,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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user