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
Asked
Active
Viewed 404 times
2 Answers
2
You should set password of root user to enable it. Use this:
sudo passwd root
Jim
- 63
-
Yes I have done all this things, butresult is null.I want to enable the root user login in login prompt. – Surajit Chakraborty Nov 29 '16 at 22:18
-
1This command enable root user. Maybe some problem with permission or similar. What is inside of
/var/log/auth.log? – Jim Nov 29 '16 at 22:37
1
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
Steam gamer
- 986
-
Yes I have done all this things, butresult is null.I want to enable the root user login in login prompt. – Surajit Chakraborty Nov 29 '16 at 22:18