KDEsu
client.h
Go to the documentation of this file.
63 int exec(const QByteArray &command, const QByteArray &user, const QByteArray &options=0, const QList<QByteArray> &env=QList<QByteArray>());
int setScheduler(int scheduler)
Set the desired scheduler (optional), see StubProcess.
Definition client.cpp:271
int delVars(const QByteArray &special_key)
Delete all persistent variables with the given key.
Definition client.cpp:373
int delCommand(const QByteArray &command, const QByteArray &user)
Remove a password for a user/command.
Definition client.cpp:280
QList< QByteArray > getKeys(const QByteArray &group)
Gets all the keys that are membes of the given group.
Definition client.cpp:314
int setPass(const char *pass, int timeout)
Set root's password, lasts one session.
Definition client.cpp:223
int delGroup(const QByteArray &group)
Delete all persistent variables in a group.
Definition client.cpp:365
int setPriority(int priority)
Set the desired priority (optional), see StubProcess.
Definition client.cpp:262
int exec(const QByteArray &command, const QByteArray &user, const QByteArray &options=0, const QList< QByteArray > &env=QList< QByteArray >())
Lets kdesud execute a command.
Definition client.cpp:233
int setVar(const QByteArray &key, const QByteArray &value, int timeout=0, const QByteArray &group=0)
Set a persistent variable.
Definition client.cpp:289
bool isServerSGID()
Returns true if the server is safe (installed setgid), false otherwise.
Definition client.cpp:413
bool findGroup(const QByteArray &group)
Returns true if the specified group exists is cached.
Definition client.cpp:347
int timeout
Definition client.cpp:41
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.