![]() ![]() You can explore more such uncommon, hidden features of Nautilus in this article. Other file managers may or may not provide such a feature. sudo apt remove nautilus-adminīy the way, if you are using Ubuntu MATE, you can use caja-admin, instead of nautilus-admin. In the terminal (yes, again), use the following command to remove the Nautilus plugin. It’s always good to remove additional things you installed but you don’t use anymore. In case you don’t want to run Nautilus as root anymore, you can remove this plugin. In both cases, you’ll be prompted to enter your account’s password: You need to enter your password, of course Just select the file, right click on it and choose the “Edit as Administrator” option. You can also edit files as root the same way. Right click to see the “Open as Administrator” option Please make sure that you have the universe repository enabled: sudo apt install nautilus-adminĬlose and open the Nautilus file manager again to see the changes in effect. You’ll have to use terminal (even if you don’t like it) for installing the Nautilus plugin. You can change it as per your distribution’s package manager. ![]() I am showing the installation steps for Ubuntu. Use it only in cases where it is required. There is a reason why Ubuntu disables a root account by default.Please don’t open and edit random files as root as you might mess up with the wrong files and end up with a broken system. ![]() Things you should know when running the system as a root user That's it! Now, you are running your Ubuntu system as a root. Once you log in, it will notify you by saying, "logged in as a privileged user": Step 4: Log in as rootĪt the login screen, select the Not listed option, enter root in username and enter the password that you configured at the beginning of this guide: Logging as root (Click to enlarge) Save changes and exit from the nano text editor. who grep username (to get the pts/ terminal) sudo. In this file, you will have to comment out the following line with the # symbol that denies the root access in GUI: auth required pam_succeed_if.so user != root quiet_success If you wish to give any other account full root access through sudo, simply add them to the sudo group. Now, you will have to configure the PAM authentication daemon file, which can be opened by the following command: sudo nano /etc/pam.d/gdm-password Press Ctrl+X to exit Nano while saving it. Now, open the GDM file with the following command: sudo nano /etc/gdm3/nfĪnd add the following line to allow the root login: AllowRoot=true In the worst case, if you somehow mess things up, the back up file can be used to replace the existing one from the TTY. Make a backup of the config file: cp /etc/gdm3/nf /etc/gdm3/nf~ Is there a way to re-add the option I know I can open PCManFM as Root via the Terminal but it was handy to open the specific Folder under the Tools option. ![]() To allow log in as root into GNOME, you need to make some changes in the GDM configuration file located at /etc/gdm3/nf. In the latest version of the PCManFM the option under Tools-Open Current Folder as Root has been removed. Ubuntu uses GNOME by default and GNOME uses the GDM display manager. Please check your desktop environment and ensure that it is GNOME. This part of the tutorial is only valid for GNOME. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |