How to be granted root rights while browsing files/directories with Nautilus
I'd like to know if there a way to be granted root rights while using Nautilus 2.30 ?
For example I'd like to move some old folders of long unused users from the home directory - remains of previous distros (Debian).
Of course I can open a terminal, but I want to know if it is possible to do that with a mouse in Nautilus.
gnome nautilus sudo
add a comment |
I'd like to know if there a way to be granted root rights while using Nautilus 2.30 ?
For example I'd like to move some old folders of long unused users from the home directory - remains of previous distros (Debian).
Of course I can open a terminal, but I want to know if it is possible to do that with a mouse in Nautilus.
gnome nautilus sudo
1
gksu
andgksudo
work in Xorg but not in Wayland (which is default in Ubuntu 17.10). But there are ways to make it work. See this link, Why don't gksu/gksudo or launching a graphical application with sudo work with Wayland?
– sudodus
Apr 19 '18 at 5:48
add a comment |
I'd like to know if there a way to be granted root rights while using Nautilus 2.30 ?
For example I'd like to move some old folders of long unused users from the home directory - remains of previous distros (Debian).
Of course I can open a terminal, but I want to know if it is possible to do that with a mouse in Nautilus.
gnome nautilus sudo
I'd like to know if there a way to be granted root rights while using Nautilus 2.30 ?
For example I'd like to move some old folders of long unused users from the home directory - remains of previous distros (Debian).
Of course I can open a terminal, but I want to know if it is possible to do that with a mouse in Nautilus.
gnome nautilus sudo
gnome nautilus sudo
edited Apr 19 '18 at 4:47
muru
1
1
asked Feb 23 '11 at 18:42
Stephane RollandStephane Rolland
466926
466926
1
gksu
andgksudo
work in Xorg but not in Wayland (which is default in Ubuntu 17.10). But there are ways to make it work. See this link, Why don't gksu/gksudo or launching a graphical application with sudo work with Wayland?
– sudodus
Apr 19 '18 at 5:48
add a comment |
1
gksu
andgksudo
work in Xorg but not in Wayland (which is default in Ubuntu 17.10). But there are ways to make it work. See this link, Why don't gksu/gksudo or launching a graphical application with sudo work with Wayland?
– sudodus
Apr 19 '18 at 5:48
1
1
gksu
and gksudo
work in Xorg but not in Wayland (which is default in Ubuntu 17.10). But there are ways to make it work. See this link, Why don't gksu/gksudo or launching a graphical application with sudo work with Wayland?– sudodus
Apr 19 '18 at 5:48
gksu
and gksudo
work in Xorg but not in Wayland (which is default in Ubuntu 17.10). But there are ways to make it work. See this link, Why don't gksu/gksudo or launching a graphical application with sudo work with Wayland?– sudodus
Apr 19 '18 at 5:48
add a comment |
3 Answers
3
active
oldest
votes
For Ubuntu <= 10.10 , 10.04
nautilus-gksu
Is an extension that grants root privileges using gksu nautilus.
It enables an option when you right-click on a file (also directories and other...) in nautilus: "Open as administrator".
After installing it restart Nautilus (killall nautilus
) and it will have the new feature.
Ubuntu 11.04 and 11.10,
install nautilus-gksu
and copy and paste the libnautilus-gksu.so
file from /usr/lib/nautilus/extensions-2.0/
to /usr/lib/nautilus/extensions-3.0/
Ubuntu 12.04 & 12.10:
The nautilus-gksu
package has been dropped in Ubuntu 12.04 and 12.10 since gksu
2.0.2-6ubuntu1 release, so you can not install it easily. Here I’m going to use a nautilus script to add Open As Administrator functionality.
First download the libnautilus-gksu.so
file:
Click to Download libnautilus-gksu.so
Then, run gksudo nautilus in terminal Ctrl+Alt+T to open the file browser with root privilege, copy and paste this file to /usr/lib/nautilus/extensions-3.0/
. Or do it with this command:
sudo cp ~/Downloads/libnautilus-gksu.so /usr/lib/nautilus/extensions-3.0/
Log out and back in, or run this command to take effect:
nautilus -q
Source
I install it right now ;-)
– Stephane Rolland
Feb 23 '11 at 18:51
Guarantees root access without asking for password?
– Oxwivi
Feb 23 '11 at 18:55
1
No it does ask the root password. Exactly what I wanted. :-). Thx.
– Stephane Rolland
Feb 23 '11 at 18:58
1
This should really be included by default.
– trampster
Feb 23 '11 at 22:37
1
This no longer exists
– endolith
Nov 15 '12 at 20:23
add a comment |
If all you need is mouse, I'd try opening a terminal and then:
$gksudo nautilus
I don't see the need to install anything
edit: this was covered here
I think the difference is really clear. That's the same reason for installing sudo not usingsu
. Having su rights only for a small and delimited time is less dangerous than having them during a whole session.
– Stephane Rolland
Jan 22 '13 at 18:25
add a comment |
Ubuntu 12.04 and later
Nautilus Admin (nautilus-admin) is a simple Python extension for the Nautilus file manager that adds some administrative actions to the right-click menu:
- Open as Administrator: opens a folder in a new Nautilus window running with administrator (root) privileges.
- Edit as Administrator: opens a file in a Gedit window running with administrator (root) privileges.
To install Nautilus Admin in all currently supported versions of Ubuntu open the terminal and type:
sudo apt install nautilus-admin
gksu
is discontinued in the official 18.04 and later repositories.
Ubuntu 16.04 and earlier
gksudo is a frontend to sudo. Its primary purpose is to run graphical programs as root.
Open the terminal and type:
sudo apt-get install gksu # install gksu if it is not already installed
gksudo nautilus
Enter your password in the window that pops up.
+1 to 'cd
in the terminal'. Yes, it is recommended to use text mode commands in a terminal (a terminal window in a graphical desktop environment), when you perform tasks that need elevated permissions.
– sudodus
Apr 20 '18 at 6:10
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f27767%2fhow-to-be-granted-root-rights-while-browsing-files-directories-with-nautilus%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
For Ubuntu <= 10.10 , 10.04
nautilus-gksu
Is an extension that grants root privileges using gksu nautilus.
It enables an option when you right-click on a file (also directories and other...) in nautilus: "Open as administrator".
After installing it restart Nautilus (killall nautilus
) and it will have the new feature.
Ubuntu 11.04 and 11.10,
install nautilus-gksu
and copy and paste the libnautilus-gksu.so
file from /usr/lib/nautilus/extensions-2.0/
to /usr/lib/nautilus/extensions-3.0/
Ubuntu 12.04 & 12.10:
The nautilus-gksu
package has been dropped in Ubuntu 12.04 and 12.10 since gksu
2.0.2-6ubuntu1 release, so you can not install it easily. Here I’m going to use a nautilus script to add Open As Administrator functionality.
First download the libnautilus-gksu.so
file:
Click to Download libnautilus-gksu.so
Then, run gksudo nautilus in terminal Ctrl+Alt+T to open the file browser with root privilege, copy and paste this file to /usr/lib/nautilus/extensions-3.0/
. Or do it with this command:
sudo cp ~/Downloads/libnautilus-gksu.so /usr/lib/nautilus/extensions-3.0/
Log out and back in, or run this command to take effect:
nautilus -q
Source
I install it right now ;-)
– Stephane Rolland
Feb 23 '11 at 18:51
Guarantees root access without asking for password?
– Oxwivi
Feb 23 '11 at 18:55
1
No it does ask the root password. Exactly what I wanted. :-). Thx.
– Stephane Rolland
Feb 23 '11 at 18:58
1
This should really be included by default.
– trampster
Feb 23 '11 at 22:37
1
This no longer exists
– endolith
Nov 15 '12 at 20:23
add a comment |
For Ubuntu <= 10.10 , 10.04
nautilus-gksu
Is an extension that grants root privileges using gksu nautilus.
It enables an option when you right-click on a file (also directories and other...) in nautilus: "Open as administrator".
After installing it restart Nautilus (killall nautilus
) and it will have the new feature.
Ubuntu 11.04 and 11.10,
install nautilus-gksu
and copy and paste the libnautilus-gksu.so
file from /usr/lib/nautilus/extensions-2.0/
to /usr/lib/nautilus/extensions-3.0/
Ubuntu 12.04 & 12.10:
The nautilus-gksu
package has been dropped in Ubuntu 12.04 and 12.10 since gksu
2.0.2-6ubuntu1 release, so you can not install it easily. Here I’m going to use a nautilus script to add Open As Administrator functionality.
First download the libnautilus-gksu.so
file:
Click to Download libnautilus-gksu.so
Then, run gksudo nautilus in terminal Ctrl+Alt+T to open the file browser with root privilege, copy and paste this file to /usr/lib/nautilus/extensions-3.0/
. Or do it with this command:
sudo cp ~/Downloads/libnautilus-gksu.so /usr/lib/nautilus/extensions-3.0/
Log out and back in, or run this command to take effect:
nautilus -q
Source
I install it right now ;-)
– Stephane Rolland
Feb 23 '11 at 18:51
Guarantees root access without asking for password?
– Oxwivi
Feb 23 '11 at 18:55
1
No it does ask the root password. Exactly what I wanted. :-). Thx.
– Stephane Rolland
Feb 23 '11 at 18:58
1
This should really be included by default.
– trampster
Feb 23 '11 at 22:37
1
This no longer exists
– endolith
Nov 15 '12 at 20:23
add a comment |
For Ubuntu <= 10.10 , 10.04
nautilus-gksu
Is an extension that grants root privileges using gksu nautilus.
It enables an option when you right-click on a file (also directories and other...) in nautilus: "Open as administrator".
After installing it restart Nautilus (killall nautilus
) and it will have the new feature.
Ubuntu 11.04 and 11.10,
install nautilus-gksu
and copy and paste the libnautilus-gksu.so
file from /usr/lib/nautilus/extensions-2.0/
to /usr/lib/nautilus/extensions-3.0/
Ubuntu 12.04 & 12.10:
The nautilus-gksu
package has been dropped in Ubuntu 12.04 and 12.10 since gksu
2.0.2-6ubuntu1 release, so you can not install it easily. Here I’m going to use a nautilus script to add Open As Administrator functionality.
First download the libnautilus-gksu.so
file:
Click to Download libnautilus-gksu.so
Then, run gksudo nautilus in terminal Ctrl+Alt+T to open the file browser with root privilege, copy and paste this file to /usr/lib/nautilus/extensions-3.0/
. Or do it with this command:
sudo cp ~/Downloads/libnautilus-gksu.so /usr/lib/nautilus/extensions-3.0/
Log out and back in, or run this command to take effect:
nautilus -q
Source
For Ubuntu <= 10.10 , 10.04
nautilus-gksu
Is an extension that grants root privileges using gksu nautilus.
It enables an option when you right-click on a file (also directories and other...) in nautilus: "Open as administrator".
After installing it restart Nautilus (killall nautilus
) and it will have the new feature.
Ubuntu 11.04 and 11.10,
install nautilus-gksu
and copy and paste the libnautilus-gksu.so
file from /usr/lib/nautilus/extensions-2.0/
to /usr/lib/nautilus/extensions-3.0/
Ubuntu 12.04 & 12.10:
The nautilus-gksu
package has been dropped in Ubuntu 12.04 and 12.10 since gksu
2.0.2-6ubuntu1 release, so you can not install it easily. Here I’m going to use a nautilus script to add Open As Administrator functionality.
First download the libnautilus-gksu.so
file:
Click to Download libnautilus-gksu.so
Then, run gksudo nautilus in terminal Ctrl+Alt+T to open the file browser with root privilege, copy and paste this file to /usr/lib/nautilus/extensions-3.0/
. Or do it with this command:
sudo cp ~/Downloads/libnautilus-gksu.so /usr/lib/nautilus/extensions-3.0/
Log out and back in, or run this command to take effect:
nautilus -q
Source
edited Mar 14 '17 at 21:15
Zanna
50.4k13133241
50.4k13133241
answered Feb 23 '11 at 18:48
hhlphhlp
32.2k1478131
32.2k1478131
I install it right now ;-)
– Stephane Rolland
Feb 23 '11 at 18:51
Guarantees root access without asking for password?
– Oxwivi
Feb 23 '11 at 18:55
1
No it does ask the root password. Exactly what I wanted. :-). Thx.
– Stephane Rolland
Feb 23 '11 at 18:58
1
This should really be included by default.
– trampster
Feb 23 '11 at 22:37
1
This no longer exists
– endolith
Nov 15 '12 at 20:23
add a comment |
I install it right now ;-)
– Stephane Rolland
Feb 23 '11 at 18:51
Guarantees root access without asking for password?
– Oxwivi
Feb 23 '11 at 18:55
1
No it does ask the root password. Exactly what I wanted. :-). Thx.
– Stephane Rolland
Feb 23 '11 at 18:58
1
This should really be included by default.
– trampster
Feb 23 '11 at 22:37
1
This no longer exists
– endolith
Nov 15 '12 at 20:23
I install it right now ;-)
– Stephane Rolland
Feb 23 '11 at 18:51
I install it right now ;-)
– Stephane Rolland
Feb 23 '11 at 18:51
Guarantees root access without asking for password?
– Oxwivi
Feb 23 '11 at 18:55
Guarantees root access without asking for password?
– Oxwivi
Feb 23 '11 at 18:55
1
1
No it does ask the root password. Exactly what I wanted. :-). Thx.
– Stephane Rolland
Feb 23 '11 at 18:58
No it does ask the root password. Exactly what I wanted. :-). Thx.
– Stephane Rolland
Feb 23 '11 at 18:58
1
1
This should really be included by default.
– trampster
Feb 23 '11 at 22:37
This should really be included by default.
– trampster
Feb 23 '11 at 22:37
1
1
This no longer exists
– endolith
Nov 15 '12 at 20:23
This no longer exists
– endolith
Nov 15 '12 at 20:23
add a comment |
If all you need is mouse, I'd try opening a terminal and then:
$gksudo nautilus
I don't see the need to install anything
edit: this was covered here
I think the difference is really clear. That's the same reason for installing sudo not usingsu
. Having su rights only for a small and delimited time is less dangerous than having them during a whole session.
– Stephane Rolland
Jan 22 '13 at 18:25
add a comment |
If all you need is mouse, I'd try opening a terminal and then:
$gksudo nautilus
I don't see the need to install anything
edit: this was covered here
I think the difference is really clear. That's the same reason for installing sudo not usingsu
. Having su rights only for a small and delimited time is less dangerous than having them during a whole session.
– Stephane Rolland
Jan 22 '13 at 18:25
add a comment |
If all you need is mouse, I'd try opening a terminal and then:
$gksudo nautilus
I don't see the need to install anything
edit: this was covered here
If all you need is mouse, I'd try opening a terminal and then:
$gksudo nautilus
I don't see the need to install anything
edit: this was covered here
edited Apr 13 '17 at 12:23
Community♦
1
1
answered Jan 22 '13 at 17:02
quinestorquinestor
283311
283311
I think the difference is really clear. That's the same reason for installing sudo not usingsu
. Having su rights only for a small and delimited time is less dangerous than having them during a whole session.
– Stephane Rolland
Jan 22 '13 at 18:25
add a comment |
I think the difference is really clear. That's the same reason for installing sudo not usingsu
. Having su rights only for a small and delimited time is less dangerous than having them during a whole session.
– Stephane Rolland
Jan 22 '13 at 18:25
I think the difference is really clear. That's the same reason for installing sudo not using
su
. Having su rights only for a small and delimited time is less dangerous than having them during a whole session.– Stephane Rolland
Jan 22 '13 at 18:25
I think the difference is really clear. That's the same reason for installing sudo not using
su
. Having su rights only for a small and delimited time is less dangerous than having them during a whole session.– Stephane Rolland
Jan 22 '13 at 18:25
add a comment |
Ubuntu 12.04 and later
Nautilus Admin (nautilus-admin) is a simple Python extension for the Nautilus file manager that adds some administrative actions to the right-click menu:
- Open as Administrator: opens a folder in a new Nautilus window running with administrator (root) privileges.
- Edit as Administrator: opens a file in a Gedit window running with administrator (root) privileges.
To install Nautilus Admin in all currently supported versions of Ubuntu open the terminal and type:
sudo apt install nautilus-admin
gksu
is discontinued in the official 18.04 and later repositories.
Ubuntu 16.04 and earlier
gksudo is a frontend to sudo. Its primary purpose is to run graphical programs as root.
Open the terminal and type:
sudo apt-get install gksu # install gksu if it is not already installed
gksudo nautilus
Enter your password in the window that pops up.
+1 to 'cd
in the terminal'. Yes, it is recommended to use text mode commands in a terminal (a terminal window in a graphical desktop environment), when you perform tasks that need elevated permissions.
– sudodus
Apr 20 '18 at 6:10
add a comment |
Ubuntu 12.04 and later
Nautilus Admin (nautilus-admin) is a simple Python extension for the Nautilus file manager that adds some administrative actions to the right-click menu:
- Open as Administrator: opens a folder in a new Nautilus window running with administrator (root) privileges.
- Edit as Administrator: opens a file in a Gedit window running with administrator (root) privileges.
To install Nautilus Admin in all currently supported versions of Ubuntu open the terminal and type:
sudo apt install nautilus-admin
gksu
is discontinued in the official 18.04 and later repositories.
Ubuntu 16.04 and earlier
gksudo is a frontend to sudo. Its primary purpose is to run graphical programs as root.
Open the terminal and type:
sudo apt-get install gksu # install gksu if it is not already installed
gksudo nautilus
Enter your password in the window that pops up.
+1 to 'cd
in the terminal'. Yes, it is recommended to use text mode commands in a terminal (a terminal window in a graphical desktop environment), when you perform tasks that need elevated permissions.
– sudodus
Apr 20 '18 at 6:10
add a comment |
Ubuntu 12.04 and later
Nautilus Admin (nautilus-admin) is a simple Python extension for the Nautilus file manager that adds some administrative actions to the right-click menu:
- Open as Administrator: opens a folder in a new Nautilus window running with administrator (root) privileges.
- Edit as Administrator: opens a file in a Gedit window running with administrator (root) privileges.
To install Nautilus Admin in all currently supported versions of Ubuntu open the terminal and type:
sudo apt install nautilus-admin
gksu
is discontinued in the official 18.04 and later repositories.
Ubuntu 16.04 and earlier
gksudo is a frontend to sudo. Its primary purpose is to run graphical programs as root.
Open the terminal and type:
sudo apt-get install gksu # install gksu if it is not already installed
gksudo nautilus
Enter your password in the window that pops up.
Ubuntu 12.04 and later
Nautilus Admin (nautilus-admin) is a simple Python extension for the Nautilus file manager that adds some administrative actions to the right-click menu:
- Open as Administrator: opens a folder in a new Nautilus window running with administrator (root) privileges.
- Edit as Administrator: opens a file in a Gedit window running with administrator (root) privileges.
To install Nautilus Admin in all currently supported versions of Ubuntu open the terminal and type:
sudo apt install nautilus-admin
gksu
is discontinued in the official 18.04 and later repositories.
Ubuntu 16.04 and earlier
gksudo is a frontend to sudo. Its primary purpose is to run graphical programs as root.
Open the terminal and type:
sudo apt-get install gksu # install gksu if it is not already installed
gksudo nautilus
Enter your password in the window that pops up.
edited Jan 12 at 19:38
answered Sep 20 '16 at 3:57
karelkarel
57.9k12128146
57.9k12128146
+1 to 'cd
in the terminal'. Yes, it is recommended to use text mode commands in a terminal (a terminal window in a graphical desktop environment), when you perform tasks that need elevated permissions.
– sudodus
Apr 20 '18 at 6:10
add a comment |
+1 to 'cd
in the terminal'. Yes, it is recommended to use text mode commands in a terminal (a terminal window in a graphical desktop environment), when you perform tasks that need elevated permissions.
– sudodus
Apr 20 '18 at 6:10
+1 to '
cd
in the terminal'. Yes, it is recommended to use text mode commands in a terminal (a terminal window in a graphical desktop environment), when you perform tasks that need elevated permissions.– sudodus
Apr 20 '18 at 6:10
+1 to '
cd
in the terminal'. Yes, it is recommended to use text mode commands in a terminal (a terminal window in a graphical desktop environment), when you perform tasks that need elevated permissions.– sudodus
Apr 20 '18 at 6:10
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f27767%2fhow-to-be-granted-root-rights-while-browsing-files-directories-with-nautilus%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
gksu
andgksudo
work in Xorg but not in Wayland (which is default in Ubuntu 17.10). But there are ways to make it work. See this link, Why don't gksu/gksudo or launching a graphical application with sudo work with Wayland?– sudodus
Apr 19 '18 at 5:48