1 Description: specify Debian path and group names in password plugin
3 Author: Jérémy Bobbio <lunar@debian.org>
5 diff --git a/plugins/password/README b/plugins/password/README
6 index 81e4f1e..bdb8264 100644
7 --- a/plugins/password/README
8 +++ b/plugins/password/README
13 - Change into the drivers directory. Edit the chgsaslpasswd.c file as is
14 + Change into the drivers directory. Copy and edit
15 + /usr/share/roundcube-plugins/examples/chgsaslpasswd.c as is
18 Compile the wrapper program:
20 ----------------------------
22 As in sasl driver this one allows to change password using shell
23 - utility called "virtualmin". See drivers/chgvirtualminpasswd.c for
24 + utility called "virtualmin". See
25 + /usr/share/doc/roundcube-plugins/examples/chgvirtualminpasswd.c for
26 installation instructions. See also config.inc.php.dist file.
30 Driver that adds functionality to change the systems user password via
31 the 'chpasswd' command. See config.inc.php.dist file.
33 - Attached wrapper script (chpass-wrapper.py) restricts password changes
34 - to uids >= 1000 and can deny requests based on a blacklist.
35 + Attached wrapper script
36 + (/usr/share/doc/roundcube-plugins/examples/chpass-wrapper.py) restricts
37 + password changes to uids >= 1000 and can deny requests based on a blacklist.
40 2.12. LDAP - no PEAR (ldap_simple)
41 diff --git a/plugins/password/drivers/chgsaslpasswd.c b/plugins/password/drivers/chgsaslpasswd.c
42 index bcdcb2e..2c3bbf9 100644
43 --- a/plugins/password/drivers/chgsaslpasswd.c
44 +++ b/plugins/password/drivers/chgsaslpasswd.c
48 gcc -o chgsaslpasswd chgsaslpasswd.c
49 - chown cyrus.apache chgsaslpasswd
50 + chown cyrus:www-data chgsaslpasswd
52 chmod 4550 chgsaslpasswd
54 diff --git a/plugins/password/drivers/chgvirtualminpasswd.c b/plugins/password/drivers/chgvirtualminpasswd.c
55 index 4e2299c..12989c6 100644
56 --- a/plugins/password/drivers/chgvirtualminpasswd.c
57 +++ b/plugins/password/drivers/chgvirtualminpasswd.c
61 gcc -o chgvirtualminpasswd chgvirtualminpasswd.c
62 - chown root.apache chgvirtualminpasswd
63 + chown root:www-data chgvirtualminpasswd
64 strip chgvirtualminpasswd
65 chmod 4550 chgvirtualminpasswd