Ubuntu after install: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
| m (Karavi moved page Ununtu after install to Ubuntu after install) | No edit summary | ||
| Line 38: | Line 38: | ||
| wget -qO- <nowiki>https://ipecho.net/plain</nowiki> ; echo | |||
| history -c | history -c | ||
| history -w | history -w | ||
Revision as of 13:49, 15 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
wget -qO- https://ipecho.net/plain ; echo
history -c
history -w