GNOME Bugzilla – Bug 65058
add way to do operations as another user (as "sudo" does on the command line)
Last modified: 2009-03-26 18:30:27 UTC
I think it should be possible to log in as another user temporarily, concerning Nautilus only. It would be much faster and convenient than logging out completely. It happens quite often that I reach a directory that I don't have access to. This would solve that problem.
E.g. if i try to copy a file to a location that is write-protected, there should pop up a window asking for the root password so that the operation could be fulfilled.
It's definitely a neat idea to have some sort of "graphical sudo". There might even be another bug report about this, because I know we've discussed it before. But I can't find it.
I dont see this as a 'feature' This should be a core function
Can we embed out of process components running as a different user? This is scary though because I imagine there would be some possible security exploits to running a normal-user Nautilus that could talk to a component running as root.
Why not with others programms. So you could extract files to /usr/local/src with file-roller.
*** Bug 147977 has been marked as a duplicate of this bug. ***
*** Bug 301137 has been marked as a duplicate of this bug. ***
I suggested this functionality be built in to gnome-vfs in Bug 318882 - seems like it would work nicely in there.
*** Bug 343609 has been marked as a duplicate of this bug. ***
*** Bug 330702 has been marked as a duplicate of this bug. ***
It would be cool if Gnome-VFS changed your priviledge not just to root. For example, if my user is Gavin and I am trying to go into johns home directory, VFS can raise an exception due to lack of privs. Then it checks to see who the owner is of that file or directory and prompts me for a password to SU to the target user so the operation can be completed.
What's about displaying a horizontal bar like that one on the Trash when you navigate to a folder where you don't have permissions to create new files, with a button that would allow you to switch it into "root mode" on that window (introducing the password into a prompt if it wasn't used recently, of course) until you visit a folder owned by you?
(In reply to comment #12) > What's about displaying a horizontal bar like that one on the Trash when you > navigate to a folder where you don't have permissions to create new files, with > a button that would allow you to switch it into "root mode" on that window > (introducing the password into a prompt if it wasn't used recently, of course) > until you visit a folder owned by you? > This would be too obtrusive IMHO, especially as most folders are not writable.
(In reply to comment #13) > This would be too obtrusive IMHO, especially as most folders are not writable. What about adding an option to switch the nautilus window in question into "root-user mode" (or even select an arbitrary user), and then display such a bar (containing a button to switch back to normal user mode) as long as this mode is active, as a reminder and warning sign?
This can be done with PolicyKit integration, which is bug 490200. Marking as a duplicate. *** This bug has been marked as a duplicate of 490200 ***