Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eduGAIN Access Check - Account manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
edugain
eduGAIN Access Check - Account manager
Commits
7795fbb2
Commit
7795fbb2
authored
7 years ago
by
Guillaume ROUSSE
Browse files
Options
Downloads
Patches
Plain Diff
update install instructions
parent
126329a2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+38
-2
38 additions, 2 deletions
README.md
with
38 additions
and
2 deletions
README.md
+
38
−
2
View file @
7795fbb2
...
...
@@ -36,15 +36,51 @@ A database has to be created, and its schema populated. For instance, with Maria
```
$> mysqladmin create -u root -p access_check
Enter password:
$> mysql -u root -p acc
ess_check < conf/access-check
.sql
$> mysql -u root -p acc
ount_manager < conf/account_manager
.sql
Enter password:
$> mysql -u root -p mysql
Enter password:
MariaDB [mysql]> grant all privileges on acc
ess_check.* to access_check
@localhost identified by 's3cr3t';
MariaDB [mysql]> grant all privileges on acc
ount_manager.* to account_manager
@localhost identified by 's3cr3t';
Query OK, 0 rows affected (0.00 sec)
MariaDB [mysql]> quit
```
The web server has to be configured to map access to the CGI script. For instance, with Apache:
```
Alias /account-manager /usr/local/share/account-managerk/www
<Directory /usr/local/share/account-manager/www>
Require all granted
Options ExecCGI
DirectoryIndex account-manager.cgi
AddHandler cgi-script .cgi
</Directory>
```
Additional directories have to be created for logs and data, with write permission for the web server:
```
$> sudo mkdir /var/log/account-manager
$> sudo mkdir /var/lib/account-manager
$> sudo chown apache.apache /var/log/account-manager
$> sudo chown apache.apache /var/lib/account-manager
```
The application has to be properly configured, using the installed
```manager.conf```
file.
A cron task has to be set for downloading federation metadata. For instance:
```
# download eduGAIN metadata hourly
01 * * * * root curl --silent http://mds.edugain.org/ -o /var/lib/account-manager/edugain.xml
```
Another cron task has to be set for purging expired tokens and accounts. For instance:
```
# purge expired tokens hourly
01 * * * * root /usr/local/bin/account-manager.pl list_tokens --expired --delete > /dev/null
# purge expired accounts daily
02 0 * * * root /usr/local/bin/account-manager.pl list_accounts --expired --delete > /dev/null
```
##Identity Provider
The identity provider is actually
[
simpleSAMLphp
](
https://simplesamlphp.org/
)
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment