Skip to content

Commit

Permalink
Merge pull request #12491 from 89luca89/fix/linux_pam_configs
Browse files Browse the repository at this point in the history
  • Loading branch information
jonjohnsonjr authored Feb 7, 2024
2 parents a0d9ab7 + 522ef60 commit a24f873
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 0 deletions.
4 changes: 4 additions & 0 deletions util-linux/base-account.pamd
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# basic PAM configuration for Wolfi.

account required pam_unix.so
account required pam_nologin.so
5 changes: 5 additions & 0 deletions util-linux/base-auth.pamd
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# basic PAM configuration for Wolfi.

auth required pam_unix.so nullok
auth required pam_nologin.so
auth required pam_env.so
3 changes: 3 additions & 0 deletions util-linux/base-password.pamd
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# basic PAM configuration for Wolfi.

password required pam_unix.so nullok sha512 shadow
5 changes: 5 additions & 0 deletions util-linux/base-session-noninteractive.pamd
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# basic PAM configuration for Wolfi.

session required pam_env.so
session required pam_limits.so
session required pam_unix.so
3 changes: 3 additions & 0 deletions util-linux/base-session.pamd
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# basic PAM configuration for Wolfi.

session include base-session-noninteractive
6 changes: 6 additions & 0 deletions util-linux/other.pamd
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#%PAM-1.0
# default config for any service don't specified
auth include base-auth
account include base-account
password include base-password
session include base-session-noninteractive
6 changes: 6 additions & 0 deletions util-linux/su-l.pamd
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# basic PAM configuration for Wolfi.
auth sufficient pam_rootok.so
auth include base-auth
account include base-account
password include base-password
session include base-session
6 changes: 6 additions & 0 deletions util-linux/su.pamd
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# basic PAM configuration for Wolfi.
auth sufficient pam_rootok.so
auth include base-auth
account include base-account
password include base-password
session include base-session

0 comments on commit a24f873

Please sign in to comment.