| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-10-28 | users: create users with home directory `/var/empty` by default | Michael Hoang | |
| 2024-10-28 | users: replace FDA check with more fine grained permissions check | Michael Hoang | |
| 2024-10-27 | users: allow `shell` to be managed by macOS | Michael Hoang | |
| 2024-10-27 | users: change default shell to `/usr/bin/false` to match macOS | Michael Hoang | |
| 2024-10-27 | users: allow `home` to be managed by macOS | Michael Hoang | |
| 2024-10-27 | users: update properties on known users | Michael Hoang | |
| 2024-10-27 | tests: fix old test getting messed up in refactor | Michael Hoang | |
| https://github.com/LnL7/nix-darwin/commit/2788e4fa981566e34fa40938705cd7f595f05e74#diff-0642dcb4e551dcf07032904ee7f6b7ea645db36939f159908ccb2b85a2bbd1b8L53 | |||
| 2024-10-27 | tests: fix negative asserts with `grep` not working | Michael Hoang | |
| Using `grep -v` without `-z` will return 0 even if there is a match found as all the non-matching lines will be matched. Instead of using `grep -vqz`, `(! grep ...)` is more readable. The brackets are necessary as `! grep` will not trigger `set -e`[0], so we run it inside a subshell to use its non-zero exit code. [0]: https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#The-Set-Builtin | |||
| 2024-10-23 | users: ensure Full Disk Access is granted before trying to delete users | Michael Hoang | |
| 2024-10-22 | users: use `lib.escapeShellArg` for group description | Michael Hoang | |
| 2024-10-22 | users: use `lib.escapeShellArg` for `createhomedir` | Michael Hoang | |
| 2024-10-22 | users: use `lib.escapeShellArg` for `dscl` paths | Michael Hoang | |
| 2024-10-22 | users: use `lib.escapeShellArgs` instead of custom version | Michael Hoang | |
| 2024-10-22 | users: use `lib.escapeShellArgs` for `sysadminctl -addUser` | Michael Hoang | |
| 2024-10-22 | users: use `lib.escapeShellArg` for `sysadminctl -deleteUser` | Michael Hoang | |
| 2024-10-22 | Use `sysadminctl` instead of `dscl` | Andrew Lubawy | |
| Co-authored-by: Michael Hoang <enzime@users.noreply.github.com> | |||
| 2024-09-10 | tests/users-groups: update for `lib.escapeShellArg` change | Emily | |
| 2024-01-20 | fix: set shell for new users, and only known ones | Hraban Luyat | |
| 2019-02-24 | users: gate the creation with an option, false by default and use createhomedir | Wael M. Nasreddine | |
| 2018-01-16 | users: test isHidden = false; | Daiderd Jordan | |
| 2018-01-14 | users: add test for group membership | Daiderd Jordan | |
| 2018-01-13 | users: update test for user creation/deletion | Daiderd Jordan | |
| 2018-01-13 | users: add test for group creation/deletion | Daiderd Jordan | |
