diff options
author | David-John Willis <John.Willis@Distant-earth.com> | 2009-11-18 14:01:30 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-11-24 11:08:35 +0100 |
commit | 7ed998436c39ff922f285fd73d87f0336973218f (patch) | |
tree | 5f34acd1d0939de090bc5a0cb804229b2ff666cb /recipes/pam/libpam-base-files/pam.d/common-password | |
parent | afa230474855aa110c5b32492dcf8d2cdc1c07e9 (diff) |
libpam-base-files: Start to add default config files for libpam
* This will start to get Linux-PAM into a usable state. Default config files derived from Debian with tweaks. Some are not needed and will be dropped later and some should really be packaged elsewhere.
* Also update libpam_1.0.2 to depend on this package and the meta package with auth systems as it is not a lot of use without them (it works but can't do anything).
* Add 1.1.0 and tweaks to 1.0.2.
* Update all the pam.d base config files to support the suggested upstream layout not patches legacy layouts used but some Linux distros.
* Use the proper include layouts
* Still package some 'suggested' files for common services that do not pack there own pam.d files (TODO: move these to the package recipies not this one).
Diffstat (limited to 'recipes/pam/libpam-base-files/pam.d/common-password')
-rw-r--r-- | recipes/pam/libpam-base-files/pam.d/common-password | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes/pam/libpam-base-files/pam.d/common-password b/recipes/pam/libpam-base-files/pam.d/common-password new file mode 100644 index 0000000000..bc98f199b9 --- /dev/null +++ b/recipes/pam/libpam-base-files/pam.d/common-password @@ -0,0 +1,27 @@ +# +# /etc/pam.d/common-password - password-related modules common to all services +# +# This file is included from other service-specific PAM config files, +# and should contain a list of modules that define the services to be +# used to change user passwords. The default is pam_unix. + +# Explanation of pam_unix options: +# +# The "sha512" option enables salted SHA512 passwords. Without this option, +# the default is Unix crypt. Prior releases used the option "md5". +# +# The "obscure" option replaces the old `OBSCURE_CHECKS_ENAB' option in +# login.defs. +# +# See the pam_unix manpage for other options. + +# here are the per-package modules (the "Primary" block) +password [success=1 default=ignore] pam_unix.so obscure sha512 +# here's the fallback if no module succeeds +password requisite pam_deny.so +# prime the stack with a positive return value if there isn't one already; +# this avoids us returning an error just because nothing sets a success code +# since the modules above will each just jump around +password required pam_permit.so +# and here are more per-package modules (the "Additional" block) +password optional pam_gnome_keyring.so |