CPanel, FTP, WHM, password issues

dcrouch

Active Member
PartnerNOC
Oct 11, 2004
35
0
156
For some reason on multiple servers we are unable to login via CPanel, FTP, and WHM. During one case root was denied, and restarting cpanel seemed to fix this for the root account; however, a select few accounts still are unable to login. We have attempted to change the password multiple times to fix this issue, but are still where we have started.
 

richy

Well-Known Member
Jun 30, 2003
274
1
168
Does the contents of /etc/shadow "look ok" (i.e. all lines look similiar)?
 

dcrouch

Active Member
PartnerNOC
Oct 11, 2004
35
0
156
About 5% of the accounts look like this
(account name masked with few other changes) d%#$$##n:$1$R38mhslx$K4vCFB7/hc.jdaputbSFC.:12922::::::

the rest look like this
(account name and number changed) mawbsa10:!!:19982::::::

A few values were masked to protect users. Any suggestions?
 

richy

Well-Known Member
Jun 30, 2003
274
1
168
You've got corruption in that file, you may want to try changing the passwords of the "blank password" users (the long "$1$R38mhslx$K4vCFB7/hc.jdaputbSFC" type string is the encrypted password - so those users are "OK") or restoring that file from backup. If changing the password won't work, you may notice that the file is "severly corrupted" in that Linux can't find the appropriate markers in the file - if you check where the passwords go from "being in the file" to "being blank", you should still a very odd line indeed. If you remove/fix that very odd line, things should start working (I would still recommend restoring from a backup of that file if possible).
 

susheel

Registered
Mar 7, 2005
3
0
151
Cpanel Logging problems

Hi,
I am facing a problem while logging to 2083. I can create a domain using web host manager on 2087, but when i try logging to cpanel at 2083 with the created domainuserid and password, i am unable to do so. I can log in to FTP though. Please suggest what could be the issue?

Awaiting,

Susheel