Entwicklungsumgebung/Dateiliste/common-password: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(/etc/pam.d/common-password) |
(kat) |
||
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{ | |||
{{EditStatus|1|Schoffer}} | |||
Zeile 14: | Zeile 15: | ||
---- | ---- | ||
<source highlight=" | <source highlight="24-28" lang="text"> | ||
password | # | ||
# /etc/pam.d/common-password - password-related modules common to all services | |||
# | |||
password | # 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 "nullok" option allows users to change an empty password, else | |||
# empty passwords are treated as locked accounts. | |||
# | |||
# The "md5" option enables MD5 passwords. Without this option, the | |||
# default is Unix crypt. | |||
# | |||
# The "obscure" option replaces the old `OBSCURE_CHECKS_ENAB' option in | |||
# login.defs. | |||
# | |||
# You can also use the "min" option to enforce the length of the new | |||
# password. | |||
# | |||
# See the pam_unix manpage for other options. | |||
#password required pam_unix.so nullok obscure md5 | |||
password [success=1 default=ignore] pam_unix.so nullok obscure min=4 max=8 md5 | |||
password required pam_ldap.so try_first_pass | |||
#password required pam_smbpass.so nullok use_authok try_first_pass | |||
password required pam_permit.so | |||
# Alternate strength checking for password. Note that this | |||
# requires the libpam-cracklib package to be installed. | |||
# You will need to comment out the password line above and | |||
# uncomment the next two in order to use this. | |||
# (Replaces the `OBSCURE_CHECKS_ENAB', `CRACKLIB_DICTPATH') | |||
# | |||
# password required pam_cracklib.so retry=3 minlen=6 difok=3 | |||
# password required pam_unix.so use_authtok nullok md5 | |||
</source> | </source> | ||
Zeile 25: | Zeile 59: | ||
---- | ---- | ||
<div align="right">[[Entwicklungsumgebung/Dateiliste|zurück]] | [[Hauptseite]]</div> | <div align="right">[[Entwicklungsumgebung/Dateiliste|zurück]] | [[Hauptseite]]</div> | ||
[[Kategorie:DebianSqueeze]] |
Aktuelle Version vom 16. März 2012, 15:57 Uhr
Diese Seite ist momentan eine Baustelle im Zustand: 1
-
0
-
1
-
2
-
3
-
4
Wird bearbeitet von: Schoffer
Hilfe zum Bearbeitungsstatus: Hilfe:Status eines Artikels
/etc/pam.d/common-password
Achtung: Bitte achten Sie unbedingt darauf, beim Kopieren und Einfügen einen Editor mit UNIX-Zeilenumbrüchen zu verwenden!
Hinweis: Die im delixs-Schulserver geänderten Zeilen sind gelb unterlegt.
<source highlight="24-28" lang="text">
- /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 "nullok" option allows users to change an empty password, else
- empty passwords are treated as locked accounts.
- The "md5" option enables MD5 passwords. Without this option, the
- default is Unix crypt.
- The "obscure" option replaces the old `OBSCURE_CHECKS_ENAB' option in
- login.defs.
- You can also use the "min" option to enforce the length of the new
- password.
- See the pam_unix manpage for other options.
- password required pam_unix.so nullok obscure md5
password [success=1 default=ignore] pam_unix.so nullok obscure min=4 max=8 md5 password required pam_ldap.so try_first_pass
- password required pam_smbpass.so nullok use_authok try_first_pass
password required pam_permit.so
- Alternate strength checking for password. Note that this
- requires the libpam-cracklib package to be installed.
- You will need to comment out the password line above and
- uncomment the next two in order to use this.
- (Replaces the `OBSCURE_CHECKS_ENAB', `CRACKLIB_DICTPATH')
- password required pam_cracklib.so retry=3 minlen=6 difok=3
- password required pam_unix.so use_authtok nullok md5
</source>