Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
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
Christopher Ng
OpenLDAP
Commits
c41d0eaf
Commit
c41d0eaf
authored
20 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Add some chroot clarifications.
parent
4e06e2d4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/man/man8/slapd.8
+18
-9
18 additions, 9 deletions
doc/man/man8/slapd.8
with
18 additions
and
9 deletions
doc/man/man8/slapd.8
+
18
−
9
View file @
c41d0eaf
...
...
@@ -155,28 +155,37 @@ which applies to add, delete, modify and modrdn), and execute operations
to anonymous users.
.TP
.BI \-r " directory"
Specifies a
chroot "jail"
directory. slapd will
.BR chdir (2)
Specifies a
directory to become the root
directory. slapd will
change the current working directory to this directory and
then
.BR chroot (2)
to this directory after opening listeners but before reading
any configuration file or initializing any backend.
to this directory. This is done after opening listeners but before
reading any configuration file or initializing any backend. When
used as a security mechanism, it should be used in conjunction with
.B -u
and
.B -g
options.
.TP
.BI \-u " user"
.B slapd
will run slapd with the specified user name or id, and that user's
supplementary group access list as set with initgroups(3). The group ID
is also changed to this user's gid, unless the -g option is used to
override.
.TP
.BI \-g " group"
.B slapd
will run with the specified group name or id.
override. Note when used with
.BR -r ,
slapd will use the user database in the change root environment.
.LP
Note that on some systems, running as a non-privileged user will prevent
passwd back-ends from accessing the encrypted passwords. Note also that
any shell back-ends will run as the specified non-privileged user.
.TP
.BI \-g " group"
.B slapd
will run with the specified group name or id. Note when used with
.BR -r ,
slapd will use the group database in the change root environment.
.TP
.BI \-c " cookie"
This option provides a cookie for the syncrepl replication consumer.
The cookie is a comma separated list of name=value pairs.
...
...
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