“Ubuntu se connecter comme racine” Réponses codées

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]
Maniacal Hamster

Ubuntu se connecter comme racine

# 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)
Aggressive Addax

journal ubunut comme racine

# for a persistent Root login just type:
sudo -i
Dark Dotterel

Réponses similaires à “Ubuntu se connecter comme racine”

Questions similaires à “Ubuntu se connecter comme racine”

Plus de réponses similaires à “Ubuntu se connecter comme racine” dans Shell/Bash

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code