-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* CreateUser: retry dscl command if it gets SIGKILLed * AddUserToGroup: disambiguate between "group not found" and "user not found" * AddUserToGroup: handle case where user and group both already exist * fixup: bogus arg to dseditgroup This has always been wrong: -t recordtype The type of the record to be added to or deleted from the group specified by groupname. Valid values are user, computer, group, or computergroup. but I guess macOS just ignores / autodetects the correct type when provided with a bogus value. Validated by doing various operations with `-t jfkdlsjfkldasjl` and seeing no errors, but passing the "wrong type", i.e. `-t group` in this invocation, did error with "Record was not found". * SetupDefaultProfile: prevent post-build-hook from messing nix-env up ...if it's configured, we'll skip it for the nix-env invocations.
- Loading branch information
Showing
3 changed files
with
37 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters