Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

kwalletcli(1) [debian man page]

KWALLETCLI(1)						    BSD General Commands Manual 					     KWALLETCLI(1)

NAME
kwalletcli -- command line interface to the KDE Wallet SYNOPSIS
kwalletcli [-q] -hV kwalletcli [-q] -f folder -e entry [-P | -p password] DESCRIPTION
The kwalletcli utility is a command line interface to KWallet. It will only work if KDE is running (DCOP) and reachable (via X11). kwalletcli can be used to get password entries from the Wallet, or to write them there. The options are as follows: -e entry Define the key (entry) to use when accessing the Wallet. Mandatory. -f folder Set the folder to use when accessing the Wallet. Mandatory. -h Display the usage. -P Read the password to write from standard input. Currently limited to 65535 octets. -p password Write password into the designated location in the Wallet. -q Be more quiet. In combination with -V, do not display anything. -V Display the kwalletcli version information. Default mode of operation, that is, unless -P or -p are used, is to read the password from the Wallet and print it to standard output as-is, without any trailing newline. All input and output is assumed to be in UTF-8. The password string (whether read from standard input or command line) is now converted from ``possibly UTF-8 but binary transparent'' to standards-conformant UTF-8 for the Qt side, and back upon reading out. RETURN VALUES
The kwalletcli utility exits 0 on success or >0 if an error occurred: 1 The entry specified cannot be found (read access). 2 The usage was shown. 3 The Wallet could not be opened. May be a missing DCOP connection. Perhaps DISPLAY is not set. 4 The folder specified cannot be found (read access). 5 The folder specified cannot be opened. 6 The value to the key specified could not be retrieved. 8 An error occured trying to write the value. The exit codes 1 and 4, on reading, are not fatal; they merely indicate that the folder or entry specified does not exist. The other errors are fatal and may be used to indicate the user that the KWallet should not be used any more during the current session. ENVIRONMENT
DISPLAY The X11 display to use for communicating with the KDE Wallet. SEE ALSO
kwalletcli_getpin(1) AUTHORS
kwalletcli was written by Thorsten Glaser <tg@mirbsd.org> mostly for tarent GmbH. CAVEATS
Do not use -p password to store it, unless you absolutely must. It is a security risk, because the command line invocation is public infor- mation in a normal Unix environment. Use -P instead and provide the password on standard input. Beware of trailing newlines, especially outside of mksh(1) scripts! BUGS
If DISPLAY is not set, not valid, or kdeinit or kdeinit4 cannot start for other reasons, kwalletcli may not recover gracefully. In KDE 4 versions, this may even result in a Segmentation fault. The author does not know of a way to catch this early; patches are welcome. There is no way (yet) to set a wallet other than the default wallet. While this is a possible enhancement to the kwalletcli CLI, there is no feasible way to expose this functionality to the various front-ends, such as pinentry-kwallet(1), anyway, so the priority of fixing this is low. BSD
April 9, 2011 BSD

Check Out this Related Man Page

KDESU(1)							 KDE User's Manual							  KDESU(1)

NAME
kdesu - Runs a program with elevated privileges SYNOPSIS
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] DESCRIPTION
KDE su is a graphical front end for the UNIX(R)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. OPTIONS
-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 -d 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. -n 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. -r Use realtime scheduling. -s 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. -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 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. --noignorebutton Do not display an ignore button. --attach winid Makes the dialog transient for an X app specified by winid. SEE ALSO
su(1) 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: $(kde4-config --path libexec)kdesu -u jim -i konqueror kfmclient AUTHORS
KDE su was written by Geert Jansen<jansen@kde.org> and Pietro Iglio<iglio@fub.it>. AUTHOR
Lauri Watts <lauri@kde.org> Author. K Desktop Environment 2010-09-18 KDESU(1)
Man Page