Last update at :2024-05-18,Edit by888u
Ubuntu does not allow root to log in directly by default. We need to do sodo. Doing it like this is a waste of time and very annoying, right? Let's modify it so that Ubuntu allows users to log in directly using the root account.
1. Change the root password: sudo passwd root
2. Modify the ssh configuration: sudo vi /etc/ssh/sshd_config, find the PermitRootLogin item and change it to yes, save and exit and restart the ssh service, sudo service ssh restart.
Recommended site searches: free personal cloud servers outside mainland China, website domain name query system, anti-attack IP, registered domain name, free ftp space application, Hong Kong's best virtual host, free cloud host, server rental US high defense, Yangzhou dual Online server check ip,
发表评论