QuestionHow to set Security Policy in Plesk via CLI?
AnswerTo 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:
plesk bin server_pref -u [color=brown]-ftp-over-ssl[/color] 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)