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
Enter the password when the reminder message appears.
When asked if you want to continue, enter ' y ' (lowercase or uppercase) and press Enter .
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 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.
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.
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:
- Some features in Nautilus may be unknown
- Tips and tricks after installing Ubuntu
- Enable Root account in Ubuntu
You should read it
- How to set up always opening applications with admin rights on Windows 11
- How to assign admin rights to users in Ubuntu
- Losing Admin permissions on Windows 10 / 8.1, this is a fix
- How to launch Admin rights application for User account in Windows?
- 4 ways to run the software using administrative rights in Windows
- How to open and run cmd with Admin permissions on Windows
- How to assign Administrator permissions on a Windows 7 computer?
- How to run Task Manager with admin rights in Windows 11
May be interested
- Instructions for taking screenshots of Linux computerslinux 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 PXEstarting 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 macOSsince 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 Linuxsometimes, 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 versionkali 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 Linuxkali linux 'live' provides users with 'forensic mode', a feature introduced for the first time in backtrack linux.