Authentication exploitation: Difference between revisions

From Essential
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
== Guide rapide ==
== Guide rapide ==
* Configurer '''[authentication.mail.cfg]'''
* Configurer [[#authentication.mail.cfg|authentication.mail.cfg]]
* Configurer '''[authentication.cfg]'''
* Configurer [[#authentication.cfg|authentication.cfg]]
* Lancer '''[authentication-update]''' avec le compte d exploitation
* Lancer [[#authentication-update|authentication-update]] avec le compte d exploitation


== Description ==
== Description ==

Revision as of 22:19, 8 December 2016

Guide rapide

Description

  • "authentication.mail.cfg" contient les mails de chaque groupe.
  • "authentication.cfg" contient les groupes pour chaque url.
  • "authentication-update" permet l envoi des mails et la mise à jour de l ensemble des serveurs.

Format des fichiers de configuration de l exploitation

authentication.mail.cfg

group;mail[,...][;expiredate]
  • group : nom du groupe
  • mail : mails du groupe séparés par des virgules

authentication.cfg

ApplicationID;URL;group[,...]
  • ApplicationID : nom de l application
  • URL : url complète avec au moins le dernier répertoire suivi d un "/"
  • group[,...] : noms des groupes séparés par des virgules

Pour information

  • ".htpasswd" sert au stockage des mots de passes cryptés. Ce fichier est alimenté en automatique.
  • "<Serveur_applicatif>:/etc/httpd/htpasswd/.<Répertoire uniquement alpha numérique de l appli>.htpasswd" sert au stockage des mots de passes pour chaque appli.

droits

drwx------	exploitation   ../<ScriptDir>/
-rw-------	exploitation   authentication.mail.cfg
-rw-------	exploitation   authentication.cfg
-rw-------	exploitation   .htpasswd
-r-x------	exploitation   authentication-update

cron

2 2 * * * cd &&. ./.bash_profile &&cd <ScriptDir> &&./authentication-update