Best Answer: How Do I Run a File as Root in Ubuntu?
Contents There Are Two Ways for You to Get Access as Root. You Can Type: Sudo and Ubuntu Will Ask You for Your Password and Then Execute That Command as Root...
Contents
There are two ways for you to get access as root. You can type: sudo
How do I open a file as root in Ubuntu?
Adding a contextual menu to right click open files as root:
- Open the Terminal.
- Type sudo su and press enter.
- Provide your password and press enter.
- Then type apt-get install -y nautilus-admin and press enter.
- Now type nautilus -q and press enter.
- Finally type exit and press enter, and close the terminal window.
Must Read
How do I run a program as root in Linux?
Warning
- Open the Run Command dialog by typing: Alt-F2.
- Enter the name of the program you wish to run, prefixed with kdesu and press Enter. For example, to launch the file manager Konqueror with root privileges, type kdesu konqueror.