Home > Php Error > Php Error Password Plugin Unable To Execute Sudo

Php Error Password Plugin Unable To Execute Sudo

Log in or register to post comments #27 Mon, 04/29/2013 - 05:37 joao.monteiro Hello, I'm running Virtualmin on a Ubuntu 12.04.1 LTS Box, and I'm getting PHP Error: Password plugin: Unable thank you A.L.E.C thanks you all users I just look at the code http://trac.roundcube.net/browser/trunk/plugins/password/drivers/sasl.phpto integrate easily into roundcube it is simply necessary to modify the code web-chpass and the executable c I put the echo on virtualmin.php and checking what value passed to.Found username is keith-abc.com and nothing on domain value. Log in or register to post comments #4 Sat, 03/27/2010 - 15:43 jonkristian From roundcube i get: Could not save new password In the error log of roundcube i see this: this content

Make sure you change the exec() line in virtualmin.php or if you are adding a new line, comment out the old one. How about buying me a cup of coffee ($5) as an encouragement? 11 Reply by jobu 2015-05-26 19:23:49 jobu Member Offline Registered: 2011-08-01 Posts: 48 Re: Changing users password in roundcube Normally this is: enterprise/control/agent.php. 2.21. Where i have to change to take my domain and not localhost?

See config.inc.php.dist file for configuration description. 2.14. Defaults:www-data targetpw, timestamp_timeout=0 www-data ALL=(%emailusers) /usr/bin/passwd- valeriani 24.10.2012 Hallo ;-) That should be put in your sudo configuration file, i.e. /etc/sudoers I hope that halps- wili 31.10.2012 I don't know if Subscribe to our mailing list so that you won't miss announcements, updates, bug fixes of iRedMail. [ Closed ] Changing users password in roundcube leeds to Authentication failed iRedMail →iRedMail Support The username format is "[email protected]".

How about buying me a cup of coffee ($5) as an encouragement? 7 Reply by jobu 2015-05-26 14:46:22 jobu Member Offline Registered: 2011-08-01 Posts: 48 Re: Changing users password in roundcube thanks Keith Log in or register to post comments #13 Tue, 09/25/2012 - 10:12 andreychek I do not currently know what the problem is... Copyright © 2003–2009 PunBB. Reload to refresh your session.

Roundcube also installed to server and worked fine this username format. Logged pjnb Newbie Posts: 2 Re: Password plugin error (chpasswd) « Reply #10 on: January 14, 2015, 12:25:13 AM » Solution:modify sudoers, use visudo, only add:apache ALL=NOPASSWD: /usr/sbin/chpasswdDefaults:apache !requirettydon't change any how to write in this code _______________________________________________ List info: http://lists.roundcube.net/dev/ « Return to Development | 1 view|%1 views Loading... Clicking Here And final result to execute with command is "chgvirtualminpasswd modify-user --domain --user keith-abc.com --pass 123456"; assuming the command should be "chgvirtualminpasswd modify-user --domain abc.com --user keith --pass 123456"; Therefore someone caused

LDAP - no PEAR (ldap_simple) ----------------------------------- It's rewritten ldap driver that doesn't require the Net_LDAP2 PEAR extension. If you run it from php or as web user from shell, you get permission denied. Firstly, let's go to the plugins/password directory (your path will be different): cd ~username/public_html/webmail/plugins/password
cp config.inc.php.dist config.inc.php
vi config.inc.php We need to change the password driver to virtualmin (hit See existing drivers in drivers/ directory for examples. 4.

For the virtualmin format, I choose 8 or 0. https://www.virtualmin.com/node/23427 Thank you to andreychek. Unfortunately, this scheme requires that the "saslpasswd" utility be run as the "cyrus" user - kind of a security problem since we have chosen to SUID a small script which will It show below error on log.

Can I just rename the chgvirtualminpasswd.c into chgvirtualminpasswd? (maybe a stupid question as I am not familiar with running gcc) Log in or register to post comments #25 Wed, 04/17/2013 - news This is a lot easier than what RC is making it out to be. See http://www.squirrelmail.org/plugin_view.php?id=107 for details. Vpopmail daemon (vpopmaild) ----------------------------------- Driver for the daemon of vpopmail.

May 10, 2016: iRedMail-0.9.5-1 has been released. Poppassd/Courierpassd (poppassd) ------------------------------------- You can specify which host to connect to via 'password_pop_host' and what port via 'password_pop_port'. See the GNU General Public License for more details. http://setiweb.org/php-error/php-error-password-plugin-unable-to-execute.php The plugin prolly does that already $cmd = "/usr/bin/sudo -S -u ".escapeshellarg($username)." /usr/bin/passwd"; $errlogfile = "/tmp/sudopasswd_log.log"; // Change this to something specific to your installation $descriptorSpec = array( 0 => array("pipe",

I tested the command "./chgvirtualminpasswd modify-user --domain $domain --user $username --pass $newpass" on console. Jump to Line Go Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. XMail (xmail) ----------------------------------- Driver for XMail (www.xmailserver.org).

Sudo setup ------------- Some drivers that execute system commands (like chpasswd) require use of sudo command.

Log in or register to post comments #11 Mon, 09/24/2012 - 00:25 (Reply to #10) keith Thanks for follow and help,below is a error log when I change the password : That suggests you may have missed a step in the documentation you linked to :-) I'd suggest going over those steps again, and making sure they're all complete. can you provide me the correct ladpsearch query ? You have: chpasswd which requires you to give your httpd process a tool that can change anyone's password without requiring them to authenticate, and PECL PAM driver which asks for read

Also i gave root permisions to user apache in sudoers without success.... Comments 15.10.2012 hallo, I cannot find where i must write this, can you halp me? # Allow www-data to run passwd as the target user with the password of the target Basically, you have the default password plugin in "plugins/password", but its backends that change passwords of local users are dangerously insecure. check my blog For access to hMail server on remote host you'll need to define 'hmailserver_remote_dcom' and 'hmailserver_server'.