2

We have been cautioned not to use sudo nautilus to open Nautilus as root.

Have not been able to download gksu for 19.04.

Have also tried to install nautilus-admin to 19.04 without success.

Is it still possible to right click a file in Nautilus and select "open as administrator" in 19.04?

What to do?

pomsky
  • 68,507
C.S.Cameron
  • 19,519

1 Answers1

4

You may use the GVfs admin backend by adding admin:// to the beginning of the full path to your preferred directory.

For example launch Nautilus and press Ctrl+L to enable the address-bar, and then enter for example admin:/// to open the / directory or admin:///usr/ to open the /usr/ directory.

Alternatively, launch Terminal and run

nautilus admin:///

to open the / directory or

nautilus admin:///usr/

to open the /usr/ directory etc.

pomsky
  • 68,507
  • With 18.04 we could right click and select "open as administrator" in Nautilus, is this still possible? – C.S.Cameron Sep 08 '19 at 18:04
  • Not sure about that. This answer was written for the initial version of the question. – pomsky Sep 08 '19 at 18:11
  • @C.S.Cameron You need to install the plug-in for "open as administrator". I'll reboot after this movie and try it out in 19.04 upgraded from 16.04 later to see if it carried over from upgrade. – WinEunuuchs2Unix Sep 08 '19 at 22:46
  • @WinEunuuchs2Unix: nautilus-admin works fine for me with 18.04 but not with 19.04? – C.S.Cameron Sep 08 '19 at 22:57
  • @pomsky: I think "open as administrator is a function of "nautilus-admin" and thus would be part of the original question. – C.S.Cameron Sep 09 '19 at 17:01
  • 3
    @C.S.Cameron I beg to differ, the initial version simply asked "How to open nautilus as admin in Ubuntu 19.10". It mentioned things like sudo nautilus, gksu along with nautilus-admin and did not explicitly asked for the "right click and 'open as administrator'" feature. – pomsky Sep 09 '19 at 17:09
  • @pomsky: The question says/said "Have also tried to install nautilus-admin to 19.04 without success" and the title includes "How to open Nautilus as admin". nautilus-admin was also included as a Tag, I would expect nautilus-admin to be part of the question. Besides when I enter nautilus admin:/// in terminal I get warnings and errors. – C.S.Cameron Sep 09 '19 at 19:52
  • Nevermind, I'll disengage. I don't think anything fruitful is going to come out of this. – pomsky Sep 09 '19 at 20:02