BuycPanel Blog

BuycPanel Blog

Latest news and updates

How to Resolve Problems with Misconfigured Usernames

Posted by Allura on 01 07 2019.

Introduction
At times, a user comes across an invalid, reserved, or misconfigured username. There are certain restrictions in creating Usernames even. This document will demonstrate the ways of dealing with the problem of misconfigured Usernames.Resolve Problems
User has to run this following command to deal with invalid, reserved, or restricted usernames or aliases. He has to run this command as the root user for renaming the account:whmapi1 modifyacct user=username newuser=newusernameHere, username refers to the current (restricted) Username, and newusername refers to the new Username that will be used for the new or renamed account.Remove Username Aliases
In case a user desires to remove the reserved aliases from the /etc/aliases and /etc/localaliases files, he is allowed to do that.Misconfigured Usernames
Misconfigured Usernames can be defined as those Usernames with no valid information, existing in an incomplete state. User can run this following command as the root user in order to fix such misconfigured Usernames:/usr/local/cpanel/scripts/updateuserdomains –forceConclusion
All…

Introduction

At times, a user comes across an invalid, reserved, or misconfigured username. There are certain restrictions in creating Usernames even. This document will demonstrate the ways of dealing with the problem of misconfigured Usernames.

Resolve Problems

User has to run this following command to deal with invalid, reserved, or restricted usernames or aliases. He has to run this command as the root user for renaming the account:

whmapi1 modifyacct user=username newuser=newusername

Here, username refers to the current (restricted) Username, and newusername refers to the new Username that will be used for the new or renamed account.

Remove Username Aliases

In case a user desires to remove the reserved aliases from the /etc/aliases and /etc/localaliases files, he is allowed to do that.

Misconfigured Usernames

Misconfigured Usernames can be defined as those Usernames with no valid information, existing in an incomplete state. User can run this following command as the root user in order to fix such misconfigured Usernames:

/usr/local/cpanel/scripts/updateuserdomains –force

Conclusion

All information on how to resolve the issue of misconfigured Usernames is outlined in this review.