At times where Linux provides a secure and healthy environment for users, it makes other things even more complicated and intricate. Κατά καιρούς όπου το Linux παρέχει ένα ασφαλές και υγιές περιβάλλον για τους χρήστες, θα κάνει άλλα πράγματα ακόμη πιο περίπλοκο και περίπλοκο. Despite being such a user-friendly operating system, it is not that easy to login to Ubuntu as a root user. Παρά το γεγονός ότι ένα τέτοιο φιλικό προς το χρήστη λειτουργικό σύστημα, δεν είναι τόσο εύκολο να συνδεθείτε με το Ubuntu ως χρήστης 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. Root χρήστης έχει όλα τα δικαιώματα διαχειριστή, ώστε κάθε φορά που χρειάζεστε για να επεξεργαστείτε αρχεία συστήματος ή στη διαμόρφωση του μέσα από το Gnome, θα νιώσετε την ανάγκη να συνδεθείτε με το Ubuntu ως χρήστης root. But the question is here is "How to login to Ubuntu as a root user?" Αλλά το ερώτημα είναι εδώ είναι "Πώς να συνδεθείτε με το Ubuntu ως χρήστης root;"
Just follow the steps below: Απλά ακολουθήστε τα παρακάτω βήματα:
- Open the terminal and type: Ανοίξτε το τερματικό και τον τύπο:
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. Όταν δείτε την προτροπή που λέει "Εισάγετε νέο κωδικό πρόσβασης UNIX", εισάγετε τον κωδικό που θέλετε για το χρήστη root και επιβεβαιώστε.
- Type: Τύπος:
sudo gedit /etc/X11/gdm/gdm.conf - Locate the line that says "AllowRoot=false". Εντοπίστε τη γραμμή που λέει "AllowRoot = false". Change it to "AllowRoot=true". Αλλαγή να "AllowRoot = true".
- Save the file Αποθηκεύστε το αρχείο
- Exit gedit, logout and then reboot. Gedit Έξοδος, logout και έπειτα θα επανεκκινήσει.
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. Χρησιμοποίησα την ίδια μέθοδο, όταν θέλησα να συνδεθείτε σαν χρήστης root για να επεξεργαστείτε αρχεία ρυθμίσεων της κάρτας γραφικών μου και όλα πήγαν πολύ. However the only issue in this case is that by logging to Ubuntu as root you are making your operating system more vulnerable. Ωστόσο, το μόνο θέμα στην προκειμένη περίπτωση είναι ότι με την υλοτομία στο Ubuntu ως root κάνετε λειτουργικό σας σύστημα πιο ευάλωτο.
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. Για τους χρήστες Ubuntu, συνιστάται η χρήση του λογαριασμού που δημιουργήθηκε την στιγμή της εγκατάστασης και χρήσης της "sudo" εντολή, ενώ στο τερματικό να εκτελέσει εντολές ως χρήστης root.
















