16th October 2024

Want to vary a person password in Plesk through command line? This information has you lined! Bobcares, as part of our Plesk Internet hosting Help provides options to each question that comes our method.

Overview
  1. Learn how to Change a Consumer Password in Plesk through Command-Line?
  2. Learn how to Change a Admin Password in Plesk through Command-Line?
  3. Learn how to Change Different Consumer Passwords in Plesk through Command-Line?
  4. Key Concerns
  5. Conclusion

Learn how to Change a Consumer Password in Plesk through Command-Line?

With the Plesk website hosting management panel, customers can make the most of a graphical person interface (GUI) to handle their web sites, servers, and internet hosting companies. Administration of servers and webpages is made less complicated. Typically, we might have to vary account password in Plesk attributable to safety, compliance, mitigating breaches, or extra.

Relying on the working system (Home windows or Linux) and the sort of account we’re altering, we will use totally different instructions in Plesk to vary the password for a person account or a service (such the admin person). If we will’t entry the Plesk interface however have server entry, we will reset the password utilizing the command line. Right here’s how:
plesk change password command line

Learn how to Change a Admin Password in Plesk through Command-Line?

For Linux Servers

1. Initially, use an SSH consumer (e.g., PuTTY) and log in as the basis person.

2. Then, use the Plesk utility to replace the password:

plesk bin admin --set-password -passwd <new_password>

Change new_password with the brand new password.

3. We’ll see a message confirming the password change.

For Home windows Servers

1. Log into the Server through Distant Desktop:

2. Press Win + R, kind cmd, and press Enter.

3. Enter the next:

"%plesk_binpercentplesksrvclient" -set <new_password>

Change new_password with the brand new password.

4. A message will verify the password replace.

Learn how to Change Different Consumer Passwords in Plesk through Command-Line?

To vary different person passwords in Plesk, like FTP customers or buyer accounts:

For Linux Servers (Service or Buyer Account Passwords):

1. Log into the server through SSH as the basis person.

2. Change a buyer’s password utilizing this command:

plesk bin buyer --passwd <customer_name> -passwd <new_password>

Change customer_name with the client’s login identify and new_password with the brand new password.

3. Change an FTP account password with this command:

plesk bin website --update-ftp-password <domain_name> -login <ftp_user> -passwd <new_password>

Change domain_name with the area identify related to the FTP person, ftp_user with the FTP username, and new_password with the brand new password for the FTP account.

Key Concerns

1. We should confirm that the brand new password complies with any safety tips enforced by Plesk, together with these pertaining to minimal size, use of particular characters, and many others.

2. We are able to additionally use warning when utilizing command-line passwords which are in plaintext. If we enter necessary information, equivalent to passwords, it’s suggested to delete the data from the terminal.

3. Relying on the Plesk model and working system (Linux or Home windows), the exact instructions and choices might differ considerably. For additional data, we will at all times use the –assist choice when operating the plesk command.

[Need to know more? Get in touch with us if you have any further inquiries.]

Conclusion

In conclusion, altering passwords in Plesk through the command line is a sensible resolution once we can’t entry the Plesk interface however have server entry. The method varies barely relying on the server kind (Linux or Home windows) and the account kind (admin, FTP, or buyer accounts). Our Consultants additionally recommend to make sure that passwords meet safety necessities and deal with delicate data rigorously to take care of safety.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.