mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-31 04:04:45 +00:00
bootstrap: remove -shell flag for sysadminctl
Fixes creation of build users on 10.11
This commit is contained in:
parent
30ae060482
commit
4c6d8dc3a6
1 changed files with 0 additions and 1 deletions
|
@ -102,7 +102,6 @@ create_daemon_users(){
|
||||||
echo -e "Creating user: "$YELLOW"nixbld${i}"$ESC"..."
|
echo -e "Creating user: "$YELLOW"nixbld${i}"$ESC"..."
|
||||||
sudo /usr/sbin/sysadminctl -fullName "Nix build user $i" \
|
sudo /usr/sbin/sysadminctl -fullName "Nix build user $i" \
|
||||||
-home /var/empty \
|
-home /var/empty \
|
||||||
-shell /sbin/nologin \
|
|
||||||
-UID $(expr 30000 + $i) \
|
-UID $(expr 30000 + $i) \
|
||||||
-addUser nixbld$i >&2 \
|
-addUser nixbld$i >&2 \
|
||||||
|| exit_message "Problem creating user: nixbld${i}"
|
|| exit_message "Problem creating user: nixbld${i}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue