Control Web Panel
WebPanel => CentOS 6 Problems => Topic started by: Samekas on December 06, 2015, 09:27:05 PM
-
Hello,
First of all let me say this panel is awesome, is a good alternative to cpanel.
After I installed CWP I can't login anymore via shh as root, it says login incorrect but I know the login is correct, can someone help me? Thank you!
-
you should check your sshd configuration, cwp by default is not making any changes in sshd configuration.
-
It has this, but still doesn't work, I can install packages via vnc but in terminal I can't logi with the sudo.
# Authentication:
#LoginGraceTime 2m
PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10
-
Hello.
Check your /var/log/security . SSH hasn't dependience the CWP.
-
Hello.
Check your /var/log/security . SSH hasn't dependience the CWP.
I got this
Dec 8 11:51:51 srv86 sshd[750]: User root not allowed because shell /bin/bash\r does not exist
Dec 8 11:51:51 srv86 sshd[751]: input_userauth_request: invalid user root
Edit:
I was able to solver the problem, it looks the the passwd file was on dos format after changing this file with a nom linux editor, so I have download the passwd to a windows pc and download the dos2unix and converted the file to unix, then I replaced the file on the server with the new and it's working now!
-
Hi,
Dec 8 11:51:51 srv86 sshd[750]: User root not allowed because shell /bin/bash\r does not exist
Dec 8 11:51:51 srv86 sshd[751]: input_userauth_request: invalid user root
Yes, that means you have the error in end of line with root user.