diff options
author | des <des@FreeBSD.org> | 2003-06-14 12:35:05 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2003-06-14 12:35:05 +0000 |
commit | 41880f4325c1ada9ca9b90c192214e3b617a952a (patch) | |
tree | 9026a3839960c66a52053f40f835331b2fae44a8 /etc/pam.d/system | |
parent | 5d547700c7e7b30e33408a56bae0fc1f1a22915d (diff) | |
download | FreeBSD-src-41880f4325c1ada9ca9b90c192214e3b617a952a.zip FreeBSD-src-41880f4325c1ada9ca9b90c192214e3b617a952a.tar.gz |
Add a system policy, and have the login and su policies include it rather
than duplicate it. This requires OpenPAM Dianthus, which was committed two
weeks ago; installing these files on a system running a world older than
June 1st, 2003 will cause login(1) and su(1) to fail.
Diffstat (limited to 'etc/pam.d/system')
-rw-r--r-- | etc/pam.d/system | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/etc/pam.d/system b/etc/pam.d/system new file mode 100644 index 0000000..c2f4d8b --- /dev/null +++ b/etc/pam.d/system @@ -0,0 +1,25 @@ +# +# $FreeBSD$ +# +# System-wide defaults +# + +# auth +auth sufficient pam_opie.so no_warn no_fake_prompts +auth requisite pam_opieaccess.so no_warn allow_local +#auth sufficient pam_krb5.so no_warn try_first_pass +#auth sufficient pam_ssh.so no_warn try_first_pass +auth required pam_unix.so no_warn try_first_pass nullok + +# account +#account required pam_krb5.so +account required pam_login_access.so +account required pam_unix.so + +# session +#session optional pam_ssh.so +session required pam_lastlog.so no_fail + +# password +#password sufficient pam_krb5.so no_warn try_first_pass +password required pam_unix.so no_warn try_first_pass |