Skip to content

Commit

Permalink
hotfix(sessionbroker): add PAM configurationn
Browse files Browse the repository at this point in the history
  • Loading branch information
unstabler committed Jul 24, 2022
1 parent 5354c61 commit ac92095
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -310,3 +310,5 @@ Dependencies/
**/xcshareddata/WorkspaceSettings.xcsettings

# End of https://www.toptal.com/developers/gitignore/api/macos,objective-c,swift,appcode,xcode,c++

!pam.d/
Expand Down
12 changes: 12 additions & 0 deletions sessionbroker/pam.d/ulalaca-sessionbroker
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# ulalaca-sessionbroker: auth account password session
# based on Apple's sshd PAM configuration
auth optional pam_krb5.so use_kcminit
auth optional pam_ntlm.so try_first_pass
auth optional pam_mount.so try_first_pass
auth required pam_opendirectory.so try_first_pass
account required pam_nologin.so
account required pam_sacl.so sacl_service=ssh
account required pam_opendirectory.so
password required pam_opendirectory.so
session required pam_launchd.so
session optional pam_mount.so

0 comments on commit ac92095

Please sign in to comment.