Hlavní navigace



kdesu - Runs a program with elevated privileges.


kdesu [Qt-options] [KDE-options] [kdesu options] command


Runs a program with elevated privileges.
KDE su is a graphical front end to the Unix su utility. It allows you to run programs as another user by entering their password. It is not a SUID root program, but runs unprivileged. The system program su is used for acquiring special privileges.
kdesu has the ability to store passwords for the convenience of users. The passwords are NOT written to disk, but stored in memory using a special program, kdesud. This is only done if the user specifies that the password be remembered. In this case, passwords are stored in memory for a certain period of time before being removed. kdesud runs in such a way that only the user who entered the password originally can use it, though no one, not even the user who originally entered the password, can retrieve the password that is stored by kdesud. Through these measures, users can avoid having to repeatedly enter root passwords or other passwords, without a significant risk to overall system security.
kdesu uses normally su to gain root by using the root password. kdesu can also be configured to use other commands to gain root like sudo to use users password.


Generic options:

Show help about options
Show Qt specific options
Show KDE specific options
Show all options
Show author information
-v, --version
Show version information
Show license information

kdesu Options:

-c <command>
Specifies the command to run
-f <file>
Run command under target uid if <file> is not writable
-u <user>
Specifies the target uid [default is root]
Do not keep password
Stop the daemon (forgets all passwords)
Enable terminal output (no password keeping)
-p <prio>
Set priority value: 0 <= prio <= 100, 0 is lowest [default is 50]
Use realtime scheduling
Let command use existing dcopserver
-i <icon name>
Specify icon to use in the password dialog
Do not show the command to be run in the dialog


Specifies the command to run


kdesu can be configured with a default configuration file /etc/kde3/kdesurc and with a per user configuration file in .kde/share/config/kdesurc. Alternative a section could be added to kdeglobals.


The configuration item for the configuration files is the following:


Full user documentation is available through the KDE Help Center. You can also enter the URL R help:/kdesu/ directly into konqueror or you can run R `khelpcenter help:/kdesu/' from the command-line.


Geert Jansen <jansen@kde.org>
Pietro Iglio <iglio@fub.it>
This manual page was written by Christopher Martin <chrsmrtn@debian.org> for Debian GNU/Linux, but may be used by others. It borrows from an earlier manpage by Karolina Lindqvist <pgd-karolinali@algonet.se>.