How to set Security Policy in Plesk through CLI

November 21, 2023 / Plesk

This article explains how to set security policy in Plesk through CLI.

Follow the steps-

  1. Execute the following command to configure minimum password strength. Use the server_pref command-Plesk bin server_pref -u -min_password_strength medium
  2. Some additional options are as follows-
    very_weak
    weak
    medium
    strong
    very_strong
  3. Execute the following command to configure the FTPS usage policy. Use the ftp-over-ssl flog-
    plesk bin server_pref -u -ftp-over-ssl enabled
  4. Some additional options-
    1. disabled (Permit only non-secure FTP connections. Do not use FTPS)
    2. enabled (Permit both secure FTPS and non-secure FTP connections)
    3. required (Permit only secure FTPS connections)

That is it! Hope you grasped everything well. For any assistance, do contact our support staff.

 

 

Dominos Search