summaryrefslogtreecommitdiffstats
path: root/README.adoc
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2024-06-06 20:24:08 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2024-06-06 20:24:08 +0200
commit4b642834e01b0cf512c23666a1f959810d5cbe6e (patch)
tree4b51cbd8cf8c503e6bcf3ce33ae0f6be135bcda0 /README.adoc
parentlisten on custom network (ex. unix socket) (diff)
downloadpamldapd-4b642834e01b0cf512c23666a1f959810d5cbe6e.tar
pamldapd-4b642834e01b0cf512c23666a1f959810d5cbe6e.tar.gz
pamldapd-4b642834e01b0cf512c23666a1f959810d5cbe6e.tar.bz2
pamldapd-4b642834e01b0cf512c23666a1f959810d5cbe6e.tar.lz
pamldapd-4b642834e01b0cf512c23666a1f959810d5cbe6e.tar.xz
pamldapd-4b642834e01b0cf512c23666a1f959810d5cbe6e.tar.zst
pamldapd-4b642834e01b0cf512c23666a1f959810d5cbe6e.zip
Diffstat (limited to 'README.adoc')
-rw-r--r--README.adoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.adoc b/README.adoc
index d5ba33d..efd59d3 100644
--- a/README.adoc
+++ b/README.adoc
@@ -63,7 +63,7 @@ Example Configuration:
`listen` ::
Listen IP address and port like `0.0.0.0:0000`
-You may optionally listen on a UNIX socket by setting the JSON configuration key "network" to "unix" and "listen" to "/path/to/your.sock". You may actually listen on any network that is supported by https://pkg.go.dev/net#Listen
+You may optionally listen on a UNIX socket by setting the JSON configuration key "network" to "unix" and "listen" to "/path/to/your.sock". You may actually listen on any network that is supported by https://pkg.go.dev/net#Listen -- When you're listening on a UNIX socket, you can use the setgid bit of the directory that will contain your socket file. This way, the socket file will preserve the group ownership of the directory. You can also set the umask to decide who can connect to your socket and who can't. Just make sure that you create the logfile beforehand so that the logfile has different (perhaps more strict) permissions.
`pamservicename` ::
PAM authentication requires service-name like `login`, `su`. You can choose existing service or create a new. Existing service can be seen typing `ls /etc/pam.d/`