Using a GUI File Browser with sudo
Asked by
RogerB
Hello,
So here I am wanting to pick a file out of Nautilus and edit it, then save. It’s a file with RW only for owner (root) and read-only for group and others. Of course root is locked and I’m logged in as little ‘ol me, albeit with root privileges.
If I did this from the command line I’d do something like ‘sudo vi <file>’ I guess…or I could change the attributes of the file before I edit it.
Can I make this a little more seamless so I can pick a file out of a GUI file browser, like Nautilus, edit it and save as if I were root (sudo)? I know I can launch an editor with ‘gksudo gedit’ too….
System details:
Ubuntu Rel 8.04(Hardy)
Kernel Linux 2.6.24-19-server
Gnome 2.22.3
Tnx,
Roger
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu nautilus Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Andrew
- Solved:
- Last query:
- Last reply:
To post a message you must log in.