aboutsummaryrefslogtreecommitdiffstats
path: root/community/ssh-ldap-pubkey/ssh-ldap-pubkey.post-install
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-11-05 01:53:38 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-11-05 01:53:38 +0100
commitdcdefcde36671f28ac71824389456c97ac72be89 (patch)
tree31264f1090d3c0156e65b7b9dbaf4c34d4fe40f4 /community/ssh-ldap-pubkey/ssh-ldap-pubkey.post-install
parented6530ce6bbac6ed61b8d6b840ab49e90072f202 (diff)
downloadaports-dcdefcde36671f28ac71824389456c97ac72be89.tar.bz2
aports-dcdefcde36671f28ac71824389456c97ac72be89.tar.xz
community/ssh-ldap-pubkey: move from testing
Diffstat (limited to 'community/ssh-ldap-pubkey/ssh-ldap-pubkey.post-install')
-rw-r--r--community/ssh-ldap-pubkey/ssh-ldap-pubkey.post-install13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/ssh-ldap-pubkey/ssh-ldap-pubkey.post-install b/community/ssh-ldap-pubkey/ssh-ldap-pubkey.post-install
new file mode 100644
index 0000000000..904cd813f5
--- /dev/null
+++ b/community/ssh-ldap-pubkey/ssh-ldap-pubkey.post-install
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+cat >&2 <<EOF
+*
+* Adjust LDAP settings in /etc/ssh-ldap-pubkey.conf.
+*
+* If you want OpenSSH server to look up users' public keys in LDAP,
+* add the following lines to /etc/ssh/sshd_config and reload sshd:
+*
+* AuthorizedKeysCommand /usr/bin/ssh-ldap-pubkey-wrapper
+* AuthorizedKeysCommandUser nobody
+*
+EOF