diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-03-07 09:48:33 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-03-07 09:48:33 +0000 |
| commit | beb5bc650559db7771a78e57cecbe6c4fccbd4aa (patch) | |
| tree | 2b184cb35adfa92b034ad27291dfe0e12ffb7cad /plugins/password/config.inc.php.dist | |
| parent | f8d88136b727520db85925ce53b24aa5819ffb1e (diff) | |
- 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
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'; |
