1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
From: Jérémy Bobbio <lunar@debian.org>
Date: Mon, 20 Jun 2011 15:04:24 +0200
Subject: Specify Debian path and group names in password plugin
Forwarded: not-needed
---
plugins/password/README | 11 +++++++----
plugins/password/helpers/chgsaslpasswd.c | 2 +-
plugins/password/helpers/chgvirtualminpasswd.c | 2 +-
3 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/plugins/password/README b/plugins/password/README
index 106d9d4..bbaf8be 100644
--- a/plugins/password/README
+++ b/plugins/password/README
@@ -154,7 +154,8 @@
Installation:
- Change into the helpers directory. Edit the chgsaslpasswd.c file as is
+ Change into the helpers directory. Copy and edit
+ /usr/share/roundcube-plugins/examples/chgsaslpasswd.c as is
documented within it.
Compile the wrapper program:
@@ -226,7 +227,8 @@
------------------------------
As in sasl driver this one allows to change password using shell
- utility called "virtualmin". See helpers/chgvirtualminpasswd.c for
+ utility called "virtualmin". See
+ /usr/share/doc/roundcube-plugins/examples/chgvirtualminpasswd.c for
installation instructions. Requires virtualmin >= 4.09.
@@ -251,8 +253,9 @@
Driver that adds functionality to change the systems user password via
the 'chpasswd' command. See config.inc.php.dist file.
- Attached wrapper script (helpers/chpass-wrapper.py) restricts password changes
- to uids >= 1000 and can deny requests based on a blacklist.
+ Attached wrapper script
+ (/usr/share/doc/roundcube-plugins/examples/chpass-wrapper.py) restricts
+ password changes to uids >= 1000 and can deny requests based on a blacklist.
2.1.12. LDAP - no PEAR (ldap_simple)
diff --git a/plugins/password/helpers/chgsaslpasswd.c b/plugins/password/helpers/chgsaslpasswd.c
index bcdcb2e..2c3bbf9 100644
--- a/plugins/password/helpers/chgsaslpasswd.c
+++ b/plugins/password/helpers/chgsaslpasswd.c
@@ -8,7 +8,7 @@
/* INSTALLING:
gcc -o chgsaslpasswd chgsaslpasswd.c
- chown cyrus.apache chgsaslpasswd
+ chown cyrus:www-data chgsaslpasswd
strip chgsaslpasswd
chmod 4550 chgsaslpasswd
*/
diff --git a/plugins/password/helpers/chgvirtualminpasswd.c b/plugins/password/helpers/chgvirtualminpasswd.c
index 4e2299c..12989c6 100644
--- a/plugins/password/helpers/chgvirtualminpasswd.c
+++ b/plugins/password/helpers/chgvirtualminpasswd.c
@@ -7,7 +7,7 @@
/* INSTALLING:
gcc -o chgvirtualminpasswd chgvirtualminpasswd.c
- chown root.apache chgvirtualminpasswd
+ chown root:www-data chgvirtualminpasswd
strip chgvirtualminpasswd
chmod 4550 chgvirtualminpasswd
*/
|