From c56c1948a92ee5b1ac283a7b2f3e39ee8e57a14d Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 14 Nov 2018 14:55:26 -0500 Subject: [PATCH] Add confluent pam to packaging This enables PAM passwords to work by default, rather than requiring user to perform more configuration. --- confluent_server/MANIFEST.in | 1 + confluent_server/pam/confluent | 1 + confluent_server/setup.py.tmpl | 1 + 3 files changed, 3 insertions(+) create mode 120000 confluent_server/pam/confluent diff --git a/confluent_server/MANIFEST.in b/confluent_server/MANIFEST.in index 45c8d31b..b71e0998 100644 --- a/confluent_server/MANIFEST.in +++ b/confluent_server/MANIFEST.in @@ -1,3 +1,4 @@ +include pam/* include sysvinit/* include systemd/* include sysctl/* diff --git a/confluent_server/pam/confluent b/confluent_server/pam/confluent new file mode 120000 index 00000000..fc9a7f75 --- /dev/null +++ b/confluent_server/pam/confluent @@ -0,0 +1 @@ +/etc/pam.d/sshd \ No newline at end of file diff --git a/confluent_server/setup.py.tmpl b/confluent_server/setup.py.tmpl index f638f45d..3e33ad62 100644 --- a/confluent_server/setup.py.tmpl +++ b/confluent_server/setup.py.tmpl @@ -22,6 +22,7 @@ setup( 'pyghmi>=1.0.44'], scripts=['bin/confluent', 'bin/confluentdbutil', 'bin/collective'], data_files=[('/etc/init.d', ['sysvinit/confluent']), + ('/etc/pam.d/', ['pam/confluent']), ('/usr/lib/sysctl.d', ['sysctl/confluent.conf']), ('/usr/lib/systemd/system', ['systemd/confluent.service']), ('/opt/confluent/lib/python/confluent/plugins/console/', [])],