change_username.sh to check max_username_length

Version 1.41

Bugfix
Finished

The change_username.sh did not respect the directadmin.conf setting: max_username_length so if you change a username to a value longer than this setting, you'd run into issues within DA where the User wouldn't show up or work correctly. Fix runs "./directadmin c" to check the current limit and compares the length of the new user string.

Interested to try DirectAdmin? Get a 30-day Free Trial!