• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Password Generate button in template "ch_pass_by_secret.php" (reset login password screen)

Hey

Plesk 17.5.3

By default, when an user wants to reset its panel user's password, it will be redirected to https://domain.tld:8443/ch_pass_by_secret.php?secret=abCxyZ at one point.

Since I've set the password security to very strong I found many users being unable to deal with the error message given in case the entered new password is not strong enough:
Error: Your password is not complex enough. According to the server policy, the minimal password strength is Very strong. To improve the password strength, use numbers, upper and lower-case characters, and special characters like !,@,#,$,%,^,&,*,?,_,~

The problems here are the facts that there is no mention of the minimum length of the password and also there is no "Generate" button present as it can be found in many other forms that require a password input by the user.

Even though the support page How does password strength policy work in Plesk? gives a good hint about how a password should be build in my eyes it is not suitable to required users to first of all read some docs about how the password policy in plesk works before they can login.

So I though about modifying ch_pass_by_secret.php (/opt/psa/admin/htdocs/ch_pass_by_secret.php) on my own, however this file is encoded - also I can not find any information about how to make a template change update-proof (not 100% sure this is the correct file but at least that's the one that gets called).

Giving an user voice/request certainly is an option but since I haven't found any related topic so far I'm afraid that the request will become on of these single-voice-requests. So, how could I achieve a "Generate" password button and a more meaningful error description?


Expected result may look somewhat like this:
2018-10-19_1606.png
 
OR I wonder if it’s possible to change the reset password link and implement our own script via API, or maybe integrate a Plesk password reset option inside of WHMCS or whatever billing model you’re using. Just throwing out ideas....

Edit to throw this out there; a certain host I work with only sends out credentials for WHMCS when a customer orders. They refer to it as the “main account login”, they then use API calls to login users to other services like Plesk. VERY few people actually noticed the reset password option on the Plesk login page as very few people actually would logout and see it.
 
Last edited:
There are two possible ways to resolve the issue:

  1. Specify more complex password by using the Generate button near the password field:
There are two possible ways to resolve the issue:

2.Reduce the password complexity:

  • via GUI (Graphical User Interface):

    Go to Plesk > Tools & Settings > Security Policy > Password strength and change the Minimum password strength value:

  • via CLI (Command Line Interface):
    1. Connect to the server via RDP.

    2. Open Command Prompt.

    3. Execute the following command:
 
from Change Log for Plesk:
23 October 2018
Plesk Onyx 17.9 Preview 7
* Improved the “Change Your Password” screen: password strength is now checked on the fly, plus users can now create a strong password with one click using the “Generate” button.


... is this what I think it is? :) any chance to get this update in earlier versions too as I'm stuck (yes, I know I'm saying that every time) with my multi server setup on v17.5.3


@zeeshan786, thanks but
1) that's the point, this button does not exist ;)
2) I don't want to reduce the password security - I just want users to be able more easily to reset their password by generating one
 
Back
Top