From beb5bc650559db7771a78e57cecbe6c4fccbd4aa Mon Sep 17 00:00:00 2001 From: alec Date: Wed, 7 Mar 2012 09:48:33 +0000 Subject: - Added pw_usermod driver (#1487826) - Added option password_login_exceptions (#1487826) git-svn-id: https://svn.roundcube.net/trunk@5973 208e9e7b-5314-0410-a742-e7e81cd9613c --- plugins/password/config.inc.php.dist | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'plugins/password/config.inc.php.dist') diff --git a/plugins/password/config.inc.php.dist b/plugins/password/config.inc.php.dist index 313e47fda..689c4de26 100644 --- a/plugins/password/config.inc.php.dist +++ b/plugins/password/config.inc.php.dist @@ -21,6 +21,10 @@ $rcmail_config['password_require_nonalpha'] = false; // Enables logging of password changes into logs/password $rcmail_config['password_log'] = false; +// Comma-separated list of login exceptions for which password change +// will be not available (no Password tab in Settings) +$rcmail_config['password_login_exceptions'] = null; + // SQL Driver options // ------------------ @@ -305,3 +309,11 @@ $rcmail_config['hmailserver_server'] = array( // 6: username_domain // 7: domain_username $rcmail_config['password_virtualmin_format'] = 0; + + +// pw_usermod Driver options +// -------------------------- +// Use comma delimited exlist to disable password change for users +// Add the following line to visudo to tighten security: +// www ALL=NOPASSWORD: /usr/sbin/pw +$rcmail_config['password_pw_usermod_cmd'] = 'sudo /usr/sbin/pw usermod -h 0 -n'; -- cgit v1.2.3