Skip to content

Commit c93782a

Browse files
authored
fix: allow chsh in dev image (#9191)
1 parent 9725ec0 commit c93782a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

flake.nix

+6
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,12 @@
153153
session required pam_unix.so
154154
''
155155
)
156+
# This allows users to chsh.
157+
(
158+
pkgs.writeTextDir "etc/pam.d/chsh" ''
159+
auth sufficient pam_rootok.so
160+
''
161+
)
156162
# The default Nix config!
157163
(
158164
pkgs.writeTextDir "etc/nix/nix.conf" ''

0 commit comments

Comments
 (0)