How to open admin and folder permissions in Nautilus

In Nautilus on Ubuntu, users can view all files and folders on their system. Sometimes you may want to edit the basic file configuration like when installing for other programs. But there are some system files and folders that you cannot open and edit from Nautilus unless you are open as Administrator.

Before Ubuntu 17.10, you can use the gksu or gksudo command to open Nautilus with Admin rights and then open the files and folders as an administrator from within that Nautilus window. However, these two commands have been removed from Ubuntu since version 17.10. So how do you open files and folders as Administrators in Ubuntu 17.10 and Ubuntu 18.04?

Today, we will show you how to add two options to the right-click menu, allowing you to open the folder and edit the file as an administrator.

Note: The instructions in this article apply only to Ubuntu operating system versions 17.10 and 18.04.

Add Nautilus Admin to the Nautilus Right-Click menu

To add options to open files and folders with Administrator rights on the right-click menu, we will have to install Nautilus Admin.

Press Ctrl + Alt + T to open the Terminal window. Then, type the following command and press Enter .

 sudo apt-get install nautilus-admin 

How to open admin and folder permissions in Nautilus Picture 1

Enter the password when the reminder message appears.

When asked if you want to continue, enter ' y ' (lowercase or uppercase) and press Enter .

How to open admin and folder permissions in Nautilus Picture 2

When the installation process finishes, you must restart Nautilus. Enter the following command and press Enter .

 nautilus -q 

To close the Terminal window, type ' exit ' at the prompt and press Enter or press the X button in the upper right corner of the window.

How to open admin and folder permissions in Nautilus Picture 3

How to open files and folders as an administrator

To open a folder in Nautilus with administrative rights, right-click on the folder and select Open as Administrator .

A new Nautilus window opens with administrator rights and the folder you selected will open.

How to open admin and folder permissions in Nautilus Picture 4

To edit a file that requires administrator privileges from within Nautilus, right-click on the file and select Edit as Administrator .

For example, this option is often used to open text files in gedit with administrator privileges.

How to open admin and folder permissions in Nautilus Picture 5

Note to use administrator privileges very carefully

Do you run Nautilus with administrative rights and open files and folders that need administrative rights? If you have done this, be very careful. Do not edit the file system if you do not have to do it. This may result in system shutdown.

Share your experiences and thoughts with us on this issue!

See more:

  1. Some features in Nautilus may be unknown
  2. Tips and tricks after installing Ubuntu
  3. Enable Root account in Ubuntu
3.8 ★ | 6 Vote

May be interested

  • Instructions for taking screenshots of Linux computersPhoto of Instructions for taking screenshots of Linux computers
    linux is a powerful and diverse operating system, so the screen capture tools for this platform are also powerful and varied. the variety of these screeenshot tools includes simple and easy-to-use command line tools that provide scripting and process automation capabilities.
  • Instructions for installing Kali Linux via Network PXEPhoto of Instructions for installing Kali Linux via Network PXE
    starting and installing potassium over the internet (pxe) can be useful from installing a single laptop without a cd-rom or usb port until deploying a business that supports kali installation.
  • How to install Kali Linux on macOSPhoto of How to install Kali Linux on macOS
    since the release of kali linux 1.0.8, kali linux supports efi. this additional feature simplifies the process of installing and running potassium on various apple macbook air, pro and retina models.
  • How to encrypt LVM partitions when installing Kali LinuxPhoto of How to encrypt LVM partitions when installing Kali Linux
    sometimes, we have sensitive data and want to encrypt using the entire drive encryption. with kali installer, you can start installing lvm partition encryption on both the hard drive or usb drive. the installation procedure is very similar to the normal kali linux installation, except to choose an encrypted lvm partition during installation.
  • How to install Kali Linux reduced versionPhoto of How to install Kali Linux reduced version
    kali mini iso or kali linux's shortened version is a convenient way to install a minimal potassium system and install it 'from scratch'.
  • Learn Forensics Mode in Kali LinuxPhoto of Learn Forensics Mode in Kali Linux
    kali linux 'live' provides users with 'forensic mode', a feature introduced for the first time in backtrack linux.