• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Change password via browser

R

redcarrot

Guest
Hi

I'm using Atmail (www.atmail.com) as a drop in replacement for horde.

I'd like to write a password change script so that customers do not need to log in to Horde or the Plesk control panel in order to change their email passwords.

I have found the user passwords in MySQL > psa > accounts, but if I change these passwords it appears to have no effect.

Are the passwords also stored somewhere else? Or do I need to restart Plesk, or something?

Charlotte
 
All passwords really stored in mysql_database:
#/usr/bin/mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa

Get all mailnames with their passwords that belong to domain.tld:

>SELECT d.name, m.mail_name, a.password FROM domains d, accounts a, mail m WHERE d.id=m.dom_id AND m.account_id=a.id AND d.name='domain.tld';

Get domain.tld domain level user password:

SELECT d.name, a.password FROM domains d, dom_level_usrs du, accounts a WHERE d.id=du.dom_id AND du.account_id=a.id AND d.name='domain.tld';


Also I do not recommend you changing them in database!!!!

There are special utilities to perform it (in case you want to write scripts):

/usr/local/psa/bin/domain --help
/usr/local/psa/bin/mail --help
 
Back
Top