1KDESU(1) KDE User's Manual KDESU(1)
2
3
4
6 kdesu - Runs a program with elevated privileges
7
9 kdesu [-c] [-d] [-f file] [-i icon name] [-n] [-p priority] [-r] [-s]
10 [-t] [-u user] [--nonewdcop] [command [arg1] [arg2] [...]]
11
12 kdesu [KDE Generic Options] [Qt Generic Options]
13
14
16 KDE su is a graphical front end for the UNIX® su command for the K
17 Desktop Environment. It allows you to run a program as different user
18 by supplying the password for that user. KDE su is an unprivileged pro‐
19 gram; it uses the system's su.
20
21
22 KDE su has one additional feature: it can optionally remember passwords
23 for you. If you are using this feature, you only need to enter the
24 password once for each command.
25
26
27 This program is meant to be started from the command line or from
28 .desktop files.
29
30
32 -c program
33 This specifies the program to run as root. It has to be passed
34 in one argument. So if, for example, you want to start a new
35 file manager, you would enter at the prompt: kdesu -c kfm -sw
36
37
38 -d Show debug information.
39
40
41 -f file
42 This option allow efficient use of KDE su in .desktop files. It
43 tells KDE su to examine the file specified by file. If this file
44 is writable by the current user, KDE su will execute the command
45 as the current user. If it is not writable, the command is exe‐
46 cuted as user user (defaults to root).
47
48 file is evaluated like this: if file starts with a /, it is tak‐
49 en as an absolute filename. Otherwise, it is taken as the name
50 of a global KDE configuration file. For example: to configure
51 the K display manager, kdm, you could issue kdesu -c kdmconfig
52 -f kdmrc
53
54
55 -i icon name
56 Specify icon to use in the password dialog. You may specify just
57 the name, without any extension.
58
59
60 -n Do not keep the password. This disables the keep password check‐
61 box in the password dialog.
62
63
64 -p priority
65 Set priority value. The priority is an arbitrary number between
66 0 and 100, where 100 means highest priority, and 0 means lowest.
67 The default is 50.
68
69
70 -r Use realtime scheduling.
71
72
73 -s Stop the kdesu daemon. This is the daemon that caches successful
74 passwords in the background. This feature may also be disabled
75 with -n when KDE su is initially run.
76
77
78 -t Enable terminal output. This disables password keeping. This is
79 largely for debugging purposes; if you want to run a console
80 mode app, use the standard su instead.
81
82
83 -u user
84 While the most common use for KDE su is to run a command as the
85 superuser, you can supply any user name and the appropriate
86 password.
87
88
90 su(1)
91
92
93 More detailed user documentation is available from help:/kdesu (either
94 enter this URL into Konqueror, or run khelpcenter help:/kdesu).
95
96
98 Run kfmclient as user jim, and show the Konqueror icon in the password
99 dialog:
100
101
102 kdesu -u jim -i konqueror kfmclient
103
105 KDE su was written by Geert Jansen <jansen@kde.org> and Pietro Iglio
106 <iglio@fub.it>.
107
108
110 Lauri Watts.
111
112
113
114K Desktop Environment Jun 7, 2005 KDESU(1)