After changing a username the name mentioned in the right corner of the mainscreen is still wrong

David Victor

Verified User
Joined
Nov 6, 2019
Messages
20
I have changed a username using the /usr/local/directadmin/scripts/change_username.sh script, and everything worked out nicely except that the username in the top right part of the screen - "Hello, [name]" is still wrong.
I've tried pinpointing the location of the file where this is saved but to no avail. I suppose this is probably saved in the database somewhere? Is there anyone who knows in which table I should look in order to alter it?
Or perhaps there's someone who knows of an easier way to solve this?

Kind regards,

David
 
Hello David.

Maybe it will change during the tally or some maintenance cronjob.
However you can always have a look in the /usr/local/directadmin/data/users/username/user.conf to see if the username= statement in there points to the correct username.
 
Hi Richard,

You are spot on! I checked the
Bash:
/usr/local/directadmin/data/users/username/user.conf
and there it was: the elusive name I needed to change! Thanks a bunch!
 
Thanks a bunch!
You're welcome.
However, now I'm curious if this is a bug in a new DA version or if this would later be changed in the tally.
I have used this script in juli or august and did not encounter this issue. So I hope that cron is running on your system and DA does not have a new bug. :)
 
Back
Top