cancel
Showing results for 
Search instead for 
Did you mean: 

root login fail

 
SOLVED
Go to solution
HCL Ash
Frequent Advisor

root login fail

hi,

I have two systems when i do normal login i am able to login to system. when i login directly as root not able to login. able to login as root from console.

no /etc/securetty file .
suxde060 # ssh suxde061
Password:
Connection closed by 10.55.145.235
abadguja as root@suxde060 [/root/.ssh]
suxde060 #
3 REPLIES
Vishu
Trusted Contributor

Re: root login fail

Hi,

In sshd_config, there is a parameter named "PermitRootLogin", just set it to NO and restart your ssh daemon. Then it wont allow root login with ssh.

Thanks
Johnson Punniyalingam
Honored Contributor

Re: root login fail

Forums user name: HCL Ash
Company name:
Country / Region: india
Personal quote:
Certification:
ITRC member since: April 01, 2008
Last contribution date: January 05, 2010
I have assigned points to 2 of 26 responses to my questions.
Problems are common to all, but attitude makes the difference
Vishu
Trusted Contributor
Solution

Re: root login fail

Hi,

Please assign points to all who gave their valuable time for your problems. it is a good way to say thanks.