At times where Linux provides a secure and healthy environment for users, it makes other things even more complicated and intricate. In tempi in cui Linux offre un ambiente sicuro e sano per gli utenti, rende le altre cose ancora più complicate e intricate. Despite being such a user-friendly operating system, it is not that easy to login to Ubuntu as a root user. Pur essendo un sistema operativo user-friendly, non è così facile fare il login per Ubuntu come utente root.
Root user has all the administrator privileges so whenever you need to edit system files or configuration from within Gnome, you will feel the need to login to Ubuntu as a root user. Utente root ha tutti i privilegi di amministratore in modo ogni volta che è necessario modificare i file di configurazione di sistema o da dentro Gnome, si sente il bisogno di login di Ubuntu come utente root. But the question is here is "How to login to Ubuntu as a root user?" Ma la domanda è: ecco "Come il login per Ubuntu come utente root?"
Just follow the steps below: Basta seguire la seguente procedura:
- Open the terminal and type: Aprire il terminale e digitare:
sudo passwd root - When you see the prompt that says "Enter new UNIX password", enter the password you want for the root user and confirm it. Quando viene visualizzato il messaggio che dice "Enter new UNIX password", inserire la password che si desidera per l'utente root e confermarla.
- Type: Tipo:
sudo gedit /etc/X11/gdm/gdm.conf - Locate the line that says "AllowRoot=false". Individuare la riga che dice "AllowRoot = false". Change it to "AllowRoot=true". Cambia in "AllowRoot = true".
- Save the file Salvare il file
- Exit gedit, logout and then reboot. Gedit Exit, il logout e quindi riavviare.
I used the same method when I wanted to login as root user to edit configuration files of my graphics card and everything worked great. Ho usato lo stesso metodo quando ho voluto fare il login come utente root per modificare i file di configurazione della mia scheda grafica e tutto ha funzionato grande. However the only issue in this case is that by logging to Ubuntu as root you are making your operating system more vulnerable. Tuttavia la questione solo in questo caso è che accedendo a Ubuntu come root state facendo il vostro sistema operativo più vulnerabile.
For Ubuntu users it is recommended to use the account which they created on time of install and use the "sudo" command while in terminal to execute commands as root user. Per gli utenti Ubuntu si consiglia di utilizzare l'account che hanno creato il tempo di installare e utilizzare il comando "sudo", mentre in terminale per eseguire comandi come utente root.
















