change_username.sh problems (not working)

paulonichio

Verified User
Joined
Jul 8, 2019
Messages
15
Hi;

I'm trying to change an account's username by following the tutorial: https://help.directadmin.com/item.php?id=193

But, I am getting the following error message:

[root@server ~]# cd /usr/local/directadmin/scripts
[root@server scripts]# ./change_username.sh carlos1 carlos2
./change_username.sh: line 531: unexpected EOF while looking for matching `"'
./change_username.sh: line 553: syntax error: unexpected end of file
[root@server scripts]#


In the past, it worked perfectly, today not anymore.

Were there any changes to this script?

Thanks!
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
5,254
Location
Maastricht
The problem was solved by executing the tutorial commands.
Which tutorial exactly? Because the correct one you pointed to gave an error you said.
The one smtalk is pointing to is the wrong one, because that's for changing lid and uid.

So which command exactly fixed it?
 

paulonichio

Verified User
Joined
Jul 8, 2019
Messages
15
Which tutorial exactly? Because the correct one you pointed to gave an error you said.
The one smtalk is pointing to is the wrong one, because that's for changing lid and uid.

So which command exactly fixed it?
I followed the tutorial https://help.directadmin.com/item.php?id=29 forcing DirectAdmin to update manually.

After executing the initial 7 lines of the tutorial, the script change_username.sh worked correctly.
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
5,254
Location
Maastricht
Oh you did a DA binairies update. And after that the change_username.sh script worked again. That clears things up.
Thank you.
 
Top