From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-user+bounces-115161-garchives=archives.gentoo.org@lists.gentoo.org>) id 1OzQy1-0004rr-31 for garchives@archives.gentoo.org; Sat, 25 Sep 2010 09:22:49 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 646E9E0852; Sat, 25 Sep 2010 09:21:49 +0000 (UTC) Received: from mail-yw0-f53.google.com (mail-yw0-f53.google.com [209.85.213.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 47FB5E0852 for <gentoo-user@lists.gentoo.org>; Sat, 25 Sep 2010 09:21:49 +0000 (UTC) Received: by ywf7 with SMTP id 7so2280447ywf.40 for <gentoo-user@lists.gentoo.org>; Sat, 25 Sep 2010 02:21:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=bx4UsJskaL2EeWsUAiamYDa9Ai1Zotz+PCM1ipc18qo=; b=Op0P+2h8WYLDufd7Me8Hlor0Wi5z8lBx6nZJCuVBu8ut9zC4dqFuJ7m1x9bEgaf+Vd LdMXftJvLLoErWIOh/XEPM64UhKjT9zLVyDOG0xNn3dC0AeNjfykANdC/avQFrkEJC1c C9kaaLYQ88lAUXcOEsF7NZiWqVPpBMen0rdnI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=u0Qb1iAoIhPuXTYj5TZzM/ZnOR2L+eaGi+1B2sgSZuj0Aw3K7sMMCRTSJcp/ITIs5i CCYXemTlqXwHouu5wSz9/hWnfDSpe3D1e1FpF1e7SqqTFo7qzeU00uCJC9LEXSoBByL6 BOVRJ/g1aq2wH+5f+VKRzeXsQ1qzfNjdohjJg= Received: by 10.101.144.4 with SMTP id w4mr5090458ann.196.1285406508932; Sat, 25 Sep 2010 02:21:48 -0700 (PDT) Received: from [192.168.1.2] (adsl-0-124-136.jan.bellsouth.net [65.0.124.136]) by mx.google.com with ESMTPS id h5sm5076952anb.28.2010.09.25.02.21.47 (version=SSLv3 cipher=RC4-MD5); Sat, 25 Sep 2010 02:21:47 -0700 (PDT) Message-ID: <4C9DBF29.7030800@gmail.com> Date: Sat, 25 Sep 2010 04:21:45 -0500 From: Dale <rdalek1967@gmail.com> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.13) Gecko/20100920 Gentoo/2.0.8-r1 SeaMonkey/2.0.8 Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: X programs as root References: <AANLkTinBaqD3JSdRveng96=htC=P_NCbgX85O2fr6LLi@mail.gmail.com> <i7jcin$g01$1@dough.gmane.org> <4C9D666D.7090509@gmail.com> <201009251344.49529.yohan.pereira@gmail.com> In-Reply-To: <201009251344.49529.yohan.pereira@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: dd513b3d-e361-43fe-8db8-b99e06c298bf X-Archives-Hash: d0a6709af66cb71416b4b1506bfd6dd8 Yohan Pereira wrote: > On Saturday 25 September 2010 8:33:09 am Dale wrote: > >> Well, I don't really know what it is using. I just set up the menu item >> to run the program as root. >> > i assume you mean you setup a menuitem to run a paticular application as root > like say to run konsole/konqueror as root. > > >> I don't know if it uses su -, kdesu, sudo >> > if its a menu item then it has to use kdesu, because sudo and su both take the > password from teh std input (you wont get a gui prompt to enter the password), > and nothing will happen. all you have to do is fire up the menu editor, go to > your menu entry and make sure the command field looks like this "kdesu > konsole", if it does look like that , try running kdesu from a konsole session > and see what it prints out (it may not be installed for starters). > > You are assuming correctly above. The way I have always had to set this up is like this. Set up the menu item like I would with any other user. In the Advanced tab, I set it to run as user root. When I then select to run the item from the menu, a little GUI window will pop up and ask me for the root password. This has worked in KDE3 for ages and I don't recall having any trouble with it all. KDE4 has been changing things around and I have had to rework things a couple times as KDE4 seems to keep changing the way things work. I suspect you may be right, that it uses kdesu. Just to make sure it wasn't a wrong version installed, this is what I have: root@smoker / # equery list -p kdesu * Searching for kdesu ... [-P-] [ ] kde-base/kdesu-4.4.5:4.4 [IP-] [ ] kde-base/kdesu-4.5.1:4.5 root@smoker / # So, I do have the latest at least. I'll try to re-emerge it although I think I already did that once. I know I tried re-emerging some other packages trying to get this to work again. What gets me, I have Dolphin set up the same way, it works just fine. I can also run Konqueror from a root Konsole and it works fine there. It just doesn't like the menu item for some reason. I suspect it doesn't like kdesu for some reason. Maybe it's a bug and will be fixed or it may be a new "feature". Who knows. Dale :-) :-)