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.























{ 2 trackbacks } (2 trackbacks)
{ 1 comment… read it below or (1 comment ... lasīt tālāk vai add one pievienot vienu } )
Simple, but Great .. Vienkārša, bet liels ..
Leave a Comment Leave Comment