Plesk for Windows
Plesk for Linux
kb: how-to
how-to
ABT: Group B
Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
What limits are there in Plesk for username/password?
Answer
Usernames and passwords in Plesk are case-sensitive.
Username and password length have the following limits:
- Plesk user name length: from 1 to 255 symbols;
- Plesk user password length: from 5 to 255 symbols;
- System user name length: from 1 to 32 symbols;
- System user password length: from 5 to 255 symbols;
Character limitations are separate for different groups of users:
For Customers/Resellers:
- The first character is limited to alphanumeric characters.
- "" (Space) is prohibited.
- System user names on the OS (Linux "root" and Windows "Administrator") are also prohibited.
For additional users (added in Users > User accounts menu):
- The first character is limited to alphanumeric characters.
- Characters from all languages are allowed.
- Special sentences other than (& @.'+ -) are prohibited.
- System user names on the OS (Linux "root" and Windows "Administrator") are also prohibited.
Character limitations for system users are based on the target OS:
- For Linux, only lowercase English letters, numbers,
-
(dash), and.
(dot) are allowed. The first character is limited to letters. - For Windows, only English letters, numbers,
-
(dash),.
(dot),_
(underscore) are allowed. The first character is limited to alphanumeric symbols.
Character restrictions for passwords:
-
The string is limited to the first 126 ASCII characters.
-
"
" "
(quotation marks),"" ""
(double quotation marks) are prohibited. -
The password cannot include the user name.
Example: User: qwerty Password: 1@qwerty2$
The system user password restrictions are the same as the target OS, although they differ depending on the distribution.
These limits are hard-coded, which means they cannot be changed in Plesk configuration. Additionally, system limits have a higher priority than limits configured in Plesk.
Comments
9 comments
Can these limits be changed at a system level? Particularly in linux?
Hi, this limits are hard-coded in Plesk and can not be changed on any level.
These limits stink of old code and should be changed. There is no valid reason for a 16 character limit for a system username on any platform.
https://docs.microsoft.com/en-us/windows/win32/adschema/a-samaccountname
Hello @Anthony,
There was a typo in the article.
System user name length in Plesk Onyx is 32 symbols.
Hello Maxim,
Interesting, the API throws an error if an FTP account login is longer than 15 characters. Windows 2016 latest plesk build.
Hi @Anthony, have you checked the Local Security Policy in Windows?
I recommend opening a ticket with us so we can troubleshoot the issue.
Hello @Julian,
Maximum Account name length is not configurable via Policy.
@Anthony, please open a support ticket with us so we can investigate the logs https://support.plesk.com/hc/en-us/articles/360034192854
Had to delete my previous reply, sorry.
The `-login` parameter for subscription.exe is limited to 20 characters, and it uses the following regex to validate this:
Please sign in to leave a comment.