What limits are set in Plesk for username/password?

Follow

Comments

9 comments

  • Avatar
    JUSTIN BUCKLEY

    Can these limits be changed at a system level? Particularly in linux?

    0
    Comment actions Permalink
  • Avatar
    Pavel Rozental

    Hi, this limits are hard-coded in Plesk and can not be changed on any level.

    0
    Comment actions Permalink
  • Avatar
    Anthony

    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

    0
    Comment actions Permalink
  • Avatar
    Maxim Krasikov

    Hello @Anthony,

    There was a typo in the article.
    System user name length in Plesk Onyx is 32 symbols.

    0
    Comment actions Permalink
  • Avatar
    Anthony

    Hello Maxim,

    Interesting, the API throws an error if an FTP account login is longer than 15 characters. Windows 2016 latest plesk build.

    0
    Comment actions Permalink
  • Avatar
    Julian Bonpland Mignaquy

    Hi @Anthony, have you checked the Local Security Policy in Windows?

    I recommend opening a ticket with us so we can troubleshoot the issue.

    0
    Comment actions Permalink
  • Avatar
    Anthony

    Hello @Julian,

      Maximum Account name length is not configurable via Policy.

    0
    Comment actions Permalink
  • Avatar
    Julian Bonpland Mignaquy

    @Anthony, please open a support ticket with us so we can investigate the logs https://support.plesk.com/hc/en-us/articles/360034192854

    0
    Comment actions Permalink
  • Avatar
    Jan Reilink

    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:

    '/^\w[\-\w\.]{0,19}$/'
    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request