From owner-freebsd-questions@FreeBSD.ORG Sat Apr 11 19:14:15 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 6CD97E99 for ; Sat, 11 Apr 2015 19:14:15 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2A1EFB4F for ; Sat, 11 Apr 2015 19:14:14 +0000 (UTC) Received: from r56.edvax.de (port-92-195-6-207.dynamic.qsc.de [92.195.6.207]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id D3CA327644; Sat, 11 Apr 2015 21:14:12 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t3BJEC7q002647; Sat, 11 Apr 2015 21:14:12 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 11 Apr 2015 21:14:12 +0200 From: Polytropon To: Matthias Apitz Subject: Re: Use "kdesu" in KDE Message-Id: <20150411211412.c8e802ba.freebsd@edvax.de> In-Reply-To: <20150411190312.GA2366@c720-r276659> References: <20150411205533.6b65d4b3.freebsd@edvax.de> <20150411190312.GA2366@c720-r276659> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: arnab bhowmick , freebsd-questions@freebsd.org 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 19:14:15 -0000 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... 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. Interesting... > But, who needs 'kdesu' is you have a terminal, xterm, ... and 'su' Right; "su" should work for almost everything. On Sun, 12 Apr 2015 00:31:29 +0530, arnab bhowmick wrote: > thanks friend. But kdesu or su- is not working As we know now, "kdesu" doesn't seem to be available anymore... no idea... But you should be able to use "su" without problems. Open a terminal (KDE's "Konsole" or simply run "xterm") and enter: su root What happens? (You can copy/paste from the terminal session.) Please note: You have to add your user to the "wheel" group if you want to su to root (just entering "su" will default to root, if no other username is provided; "su -" and "su -l" means the same; see "man su" for details). In order to make this change, switch to a virtual terminal by pressing Ctrl+Alt+PF1 and login as root. Then enter: pw usermod -G wheel where is your own user name. You can also manually add the name to the "wheel" line in /etc/group. Then logout again ("exit"). Switch back to your X session by pressing Ctrl+Alt+PF9. The change is in effect immediately. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...