Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
caosdb
Software
caosdb-server
Commits
82c97ff7
Commit
82c97ff7
authored
6 years ago
by
Daniel
Browse files
Options
Downloads
Patches
Plain Diff
DOC: Better PAM tool building documentation.
For
#20
.
parent
38e328b0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README_SETUP.md
+19
-1
19 additions, 1 deletion
README_SETUP.md
misc/pam_authentication/README.md
+3
-17
3 additions, 17 deletions
misc/pam_authentication/README.md
with
22 additions
and
18 deletions
README_SETUP.md
+
19
−
1
View file @
82c97ff7
...
...
@@ -9,13 +9,14 @@
*
>=Make 3.81
*
>=Screen 4.01
*
>=MySQL 5.5 (better >=5.6) or >=MariaDB 10.1
*
libpam (if PAM authentication is required)
*
unzip
### Install the requirements on Debian
On Debian, the required packages can be installed with:
apt-get install git make mariadb-server maven openjdk-8-jdk-headless \
python3-pip screen unzip
python3-pip screen
libpam0g-dev
unzip
Note that installing MariaDB will uninstall existing MySQL packages and vice
versa.
...
...
@@ -34,6 +35,23 @@ versa.
-
Then configure and compile it according to its
[
documentation
](
caosdb-webui/README_SETUP.md
)
.
### PAM ###
Authentication via PAM is possible, for this the PAM development library must be
installed and the pam user tool must be compiled:
-
`cd misc/pam_authentication/`
-
`make`
-
If you want, you can run a test now:
`./pam_authentication.sh asdf ghjk`
should print
`[FAILED]`
and return with a non-zero exit code. Unless there is
a user
`asdf`
with password
`ghjk`
on your system, of course.
#### Troubleshooting ####
If
`make`
fails with
`pam_authentication.c:4:31: fatal error:
security/pam_appl.h: No such file or directory`
the header files are probably
not installed. You can do so under Debian and Ubuntu with
`apt-get install
libpam0g-dev`
. Then try again.
# First Setup
After a fresh clone of the repository, this is what you need to setup the
...
...
This diff is collapsed.
Click to expand it.
misc/pam_authentication/README.md
+
3
−
17
View file @
82c97ff7
# Requirements
-
pam development files: In Debian install with
`apt-get install libpam0g-dev`
.
# Documentation for pam has moved #
# Install
`$ make`
## Troubleshooting
*
If
`make`
fails with
`pam_authentication.c:4:31: fatal error:
security/pam_appl.h: No such file or directory`
the header files are probably
not installed. You can do so under Debian and Ubuntu with
`apt-get install
libpam0g-dev`
. Then try again.
# Run Tests
`$ pam_authentication.sh asdf asdf`
should print
`[FAILED]`
and return with a
non-zero exit code.
Please look at the main
[
`README_SETUP.md`
](
file:../../README_SETUP.md
)
for
installation help.
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