-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans  . 

Switch user in Konqueror (mockup)

  

KDE Improvement

Score 80%
Switch user in Konqueror (mockup)
zoom


Switch user in Konqueror (mockup)
zoom


Link:  http://
Downloads:  648
Submitted:  Jun 30 2006

Description:

When browsing the filesystem with Konqueror, you sometimes find a file you need to edit or delete, but you can't, because it's owned by root (or another user). So, the usual workaround ist to press F4, and use su and the command line.

My proposal ist to add an extra button or menu entry to Konqueror, which allows you to "switch" to another user, or to root.

To the Implementation: As far as I know, it's technically not possible for a process to gain rights, but only to start as root (setuid root), and then to switch to a less privileged user. (That's what kdm, su etc. do) So, what we would have to do is to remeber the password the user gave us, and do all file operations through some kind of wrapper script, until the user switches back.

Note: There should be some kind of visual feedback that Konqueror is running with extended rights, so that the user doesn't mix up the windows and accidently do something harmfull. My idea is to color the title bar differently, but this would require larger changes to kwin. (I'm going to post this as an extra idea.) Alternatively, there could also be an indicator e.g. in the toolbar.

PS: Please excuse the german text in the picture :-)




LicenseGPL
Send to a friend
Subscribe
Other  Apps  from TheNacho
Report inappropriate content



-

 already implemented

 
 by gordin on: Jun 30 2006
 
Score 50%

"kdesu konqueror" will do what you want.
Besides you can always add a open with entry "kdesu kate" for editing files owned by root or another user.
Just add a new entry to your k-menu, then you can say "open with->other.." and choose the entry


Reply to this

-

 not quite

 
 by TheNacho on: Jun 30 2006
 
Score 50%

No, that's not the same thing. "kdesu konqueror" would open a new konqueror window with the start page. But imagine you've got a directory really deep in the filesystem, and you just want to copy a file from another equally deep nested directory there. You would at least have to copy the path and paste it in the new window. Plus, you would loose the current window configuration (split windows, custom views & toolbars, because settings are read from ~root)

By the way, in Ubuntu there is already an option in the kontext menu to open with "kdesu kwrite".


Reply to this

-

 Service menu done!

 
 by peppelorum on: Jul 1 2006
 
Score 50%

To make your wish somewhat real I "hacked" together a service menu

http://www.kde-look.org/content/show.php?content=41801


Reply to this

-

 How's that sound?

 
 by logixoul on: Jul 1 2006
 
Score 50%

I have another idea. Simply ask the user for an applicable password every time they try to do anything non-permitted with a file.
This is of course an inadequate solution for management of many files. But if you're keen to do that, why not just log in as root?


Reply to this

-
.

 Re: Yo

 
 by TheNacho on: Jul 1 2006
 
Score 50%

Yes, that would be nice. You could just drag'n'drop files somewhere, and if you don't have the appropriate rights, konqueror would ask you for your password.

Just an idea, this could be implemented very low-level in the kde file access functions. So if I would try to save a file in kwrite, for which a don't have write access, i wouldn't get an error message, but instead the choice to 'abort' or to do 'su root'.


Reply to this

-

 Re: Re: Yo

 
 by logixoul on: Jul 3 2006
 
Score 50%

Perfect.


Reply to this

-

 Why start new Konqi?

 
 by Wiedi on: Jul 1 2006
 
Score 50%

just type fish://user@localhost/path/you/want
and you'll be prompted for the password.
For example fish://root@localhost/home/otheruser/ allows me to browse the homedir of "otheruser" if i have the root password.

I think using KIO here is better than starting a new konqueror process because your private settings (like customized appearance and themes) still work and it uses less memory.


Reply to this

-

 Re: Why start new Konqi?

 
 by Wiedi on: Jul 1 2006
 
Score 50%

ah sorry, i messed it up - wanted to post it to http://www.kde-apps.org/content/show.php?content=41801


Reply to this

-

 how to

 
 by Anthonis on: Nov 28 2006
 
Score 50%

manual pls how to instal this


Reply to this

Add commentBack






-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.