Horje
ubuntu login as root Code Example
ubuntu root login ssh
echo "PermitRootLogin yes" | sudo tee -a /etc/ssh/sshd_config
sudo systemctl restart sshd

# NOTE: root login is locked by default, assign a password with:
# [sudo passwd root]

# To lock root login afterwards run
# [sudo passwd -l root]

# To disable root login over ssh afterwards run
# [sed '$d' /etc/ssh/sshd_config | sudo tee /etc/ssh/sshd_config]
ubuntu login as root
# On login screen, press Ctrl + Alt + (F1-F12) to enter terminal mode
# Log in with your normal account in the terminal
# Type this command to temporarily enable the root account and type a password:
sudo passwd root
# Log out of your current account and type "root" to log in as the root
# Once done, you can lock (disable) the root account using this command:
sudo passwd -l root
# It can be done both as the root and your normal account
# You can leave terminal mode using Ctrl + Alt + (F1-F12) (might be different)
ubunut log as root
# for a persistent Root login just type:
sudo -i




Shell

Related
error Command failed with exit code 3221225477 Code Example error Command failed with exit code 3221225477 Code Example
whybar not showing icons Code Example whybar not showing icons Code Example
ModuleNotFoundError: No module named 'tensorflow' Code Example ModuleNotFoundError: No module named 'tensorflow' Code Example
restart lampp Code Example restart lampp Code Example
how to know namespace is present or not in kubernetes shell script Code Example how to know namespace is present or not in kubernetes shell script Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10