Wie zum LOGON zu Ubuntu als Wurzel-Benutzer?

Manchmal, wo Linux ein sicheres und gesundes Klima für Benutzer zur Verfügung stellt, bildet es andere sogar erschwerte und schwierige Sachen. Trotz des Seins solch ein benutzerfreundliches Betriebssystem, ist es nicht das, das zum LOGON zu Ubuntu als Wurzelbenutzer einfach ist.

Wurzelbenutzer hat alle Verwalterprivilegien so, wann immer Sie System Akten oder Konfiguration von innerhalb Gnome redigieren müssen, Sie glaubt dem Notwendigkeit LOGON zu Ubuntu als Wurzelbenutzer. Aber die Frage ist ist hier „, wie zum LOGON zu Ubuntu als Wurzelbenutzer?“

Folgen Sie einfach den Schritten unten:

  1. Öffnen Sie den Anschluß und die Art:
    sudo passwd Wurzel
  2. Wenn Sie sehen, daß die Aufforderung, die „sagt, tragen Sie neues UNIX-Kennwort“ ein, tragen Sie das Kennwort ein, das Sie für den Wurzelbenutzer wünschen und es bestätigen.
  3. Art:
    sudo gedit /etc/X11/gdm/gdm.conf
  4. Lokalisieren Sie die Linie, die „AllowRoot=false“ sagt. Ändern Sie es zu „AllowRoot=true“.
  5. Außer der Akte
  6. Nehmen Sie gedit, Logout heraus und laden Sie dann neu.

Ich verwendete die gleiche Methode, als ich zum LOGON wünschte, wie der Wurzelbenutzer, zum der Konfiguration Akten meiner Graphiken zu redigieren kardieren und alles großes bearbeitete. Jedoch ist die einzige Ausgabe in diesem Fall die, indem sie zu Ubuntu loggt, wie Wurzel Sie Ihr Betriebssystem verletzbarer bilden.

Für Ubuntu Benutzer wird es empfohlen, um das Konto zu verwenden, deren sie rechtzeitig anbringen und verwenden den „sudo“ Befehl während im Anschluß, Befehle als Wurzelbenutzer durchzuführen verursachten.

It worked.
  • Matthew
    Actually thanx a lot Michael...my linux system stuck and I couldn't install nothing...now its cool :D
  • jason
    I tried this but sudo gedit /etc/X11/gdm/gdm.conf just opens a blank page with no text ???
  • r jesse
    hi Jason
    i tried sudo gedit /etc/X11/gdm/gdm.conf and it didnt work for me either! BUT: there is a better way to just do that! guess what: go to prompt and type:

    $locate gdm.conf

    where you will get something like:

    /etc/gdm/gdm.conf
    /etc/gdm/gdm.conf-custom
    /etc/gdm/gdm.conf~
    ...etc

    to me the above was my output.

    this gives you a whole lots of locations where files with name *like* gdm.conf can be found. THIS IS THE FILE WE NEED TO EDIT.

    you can tell from the listing that the first option is the one we r after (or it depends on your output but look for EXACTLY "gdm.conf" file), so you can go for you gedit command now: remove the /X11/ and type it like:

    sudo gedit /etc/gdm/gdm.conf

    ..there we r...

    r jesse
    Dar.
  • Sus
    Michael
    April 20, 2008 at 6:51 pm

    You say to edit the gdm.conf file to allow root log in. Well you can edit the “Log In Window” settings under the System > Administration menu you to do this easier. Under the “Security” tab enable “Allow local system administrator log in”.
  • Itchyfinger
    I wish people would get the facts straight before they go bleeting one way or the other on how something impacts Ubuntu system security, because it's important for all users, new and old, to know the straight dope. Not only do they need it explained in non-superstitious terms what they can and can't do while logged in as user or root, but they need better justification for the restrictions in play. It takes this sort of review process to perfect a system, and the perfect system is NOT the most secure one - fact is that the most secure system is also the most useless.

    While I know only a little myself, being a fairly new user, I went and tried tried the first fix before forming my opinion! The result is that I no longer get some asinine hassle when I want to browse partitions which are BY DEFAULT less security-sensitive than my system partition, and since you don't need root priveleges to write to your system partitions in Ubuntu (not so with other distros), Then I want to know what were you Ubuntu Engineers thinking in making an issue of browsing secondary partitions?

    Anyway, despite being able to browse your own files while logged in as root, you still can't change your system files without the sudo command - I tried that, and it won't let me. Very strange, but that's how it works.
  • Itchyfinger
    In summary (see above), total write-access does not exist any more (or any less) between a logged-in user and logged-in root user without the use or the sudo command, and then the only thing which non-root-user-status can make particularly difficult is access to partitions not containing his system (unless of course the system is on a separate partition from his home directory).
  • blog comments powered by Disqus