diff options
Diffstat (limited to 'plugins/password/config.inc.php.dist')
| -rw-r--r-- | plugins/password/config.inc.php.dist | 12 |
1 files changed, 12 insertions, 0 deletions
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'; |
