|
@@ -11,7 +11,7 @@ Admins and 150 logs.
|
|
|
_To do_
|
|
|
|
|
|
## The authentication process
|
|
|
-In the main directory there is a folder named `auth` that contain the following files:
|
|
|
+In the script directory there is a folder named `auth` that contain the following files:
|
|
|
* UPDATE
|
|
|
* 150/
|
|
|
* GET
|
|
@@ -20,7 +20,12 @@ In the main directory there is a folder named `auth` that contain the following
|
|
|
* GET
|
|
|
* POST
|
|
|
|
|
|
-Every file contain the list of the euid of the users that can send and request logs and update the database. Now there is only the euid of the `log` account. If you want to add a new user, you have to add his euid in these files.
|
|
|
+Every file contains the list of the uid of the users that can send and request logs and update the database. If you want to add a new user, you have to add his uid in these files.
|
|
|
+
|
|
|
+### Manage the authentication process: lcmlog-auth-utils
|
|
|
+The script `lcmlog-auth-utils` can help to manage this authentication process. It offers two options:
|
|
|
+* authinit: called with the `-i` option, it makes the initialization of the auth folder structure.
|
|
|
+* authlookup: called with the `-l` option, show you who is now authorized using `getent`.
|
|
|
|
|
|
## The three methods
|
|
|
The first line is always the name of the method and can be only `GET`, `POST` or `UPDATE`.
|