Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Apr 2015 21:55:16 +0100
From:      Mike Clarke <jmc-freebsd2@milibyte.co.uk>
To:        freebsd-questions@freebsd.org, Polytropon <freebsd@edvax.de>
Cc:        arnab bhowmick <arnabbhowmick111@gmail.com>, Matthias Apitz <guru@unixarea.de>
Subject:   Re: Use "kdesu" in KDE
Message-ID:  <4358779.WdKTPnpt2K@curlew.lan>
In-Reply-To: <20150411211412.c8e802ba.freebsd@edvax.de>
References:  <CAGk=YH45E5S7S-9P53eoKJbYce82iVD1950gDfNMvDqab1D4xA@mail.gmail.com> <20150411190312.GA2366@c720-r276659> <20150411211412.c8e802ba.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 11 Apr 2015 21:14:12 Polytropon wrote:
> On Sat, 11 Apr 2015 21:03:12 +0200, Matthias Apitz wrote:
> > Hmmm:
> > 
> >
> > $ kdesu date
> > sh: kdesu: not found
> 
> Thanks for verifying! Interesting that it's not part of
> KDE anymore...

It's still there - /usr/local/lib/kde4/libexec/kdesu

curlew:/home/mike% pkg which /usr/local/lib/kde4/libexec/kdesu
/usr/local/lib/kde4/libexec/kdesu was installed by package kde-runtime-4.14.3

I think it's  in libexec because it's not normally expected to be invoked from 
the command line but is utilised by the menu editor and ALT+F2 when you tick 
the box to run a program as a different user.
 
> On the other hand, I remember that KDE had some built-in
> means to "switch to root" (at least on Linux), but I
> cannot remember where this option was located or how it
> was called.

That's kdesu

> > But, who needs 'kdesu' is you have a terminal, xterm, ... and 'su'

Kdesu enables you to open new windows as root without needing to mess with 
xhost or .Xauthority. Useful for running things like wireshark.

-- 
Mike Clarke



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4358779.WdKTPnpt2K>