KDESU(1)
๐ KDESU โ ok bestie, let's get you root (the โจniceโจ way)
so like. kdesu is the KDE User's Manual's lil star, and its whole thing is runs a program with elevated privileges. that's it. that's the vibe. ๐
โจ NAME โจ
kdesu โ runs a program with elevated privileges ๐ซถ
๐ธ SYNOPSIS ๐ธ
no cap, here's the whole shape of it:
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(TM) Generic Options]
๐ DESCRIPTION ๐
okay so real talk: KDE su is a graphical front end for the UNIXยฎ su command for the K Desktop Environment. it lets you run a program as a different user by supplying the password for that user. and here's the slay part โ KDE su is an unprivileged program; it uses the system's su. it's not out here doing sketchy things, it's just a cute little front door. ๐ชโจ
KDE su has one additional feature (main character energy, honestly): it can optionally remember passwords for you. if you're using this feature, you only need to enter the password once for each command. obsessed. ๐
this program is meant to be started from the command line or from .desktop files. both valid. both iconic.
and here's the plot twist you need to know: since kdesu is no longer installed in $(kf5-config --prefix)/bin but in kf5-config --path libexec, and therefore not in your Path, you have to use $(kf5-config --path libexec)kdesu to launch kdesu. iykyk. the way it's just... not where you think it is ๐ญ
๐ฆ OPTIONS ๐ฆ
one bullet per flag, no skipping, we don't do that here:
-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:$(kf5-config --path libexec)kdesu -c Dolphin-dโ show debug information. spy era. ๐-f fileโ this option allows efficient use of KDE su in.desktopfiles. 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 toroot).
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. cute lil glow-up for your dialog ๐-nโ do not keep the password. this disables the keep password checkbox in the password dialog. no memory, no notes, we move on. ๐-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.-rโ use realtime scheduling. โก-sโ stop thekdesudaemon. this is the daemon that caches successful passwords in the background. this feature may also be disabled with-nwhen KDE su is initially run.-tโ enable terminal output. this disables password keeping. this is largely for debugging purposes; if you want to run a console mode app, use the standardsuinstead. (yes bestie, it's giving "wrong tool for the job," go usesu๐)-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. pick your fighter. ๐--noignorebuttonโ do not display an ignore button.--attach winidโ makes the dialog transient for an X app specified by winid. ๐ช
๐ SEE ALSO ๐
more detailed user documentation is available from help:/kdesu โ either enter this URL into Konqueror, or run khelpcenter help:/kdesu. โจ
๐ EXAMPLES ๐
run kfmclient as user jim, and show the Konqueror icon in the password dialog:
$(kf5-config --path libexec)kdesu -u jim -i konqueror kfmclient
look at that. clean. efficient. ate. ๐ฅ
๐ AUTHORS ๐
KDE su was written by Geert Jansen <g.t.jansen@stud.tue.nl> and Pietro Iglio <iglio@fub.it>. legends, fr fr. ๐ซถ
โญ AUTHOR โญ
Lauri Watts <lauri@kde.org>
- Author.
๐ก friendly reminder from your girl: this whole page is from the K Desktop Environment crew, dated 2010-09-18, and it lives in the manual as KDESU(1). screenshot it, bookmark it, tattoo it, whatever works. bye bestie, go elevate those privileges responsibly ๐
๐ธโจ
๐ฆ where this page comes from
- arch rolling: kde-cli-tools 6.8.2-1 ยท LGPL-2.0-or-later
- epel 10: kdesu 1:6.7.5-1.el10_3 ยท Artistic-2.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-only AND LGPL-3.0-only AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only)
- epel 9: kdesu 1:5.27.12-1.el9 ยท GPLv2+
- fedora 43: kdesu 1:6.4.5-1.fc43 ยท Artistic-2.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-only AND LGPL-3.0-only AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only)
- fedora 43: kdesu 1:6.7.5-1.fc43 ยท Artistic-2.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-only AND LGPL-3.0-only AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only)
- fedora 44: kdesu 1:6.6.4-1.fc44 ยท Artistic-2.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-only AND LGPL-3.0-only AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only)
- fedora 44: kdesu 1:6.7.5-1.fc44
- fedora 44: kdesu 1:6.8.2-1.fc44 ยท Artistic-2.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-only AND LGPL-3.0-only AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only)
- nixos 26.05: kde-cli-tools 6.6.6
- nixpkgs unstable: kde-cli-tools 6.8.2
- opensuse-leap 16.0: kde-cli-tools6 6.4.2-bp160.1.2 ยท GPL-2.0-or-later
- opensuse-leap 16.0: kde-cli-tools6 6.4.2-bp160.1.2 ยท GPL-2.0-or-later
- opensuse-leap 16.0: kde-cli-tools6 6.4.2-bp160.1.2 ยท GPL-2.0-or-later
- opensuse-leap 16.0: kde-cli-tools6 6.4.2-bp160.1.2 ยท GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms