FTP Problems after moving account

bert

Well-Known Member
Aug 21, 2001
593
0
316
Nick or anyone. This is very weird. I moved an account with the WHM's move account feature, after moving the account to the new server the client could not login via FTP. I checked /etc/proftpd/user file and saw that the first line read &bpanel& instead of &cpanel& as shown:

user:CCCCCSSSSSVVV:31234:515:sonic:/home/user:/usr/local/bpanel/bin/noshell

The client was complaining that he could not login via FTP, so I changed &bpanel& above for &cpanel& and he then was able to login. It turns out that after 3 days the same thing happened. I had to change it again, and it is now happening every 2 or 3 days on its own.

Why is this file changing and what is overwriting it? I have checked its permissions and everything appears to be normal.

This is definetely a CPanel/WHM bug, but I am not sure how to address it.

Thanks for your help.
 

bert

Well-Known Member
Aug 21, 2001
593
0
316
Nick please, let me know what is going on with this. How can I fix it and if this is a problem with the account move feature!

Thanks.
 
B

bdraco

Guest
I just did a source tree search for the word 'bpanel' and came up with no matches ..do you somehow have bpanel in /etc/passwd somewhere ?
 

bert

Well-Known Member
Aug 21, 2001
593
0
316
Nope. There is nothing called bpanel on the server. This is very weird. I created this account about 4 weeks ago on one server, I then moved it to this new server and all of the suden, this customer could not login, so I went into the /etc/proftpd/user file and saw that it had &bpanel& in it, fixed it, checked the permissions and then he opened another ticket, went in there again and the same thing. This is actually happening on a daily basis now. I am going to recreate the entire account to get rid of this problem.
 
B

bdraco

Guest
[quote:03dda55d66][i:03dda55d66]Originally posted by bert[/i:03dda55d66]

Nope. There is nothing called bpanel on the server. This is very weird. I created this account about 4 weeks ago on one server, I then moved it to this new server and all of the suden, this customer could not login, so I went into the /etc/proftpd/user file and saw that it had &bpanel& in it, fixed it, checked the permissions and then he opened another ticket, went in there again and the same thing. This is actually happening on a daily basis now. I am going to recreate the entire account to get rid of this problem.[/quote:03dda55d66]

What does

grep bpanel /etc/passwd

return?
 
B

bdraco

Guest
[quote:5e6d887952][i:5e6d887952]Originally posted by bert[/i:5e6d887952]

Nothing at all:


[email protected] [~]# grep bpanel /etc/passwd
[email protected] [~]#
[/quote:5e6d887952]

Send me off the login info to the server to [email protected]

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

mQGiBDsVczwRBAC0JkiC27CWUSCAjSM3Xwqjax+xg+Z4oqIFZhMZXRaEDQl1HZHs
9rzZpD9iAeuxABiBKPCslnUPHxvpEADJij1sOn23Hupq55EQ/1Z1mViVRrsJar0j
PFp2wnm266AOjSB9Bz6Z8nNfwS65BwU2W9Mtb5megkI1obP6LChnlfOKtwCgvsc6
77pTpAE1Klho2+2Bn6IP488D/jPnKhU+lKWfG75eiygt7SCxKLxBOuEygW2QFXAd
YEX0zRmG/0rQ/2pCYC+MZORSiOc73SIVWSkkZ7lxPGXe64pBjg0Dx+wd+Rc4yg/W
OQb/LW8wH6HG/zPXP27Bz8V4uOS7TUxN8GIFEJzfV1lmTkEZCdbkRUI9mlf0iHCV
jQWhA/96B142qMVhgK5iF02wG/2z4AmsBO05XN4Wo6m3INkkDIPKKECe1Snj6SPP
2QuR1V606iESU9TtfHiVOskdO1iUxZhbUsehqdcLk1uRMYvA0ub0+UNxBBX7eMGv
Oww2knmKCa6A5586sWLKTlhMD548tsPFr7bFs6tya2aegBEzy7QoSi4gTmljayBL
b3N0b24gKGJkcmFjbykgPG5pY2tAYnVyc3QubmV0PohXBBMRAgAXBQI7FXM8BQsH
CgMEAxUDAgMWAgECF4AACgkQT5huNxcQLWBs8wCfUR6uMOc9fv9J/Rvj6kHIWlP5
81sAoKRu5FfOfseZhHwr1kmo9kgULYyduQINBDsVc1UQCADNmrnLtBMnxDpSVLxN
Gq9wnQmoNAzcVPNMr8IgarG3i4hVjyr050U0D7rYSKiA3VjIefiK8ltYTHIVNnYp
LcxawmlsiXn4Jkw2uXV8f/cjswLecfAfZa7OtgKwdyAasDS/5TMCRwsUcpHNYBWk
TsTikXRgLzm9AWRNQHdTf3Se86s+py64/C7yHCeQou89eaKOHajO0Oe7zM6qxqcA
lhLiB5J1FJTo5rBQQFe3vfbN6NQDhT9mnoNjvyrF0L9gIo8Nub+ELTVXDpqwuAwi
1OIHd9YUlRz4c+f0f6i5ou0sznYKtn3Z5su30osZaXyeY0nezMNXlVWl7TADjohw
7JC/AAMHB/0cSwfkgOxyuvJ2H9+8GBLI9nEQVAHc0UZgm7E6iVrpxfe8ranYijZe
c5l8LgwWnJEzOeljlRByEVpO/f19TxCd3eV9Ecd1SFbMcLptd+hkyXmG0t+EnddT
0xHLZgsRTyIN6feiv4XV1TyNq4K+gTuO5gxqny6yW0rKKe0RWQFGT8sA8hLw622Y
+Hmh1WNu6Nm7FYLIlhJFvDQtSgkGnY1wHUa1qggZMUu1jARLvDc1aPxTfaC3Q7gl
Qzx51F+ckyIWhzsdKHsPuUsxAXUQ3+vNO/p35atbY60NqSFxSxi5lrq9yYwnzzyQ
uEauS0HjDErG1z5FopYLDwO6xKCP4IdxiEYEGBECAAYFAjsVc1UACgkQT5huNxcQ
LWDOPACgvB5PKu1IFZhYh3oDwVF2CpPrbdUAoJI1ROLTaJYfx+VIHe5XQzCDUPlW
=HhYf
-----END PGP PUBLIC KEY BLOCK-----


My php key is above
 

bert

Well-Known Member
Aug 21, 2001
593
0
316
Nick,

This user was driving me crazy so I went ahead and recreated his account. The problem has dissapeared after doing that, but let me know if you still would like to look at it and I will send you the login info.

Thanks :)