-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
meson: add Debian-specific PAM file and use it when os_type is debian
In Debian and derivatives PAM uses different syntax, so add an alternative PAM config file, and install it instead of the default one if the os_type is debian. We have been using this PAM config in Debian and derivatives since pretty much forever.
- Loading branch information
Showing
2 changed files
with
23 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#%PAM-1.0 | ||
|
||
@include common-auth | ||
@include common-account | ||
@include common-password | ||
session required pam_env.so readenv=1 user_readenv=0 | ||
session required pam_env.so readenv=1 envfile=/etc/default/locale user_readenv=0 | ||
@include common-session-noninteractive |