fix: allow chsh in dev image (#9191)

This commit is contained in:
Kyle Carberry 2023-08-18 11:15:05 -05:00 committed by GitHub
parent 9725ec0713
commit c93782aba6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -153,6 +153,12 @@
session required pam_unix.so
''
)
# This allows users to chsh.
(
pkgs.writeTextDir "etc/pam.d/chsh" ''
auth sufficient pam_rootok.so
''
)
# The default Nix config!
(
pkgs.writeTextDir "etc/nix/nix.conf" ''