![]() |
|
|
|||||||
| For more information about the ads and why they're here, please see the FAQ |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
hi everybody, I'm new in this forum, and looking for a "change password patch" for roundcube & vhcs2 i found the oslad patch that is not compatible at all with vhcs2 panel, then i did a little retouch on this.
Steps to use the oslad patch with vhcs2 panel Step 1 install the oslad patch http://roundcubeforum.net/forum/index.php?topic=42.0 Step 2 Replace the original passwd.inc file with this one http://www.daniel.rosiles.com.mx/wp-...tch/passwd.inc be sure the new passwd.inc file have the same user permissions than old passwd.inc file Step 3 Open phpMyAdmin in your browser (should be http://yourdomain.tld/pma) Open the query window (icon at the upper left corner) select the vhcs2 database and paste the following querys. Important!!: Change ***PASSWORD*** to the password the new user should have. Code:
GRANT USAGE ON vhcs2.* TO 'vhcs2-mail-user'@'localhost' IDENTIFIED BY '***PASSWORD***' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 ; GRANT SELECT ( `domain_id` , `domain_name` ) ON `vhcs2`.`domain` TO 'vhcs2-mail-user'@'localhost'; GRANT SELECT ( `mail_acc` , `domain_id` ), UPDATE ( `mail_pass` , `status` ) ON `vhcs2`.`mail_users` TO 'vhcs2-mail-user'@'localhost'; Step 4 we need to edit "main.inc.php roundcube config file" and add the follow lines Code:
$rcmail_config[ââ¬â¢vhcs2_hostââ¬â¢] = ââ¬Ålocalhostââ¬Â; $rcmail_config[ââ¬â¢vhcs2_dbââ¬â¢] = ââ¬Åvhcs2″; //your vhcs2 database $rcmail_config[ââ¬â¢vhcs2_userââ¬â¢] = ââ¬Åvhcs2-mail-userââ¬Â; //your new mysql user $rcmail_config[ââ¬â¢vhcs2_passwdââ¬â¢] = ââ¬Åpassââ¬Â; //pass for your new user $rcmail_config[ââ¬â¢pwd_lengthââ¬â¢] = 6; //minimum password length ![]() note: *** I did this steps on VHCSî Pro v2.4.7.1 panel with Roundcube-0.1beta2; Linux dist debian etch amd64 on testing server by the way one... excuse my english ![]() by the way two... thanks for your patch oslad ![]() |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
| For more information about the ads and why they're here, please see the FAQ |