chuleta_pam_ldap
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| chuleta_pam_ldap [2020/08/05 13:16] – etfiat | chuleta_pam_ldap [2020/08/05 13:24] (current) – etfiat | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Módulo pam-ldap ====== | ====== Módulo pam-ldap ====== | ||
| + | < | ||
| + | # cat organización.ldif | ||
| + | dn: dc=unizar, | ||
| + | objectClass: | ||
| + | objectClass: | ||
| + | objectClass: | ||
| + | o: unizar.es | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | # cat sysdamin.ldif | ||
| + | dn: ou=sysadmin, | ||
| + | objectClass: | ||
| + | objectClass: | ||
| + | ou: sysadmin | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | # cat admin.ldif | ||
| + | dn: cn=admin, | ||
| + | changetype: add | ||
| + | objectClass: | ||
| + | objectClass: | ||
| + | cn: admin | ||
| + | description: | ||
| + | userPassword: | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | # cat alta_admin_fiat.ldif | ||
| + | #ldapadd -x -D " | ||
| + | dn: uid=etfiat, | ||
| + | uid: Eduardo | ||
| + | cn: Fiat | ||
| + | givenName: Eduardo | ||
| + | sn: Fiat | ||
| + | objectClass: | ||
| + | objectClass: | ||
| + | # | ||
| + | userPassword: | ||
| + | loginShell: /bin/bash | ||
| + | uidNumber: 517959 | ||
| + | gidNumber: 0 | ||
| + | homeDirectory: | ||
| + | gecos: EF | ||
| + | mail: etfiat@unizar.es | ||
| + | #mailHost: relay2.unizar.es | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | # cat cambio_pass.ldif | ||
| + | #ldapmodify -x -D " | ||
| + | # comando para generar pasword slappasswd | ||
| + | dn: uid=etfiat, | ||
| + | changetype: | ||
| + | replace: userPassword | ||
| + | # | ||
| + | # | ||
| + | userPassword: | ||
| + | </ | ||
| < | < | ||
chuleta_pam_ldap.1596633366.txt.gz · Last modified: by etfiat
