How to enable the root user account in Ubuntu Linux Kā lai root lietotāja kontu Ubuntu Linux

by Sukrit Dhandhania on May 28, 2009 ar Sukrit Dhandhania 2009 May 28,

LinuxSecurity

Ubuntu Linux ships with the tool sudo all setup for you to use to perform any administrative tasks instead of giving you root user privileges. Ubuntu Linux kuģiem ar rīku sudo visu setup, lai Jūs varētu izmantot, lai veiktu visus administratīvos uzdevumus, tā vietā, lai dotu jums root lietotāja tiesībām. If you have used other flavors of Linux and performed any administrative tasks on them you will quite likely feel a bit constrained by sudo , even though you can do just about anything you can as root with sudo. Ja esat lietojis citas flavors of Linux, un veic visus administratīvos uzdevumus, kas tām jūs, visticamāk, jūtas mazliet ierobežo sudo, lai gan jūs varat darīt gandrīz visu, ko jūs varat kā root ar sudo. In such cases you can enable the root user account which has been disabled by Ubuntu by default. Note: this could pose a security risk and is not recommended for beginners. Šādos gadījumos var ļaut root lietotāja kontu, kas ir invalīdi ar Ubuntu pēc noklusējuma. Piezīme: tas var radīt risku drošībai un nav ieteicams iesācējiem.

There are two levels at which you can enable root access – the command line and in the Gnome desktop. Ir divi līmeņi, kur jūs varat ļaut root access - komandrindas un Gnome darbvirsmas. To enable the root user login on the command line run the following command: Lai iespējotu root lietotāja paroli pēc komandrindas palaist šādu komandu:

# sudo passwd root # Sudo passwd root

The command line will prompt you to enter your password, and then the new root user password twice. Komandrindas liks ievadīt savu paroli un pēc tam jaunā root lietotāja parole divas reizes. Enter them correctly and your root command line login should be good to go. Ievadiet tos pareizi un jūsu root komandrindu login būtu labi iet.

To enable the root user to now log into Gnome, open the file gdm.conf which will most likely be at /etc/X11/gdm/gdm.conf and change the AllowRoot condition to: Lai ļautu root lietotājam tagad ieiet Gnome, atveriet failu gdm.conf, kas visticamāk būs at / etc/X11/gdm/gdm.conf un mainīt AllowRoot nosacījumu:

AllowRoot=true AllowRoot = true

Save the file. Saglabàtu failu. Log out of Gnome and log back in to activate your new settings. Log out of Gnome un piesakieties, lai aktivizētu jaunos iestatījumus.

Related Posts: Related Posts:
  • How to automatically sign in to Ubuntu Kā automātiski pierakstītos Ubuntu
  • How to stop Ubuntu from asking for your sudo password Kā pārtraukt Ubuntu lūgt jūsu sudo parole
  • An introduction to the sudo command and configuration file Ievads sudo komandu un konfigurācijas failu
  • How to reset a lost MySQL root password Kā lai atjaunotu zaudēto MySQL root paroli
  • How to install, setup and use Google Desktop Search in Ubuntu Kā uzstādīt, uzstādīšanas un izmantot Google Desktop Search in Ubuntu
  • Get Simple Help tutorials just like this one in your email inbox every day - for free! Get Simple Palīdzība konsultācijas tāpat kā šo vienu savā e-pastā ik dienas - bez maksas! Just enter your email address below: Vienkārši ievadiet savu e-pasta adresi:

    You can always opt out of this email subscription at any time. Jūs vienmēr varat atteikties no šīs e-pasta abonementu jebkurā laikā.

    { 2 trackbacks } (2 trackbacks)

    tech link: How to enable the root user account in Ubuntu Linux - Karol Zielinski's Blog tech saite: Kā lai root lietotāja kontu Ubuntu Linux - Karol Zielinski's Blog
    05.29.09 at 3:46 am 05.29.09 at 3:46
    tech link: How to enable the root user account in Ubuntu Linux tech saite: Kā lai root lietotāja kontu Ubuntu Linux
    08.17.09 at 1:55 pm 08.17.09 at 1:55

    { 1 comment… read it below or (1 comment ... lasīt tālāk vai add one pievienot vienu } )

    1 1 Sathiya Sathiya 06.20.09 at 1:07 am 06.20.09 at 1:07

    Simple, but Great .. Vienkārša, bet liels ..

    Leave a Comment Leave Comment

    You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Jūs varat izmantot šos HTML tagus un atribūtus: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>