admin:services:nss
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes | ||
admin:nss [2013/07/25 12:28] – [Configuration] l'URI localhost ne marche pas avec TLS et la vérification de certificats bertrand.bonnefoy-claudet | admin:services:nss [2020/03/17 00:18] – toadjaune | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
[[: | [[: | ||
- | [[http:// | + | [[http:// |
===== Installation ===== | ===== Installation ===== | ||
- | | + | |
Lors de la configuration, | Lors de la configuration, | ||
Ligne 20: | Ligne 20: | ||
getent passwd | getent passwd | ||
+ | | ||
+ | ===== sudo ===== | ||
+ | |||
+ | Pour que sudo continue à marcher avec l' | ||
+ | |||
+ | sudoers: | ||
+ | | ||
+ | À FedeRez, on utilise le groupe '' | ||
+ | |||
+ | %sudoldap ALL=(ALL: | ||
+ | | ||
+ | |||
+ | ==== SSH ==== | ||
+ | |||
+ | A la fin de sshd_config, | ||
+ | |||
+ | | ||
+ | |||
+ | ===== PAM ===== | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | |||
+ | ==== Home directories ==== | ||
+ | |||
+ | Ajouter la ligne suivante à la fin de ''/ | ||
+ | |||
+ | session required pam_mkhomedir.so skel=/ | ||
| | ||
===== Liens ===== | ===== Liens ===== | ||
- | * Wiki Debian : http:// | + | * Wiki Debian : http:// |
===== Configuration ===== | ===== Configuration ===== | ||
- | <file conf /etc/nsswich.conf> | + | <file conf /etc/nsswitch.conf> |
passwd: | passwd: | ||
group: | group: | ||
Ligne 44: | Ligne 72: | ||
sudoers: | sudoers: | ||
- | |||
</ | </ | ||
Ligne 63: | Ligne 90: | ||
base dc=federez, | base dc=federez, | ||
- | base passwd | + | base passwd |
- | base shadow | + | base shadow |
base group ou=posix, | base group ou=posix, | ||
Ligne 72: | Ligne 99: | ||
# The DN to bind with for normal lookups. | # The DN to bind with for normal lookups. | ||
binddn cn=nssauth, | binddn cn=nssauth, | ||
- | bindpw | + | bindpw |
- | # The DN used for password modifications by root. | ||
- | rootpwmoddn cn=nssroot, | ||
- | rootpwmodpw secret | ||
# SSL options | # SSL options | ||
Ligne 86: | Ligne 110: | ||
#scope sub | #scope sub | ||
- | # FedeRez-specific mapping and filters | ||
- | filter passwd (objectClass=netFederezUser) | ||
- | map passwd uid netFederezUID | ||
- | filter shadow (objectClass=netFederezUser) | ||
- | map shadow uid netFederezUID | ||
- | filter group (objectClass=posixGroup) | ||
</ | </ |
admin/services/nss.txt · Dernière modification : 2020/04/26 13:23 de klafyvel