kdesud1
Runs a program with elevated privileges.
Part of kdesu(1).
Usage
kdesu [Qt-options]
[KDE-options]
[kdesu
options]
command
Overview
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.
Options
Generic options:
-
--help -
Show help about options
-
--help-qt -
Show Qt specific options
-
--help-kde -
Show KDE specific options
-
--help-all -
Show all options
-
--author -
Show author information
-
-v, --version -
Show version information
-
--license -
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]
-
-n -
Do not keep password
-
-s -
Stop the daemon (forgets all passwords)
-
-t -
Enable terminal output (no password keeping)
-
-p <prio> -
Set priority value: 0 <= prio <= 100, 0 is lowest [default is 50]
-
-r -
Use realtime scheduling
-
--nonewdcop -
Let command use existing dcopserver
- -i <icon name>
-
Specify icon to use in the password dialog
-
-d -
Do not show the command to be run in the dialog
Arguments:
command-
Specifies the command to run
Configuration files
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.
Examples
The configuration item for the configuration files is the following:
[super-user-command]
super-user-command=sudo
Releases
Unchanged in 2 releases since Debian 4.0 (Etch).