Ubuntu after install: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
| No edit summary | m (Karavi moved page Ununtu after install to Ubuntu after install) | 
| (No difference) | |
Revision as of 10:43, 14 December 2023
lsb_release -a
sudo -i
sudo hostname
sudo hostname s35.ntkhost.com
sudo hostname
hostnamectl
hostnamectl set-hostname s35.ntkhost.com
hostnamectl
sudo apt update
sudo apt upgrade -y
sudo apt-get dist-upgrade -u
$ sudo nano /etc/ssh/sshd_config
PermitRootLogin yes
systemctl restart sshd
sudo passwd -u root
sudo passwd root
$Disable =>> sudo passwd -l root
history -c
history -w