Invalid User when changing password

sahostking

Well-Known Member
May 15, 2012
403
29
78
Cape Town, South Africa
cPanel Access Level
Root Administrator
Twitter
Trying to change password for an account through WHM and receive the following errors:

Password for username has been changed
Updating ftp passwords for username
Ftp password files updated.
Ftp vhost passwords synced
Invalid user

Password does not change at all it seems.

Also I see this in cpanel error logs:
Code:
[2013-08-26 18:52:38 +0200] warn [cpwrap] Cpanel::Wrap::send_cpwrapd_request subprocess exited with status 22: namespace=[Cpanel] module=[cpmysql] function=[UPDATEDBOWNER]: set error in context : raw_response=[{"mode":"simple","action":"run","timeout":0,"statusmsg":"Ran adminbin Cpanel/cpmysql/UPDATEDBOWNER","version":"2.3","status":1,"error":1,"exit_code":5632,"data":"Invalid user \nusername\n"}] at Cpanel/Wrap.pm line 123
	Cpanel::Wrap::send_cpwrapd_request('namespace', 'Cpanel', 'module', 'cpmysql', 'function', 'UPDATEDBOWNER', 'data', '', 'env', HASH(0x2480460)) called at bin/cpwrap line 113
	bin::cpwrap::script('bin::cpwrap', 'cpmysql', 'UPDATEDBOWNER') called at bin/cpwrap line 71
[2013-08-26 18:52:38 +0200] warn [cpwrap] Cpanel::Wrap::send_cpwrapd_request error: namespace=[Cpanel] module=[cpmysql] function=[UPDATEDBOWNER]: set error in context : statusmsg=[Ran adminbin Cpanel/cpmysql/UPDATEDBOWNER] at Cpanel/Wrap.pm line 128
	Cpanel::Wrap::send_cpwrapd_request('namespace', 'Cpanel', 'module', 'cpmysql', 'function', 'UPDATEDBOWNER', 'data', '', 'env', HASH(0x2480460)) called at bin/cpwrap line 113
	bin::cpwrap::script('bin::cpwrap', 'cpmysql', 'UPDATEDBOWNER') called at bin/cpwrap line 71
 
Last edited:

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
From the below log entry, it appears the username contains a leading \n. How is the username being supplied to the change password function? Are you performing a copy-and-paste?

Code:
2013-08-26 18:52:38 +0200] warn [cpwrap] Cpanel::Wrap::send_cpwrapd_request subprocess exited with status 22: namespace=[Cpanel] module=[cpmysql] function=[UPDATEDBOWNER]: set error in context : raw_response=[{"mode":"simple","action":"run","timeout":0,"statusmsg":"Ran adminbin Cpanel/cpmysql/UPDATEDBOWNER","version":"2.3","status":1,"error":1,"exit_code":5632,"data":"Invalid user \nusername\n"}] at Cpanel/Wrap.pm line 123