Best way to run a KDE application as another user?
Patrick O'Callaghan
pocallaghan at gmail.com
Mon Feb 18 13:00:59 UTC 2013
On Mon, 2013-02-18 at 10:53 +0100, M. Fioretti wrote:
> Hi,
>
> I am looking for the best/safest way (if it exists) to set up Fedora
> to make it possible for users B, C, etc..., when logged in with their
> userid and password, to run one and one only KDE application as if
> they were user A. That is, the equivalent of
>
> - opening a terminal
> - type su - A
> - launch the desided program from the prompt
>
> but "wrapped" so it is either one command one can launche from the
> system menu, or from the command line, without "su -" and/or typing
> passwords.
>
> I do know about sudo, and if this were for a shell script I'd have no
> problem. However, KDE apps need several environment variables around,
> kbuildsycoca and all that, so any pointer and comment is welcome.
Try kdesu. The man page has a specific example which seems to match what
you want.
poc
More information about the users
mailing list