Question
How to set Security Policy in Plesk via CLI?
Answer
To configure Minimum password strength, you may use server_pref
command:
# plesk bin server_pref -u -min_password_strength medium
Additional options:
- very_weak
- weak
- medium
- strong
- very_strong
To configure FTPS usage policy, use ftp-over-ssl
flag:
MYSQL_LIN: plesk bin server_pref -u -ftp-over-ssl enabled
Additional options:
- disabled (Allow only non-secure FTP connections. Do not use FTPS)
- enabled Allow both secure FTPS and non-secure FTP connections
- required (Allow only secure FTPS connections)
Comments
0 comments
Please sign in to leave a comment.