Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

1
Become a Fan
5.0

Available as/for:
Description:
this is my proposal to patch kdesu(i will make the code), so i post it here first to receive some feedback from you before coding

see screenshots

Ratings & Comments

17 Comments

sheean

It's good, but it would prolly look nicer without the useless banner on the left.

rADOn

i definitely agree, integration with kdm user selection would be great. enhancing kdesu is good idea but you have to keep in mind that most people use kdesu just to slam in root password and don't need fancy user selection and bloaty eyecandy, so any enhancement to kdesu should be optional. personaly i like the idea but would prefer some less obtrusive way to select users. say - classic kdesu dialog with password plus edit field for typing in username manually, with history/autocompletion. plus, optionaly, button which would pop up selection box with all possible names or toggle iconview. what do you think ?

lucher

Well, let's take a glance at su: su [option] [user] [shell_args] kdesu should have a similar syntax just add a new option to get the user selection dialog

anmaster

I agree. 9 times out of 10 I just want to enter the root password.

fungs

This patch will make kdesu easier to use for beginners, but consider that in almost all cases the user wants to run the desired program as super user. Maybe preselection of the root user will help that. Another tip is, to keep the ability of manually editing/inserting the users name. This will avoid to switch to the mouse when one is used to work with the keyboard. Since you have designed a nice side graphic there is no need to remove it, but please don't let it get too huge, it looks oversized then. Another suggestion of mine for those who like eye candy ist the integration of the kdm login user graphics for user selection. This might bloat the code though. Please keep on doing what you planned.

dolio

One thing I'd like to request, as long is you're rewriting kdesu, is that you investigate including optional sudo support. Reading the bugzilla, it seems that the kdesu maintainers are either uninterested in providing this, or are interested but don't have the time/resources. I'd really like to be able to totally lock root logins and only use sudo, but currently I can't do that in KDE (Gnome, or at least Ubuntu, has successfully done this, so you might look at their stuff for how to go about it). If you can't get to this though, don't worry about it. It'd just be a nice feature, and probably an even better argument for replacing the old kdesu. Cheers.

ringo

I say keep the damn picture on the left. If it works AND it looks snazzy then that's great.

Maxilys

You have my vote. You should however think about adding an editfield to edit the command line or enter just a new one. We never use kdesu without a command line so having a way to edit it on the fly shouldn't be such a bad idea. Eventually an history of the last kdesu'ed action would get us closer from perfection... ;-) As for the image on the left, just make it switchable so the ones who don't like this feature can just switch it off. I think it's totally useless but it's also one of the things that makes this new kdesu so attractive.

frankqn1

Very good idea. Witch desktop theme you're using?

davidf

What is the "Ignore" button supposed to do? I don't think the picture on the left side fulfills any real purpose, the application name is shown in the title bar, so better remove it. Great idea anyway!

Maxilys

The ignore button already exists in actual kdesu (at least in KDE 3.4b1), it allows you to complete the action with your current access rights i.e. to by-pass kdesu.

ris

Not all users always have a group. These users would be invisible/unselectable with your screen. There should be a way of just typing the username in. Having to click around can be very annoying when you have a lot of users. The standard unix way of denoting users is user:group rather than user/group. Should there be a way of greying things out if the user isn't in wheel? Other than that, interesting.

djworld

To be coherent with the rest of KDE, I think the button order should be Run - Cancel, instead of Cancel - Run. Apart from it, I like the idea.

tagwar

You should add possibility to choose the program to start as user. So one could do alt+f2, kdesu (or whatever you want to call it), choose program and user and run it..

Yaba

user/group is not Unix like Syntax. user:group would be better. And I think the display of the users should be shown after clicking on an 'Expand' or 'Advanced' button and not by default.

blaster999

I like your concept - in fact this is what I really would like to see in the next KDE release. The only suggestion - this should be made a separate app, not a patch/replacement for kdesu. When a script or application calls "kdesu foo", it expects that foo will be run as root (w/o asking which user to run as), but your app will ask "Run as who?". Keep up the good work - I can't wait to see this great app!

lucher

Hmmm. You can still patch kdesu as long as it behaves like the old kdesu when typing "kdesu appname"

Pling
0 Affiliates
Details
license
version 0.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More Various KDE 1.-4. Improvements from jrch2k:

KDE GL Extreme requesting your help
jrch2k
last update date: 22 years ago

Score 5.0

Other Various KDE 1.-4. Improvements:

Slicker Debian Package for Woody
cirrusgr
last update date: 22 years ago

Score 5.0

Konqueror/kdesktop suggestion
PovMan
last update date: 22 years ago

Score 5.0

Biiig buttons
dbojan
last update date: 20 years ago

Score 5.0

Yet Another KControl
Frans
last update date: 21 years ago

Score 5.0

Next window and next/previos window
dbojan
last update date: 20 years ago

Score 5.0

Fantasie Toolbar
katoe
last update date: 19 years ago

Score 5.0