kdesu − Runs a program with elevated privileges


kdesu [−c command] [−d] [−f file] [−i icon name] [−n] [−p priority] [−r] [−s] [−t] [−u user] [−−noignorebutton] [−−attach winid]

kdesu [KDE Generic Options] [Qt Generic Options]


KDE su is a graphical front end for the UNIX®su command for the K Desktop Environment. It allows you to run a program as different user by supplying the password for that user. KDE su is an unprivileged program; it uses the system's su.

KDE su has one additional feature: it can optionally remember passwords for you. If you are using this feature, you only need to enter the password once for each command.

This program is meant to be started from the command line or from .desktop files.

Since kdesu is no longer installed in
$(kde4−config −−prefix)
/bin but in kde4−config −−path libexec and therefore not in your Path, you have to use $(kde4−config −−path libexec)kdesu to launch kdesu.


−c command

This specifies the command to run as root. It has to be passed in one argument. So if, for example, you want to start a new file manager, you would enter at the prompt: $(kde4−config −−path libexec)kdesu −c Dolphin


Show debug information.

−f file

This option allow efficient use of KDE su in .desktop files. It tells KDE su to examine the file specified by file. If this file is writable by the current user, KDE su will execute the command as the current user. If it is not writable, the command is executed as user user (defaults to root).

file is evaluated like this: if file starts with a /, it is taken as an absolute filename. Otherwise, it is taken as the name of a global KDE configuration file.

−i icon name

Specify icon to use in the password dialog. You may specify just the name, without any extension.


Do not keep the password. This disables the keep password checkbox in the password dialog.

−p priority

Set priority value. The priority is an arbitrary number between 0 and 100, where 100 means highest priority, and 0 means lowest. The default is 50.


Use realtime scheduling.


Stop the kdesu daemon. This is the daemon that caches successful passwords in the background. This feature may also be disabled with −n when KDE su is initially run.


Enable terminal output. This disables password keeping. This is largely for debugging purposes; if you want to run a console mode app, use the standard su instead.

−u user

While the most common use for KDE su is to run a command as the superuser, you can supply any user name and the appropriate password.


Do not display an ignore button.

−−attach winid

Makes the dialog transient for an X app specified by winid.



More detailed user documentation is available from help:/kdesu (either enter this URL into Konqueror, or run khelpcenter help:/kdesu).


Run kfmclient as user jim, and show the Konqueror icon in the password dialog:

$(kde4−config −−path libexec)kdesu −u jim −i konqueror kfmclient


KDE su was written by Geert Jansen<jansen@kde.org> and Pietro Iglio<iglio@fub.it>.


Lauri Watts <lauri@kde.org>


More Linux Commands

intel_upload_blit_large_map(1) - microbenchmark of Intel GPU
intel_upload_blit_large_map is a microbenchmark tool for DRM performance. It should be run with kernel modesetting enabled, and may require root privilege for c

trivial-rewrite(8) - Postfix address rewriting and resolving
The trivial-rewrite(8) daemon processes three types of client service requests: rewrite context address Rewrite an address to standard form, according to the ad

glColor4dv(3gl) - set the current color - Linux manual page
The GL stores both a current single-valued color index and a current four-valued RGBA color. glColor sets a new four-valued RGBA color. glColor has two major va

aio_write(3) - asynchronous write - Linux manual page.......
The aio_write() function queues the I/O request described by the buffer pointed to by aiocbp. This function is the asynchronous analog of write(2). The argument

ber_alloc_t(3) - OpenLDAP LBER simplified Basic Encoding Rul
ber_alloc_t.3 - These routines provide a subroutine interface to a simplified implementation of the Basic Encoding Rules of ASN.1. The version of BER these rout

flushinp(3ncurses) - miscellaneous curses utility routines
The unctrl routine returns a character string which is a printable representation of the character c, ignoring attributes. Control characters are displayed in t

getchar_unlocked(3) - nonlocking stdio functions (Man Page)
Each of these functions has the same behavior as its counterpart without the _unlocked suffix, except that they do not use locking (they do not set locks themse

FcConfigUptoDate(3) - Check timestamps on config files......
Checks all of the files related to config and returns whether any of them has been modified since the configuration was created. If config is NULL, the current

tiff2ps(1) convert a TIFF image to PostScripttrade..........
tiff2ps reads TIFF images and writes PostScript or Encapsulated PostScript (EPS) on the standard output. By default, tiff2ps writes Encapsulated PostScript for

attr_setf(3) - set the value of a user attribute of a filesy
The attr_set and attr_setf functions provide a way to create attributes and set/change their values. Path points to a path name for a filesystem object, and fd

ber_get_null(3) - OpenLDAP LBER simplified Basic Encoding Ru
These routines provide a subroutine interface to a simplified implementation of the Basic Encoding Rules of ASN.1. The version of BER these routines support is

vimdiff(1) - edit two, three or four versions of a file with
vimdiff.1 - Vimdiff starts Vim on two (or three or four) files. Each file gets its own window. The differences between the files are highlighted. This is a nice

We can't live, work or learn in freedom unless the software we use is free.