From owner-freebsd-questions@FreeBSD.ORG Sat Apr 11 20:55:31 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 48FD1180 for ; Sat, 11 Apr 2015 20:55:31 +0000 (UTC) Received: from avasout07.plus.net (avasout07.plus.net [84.93.230.235]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CA1AC6E7 for ; Sat, 11 Apr 2015 20:55:29 +0000 (UTC) Received: from curlew.milibyte.co.uk ([80.229.31.82]) by avasout07 with smtp id EkvJ1q0011mJoLY01kvKHU; Sat, 11 Apr 2015 21:55:20 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=fZwjyigF c=1 sm=1 tr=0 a=cd0K7rcWwnZFf6xQxRobyA==:117 a=cd0K7rcWwnZFf6xQxRobyA==:17 a=D7rCoLxHAAAA:8 a=0Bzu9jTXAAAA:8 a=19pAxiUZ1PoA:10 a=kj9zAlcOel0A:10 a=e9J7MTPGsLIA:10 a=Qy_mulVG7L0s4XZtw5wA:9 a=CjuIK1q_8ugA:10 Received: from curlew.lan ([192.168.1.13] helo=milibyte.co.uk) by curlew.milibyte.co.uk with esmtp (Exim 4.85) (envelope-from ) id 1Yh2Qv-0002AN-EI; Sat, 11 Apr 2015 21:55:17 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org, Polytropon Date: Sat, 11 Apr 2015 21:55:16 +0100 Message-ID: <4358779.WdKTPnpt2K@curlew.lan> User-Agent: KMail/4.14.3 (FreeBSD/10.1-RELEASE-p9; KDE/4.14.3; amd64; ; ) In-Reply-To: <20150411211412.c8e802ba.freebsd@edvax.de> References: <20150411190312.GA2366@c720-r276659> <20150411211412.c8e802ba.freebsd@edvax.de> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 192.168.1.13 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on curlew.lan X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Subject: Re: Use "kdesu" in KDE Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on curlew.milibyte.co.uk) Cc: arnab bhowmick , Matthias Apitz X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Apr 2015 20:55:31 -0000 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