* Make sure that nogroup exists.
svn path=/nixos/trunk/; revision=7469
This commit is contained in:
parent
444d6b7583
commit
07db057cbc
@ -55,6 +55,12 @@ if ! test -e /etc/passwd; then
|
||||
fi
|
||||
|
||||
|
||||
# Some more required accounts/groups.
|
||||
if ! getent group nogroup > /dev/null; then
|
||||
groupadd -g 65534 nogroup
|
||||
fi
|
||||
|
||||
|
||||
# Set up Nix accounts.
|
||||
if test -z "@readOnlyRoot@"; then
|
||||
|
||||
@ -62,10 +68,6 @@ if test -z "@readOnlyRoot@"; then
|
||||
groupadd -g 30000 nixbld
|
||||
fi
|
||||
|
||||
if ! getent group nogroup > /dev/null; then
|
||||
groupadd -g 65534 nogroup
|
||||
fi
|
||||
|
||||
for i in $(seq 1 10); do
|
||||
account=nixbld$i
|
||||
if ! getent passwd $account > /dev/null; then
|
||||
|
Loading…
Reference in New Issue
Block a user