I'm using Ubuntu 14.04 Server version. I want to enable the 'root' user login. I have tried with /etc/ssh/sshd_config file but no positive results comes out.Please help me providing the solution. Thanks in advance
2 Answers
You should set password of root
user to enable it. Use this:
sudo passwd root
-
Yes I have done all this things, butresult is null.I want to enable the root user login in login prompt. Nov 29, 2016 at 22:18
-
1This command enable root user. Maybe some problem with permission or similar. What is inside of
/var/log/auth.log
?– JimNov 29, 2016 at 22:37
In /etc/ssh/sshd_config
you need to comment or delete the line PermitRootLogin without-password
After that, add the line PermitRootLogin yes
Finally restart the SSH with service ssh restart
-
Yes I have done all this things, butresult is null.I want to enable the root user login in login prompt. Nov 29, 2016 at 22:18