Solution 1. Edit #/etc/ssh/sshd_config
Change PermitRootLogin prohibit-password to yes
Solution 2. Run the command
#sudo sed -i 's/prohibit-password/yes/' /etc/ssh/sshd_config
3. Create password to root login
#passwd root
Source:
Ubuntu : Enable root login
Related Posts:
SSL : Disable SSL on Webmin1. Edit /etc/webmin/miniserv.conf 2. Change value of "ssl" entry from 1 to 0 ssl=1 (enable) ssl=0 (disable) 3. Restart webmin services # /et… Read More
SSL : RSA server certificate CommonName (CN) `abc.com.my' does NOT match server name!?Issue : [warn] RSA server certificate CommonName (CN) `abc.com.my' does NOT match server name!? Resolve: Edit Apace SSL file : /etc/htt… Read More
Ubuntu : Enable root loginSolution 1. Edit #/etc/ssh/sshd_config Change PermitRootLogin prohibit-password to yes Solution 2. Run the command #sudo sed -i 's/prohibit-passwor… Read More
Letsencrypt : Secure Apache on Ubuntu 20.04Let’s Encrypt is a Certificate Authority (CA) that facilitates obtaining and installing free TLS/SSL certificates, thereby enabling encrypted HTTPS on… Read More
Centos 7 : Reset root passwordThe steps:1. During boot menu, press (e) to edit existing kernel 2. Scroll down and find the line with (ro). Change (ro) with rw init=/sysroot/bin/sh.… Read More
0 comments:
Post a Comment