1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-30 19:54:43 +00:00

bootstrap: remove -shell flag for sysadminctl

Fixes creation of build users on 10.11
This commit is contained in:
Daiderd Jordan 2017-06-03 10:56:24 +02:00
parent 30ae060482
commit 4c6d8dc3a6
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -102,7 +102,6 @@ create_daemon_users(){
echo -e "Creating user: "$YELLOW"nixbld${i}"$ESC"..."
sudo /usr/sbin/sysadminctl -fullName "Nix build user $i" \
-home /var/empty \
-shell /sbin/nologin \
-UID $(expr 30000 + $i) \
-addUser nixbld$i >&2 \
|| exit_message "Problem creating user: nixbld${i}"