From owner-freebsd-security Sat Dec 15 14:27:45 2001 Delivered-To: freebsd-security@freebsd.org Received: from picard.skynet.be (picard.skynet.be [195.238.3.131]) by hub.freebsd.org (Postfix) with ESMTP id 0094A37B41A for ; Sat, 15 Dec 2001 14:27:39 -0800 (PST) Received: from skynet.be (dialup119.herentals.skynet.be [195.238.28.119]) by picard.skynet.be (8.11.6/8.11.6/Skynet-OUT-2.16) with ESMTP id fBFMRFi29090; Sat, 15 Dec 2001 23:27:15 +0100 (MET) (envelope-from ) Message-ID: <3C1BCE3B.4010102@skynet.be> Date: Sat, 15 Dec 2001 23:27:07 +0100 From: Raf Schietekat Reply-To: Raf_Schietekat@ieee.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: Matt Piechota Cc: FreeBSD-security@FreeBSD.org Subject: Re: kdm grants ordinary users root access on 4.4-R References: <20011215132828.P59641-100000@cithaeron.argolis.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Matt Piechota wrote: >[...] > Strange. My kde2 (or are we talking kde1?) doesn't show this behavior. The problem doesn't occur in KDE (from /stand/sysinstall, which is Release 2.2 according to Konqueror's "About KDE") with startx or with xdm, only with kdm: do you mean you are using kdm without this problem? > I have used kcontrol the last day or two, and I have no root owned files > in my home. Although that would shock me since my home is nfs mounted > without root privs. This was from a user session when logged in through kdm, nothing to do with kcontrol (that was a reference to something else, in the original FreeBSD-questions discussion). > > While kcontrol *does* claim that the user is root, I don't seem to have > any rootly power to change things, such as the kdm properties. I thinking > kde2 is having problems with the freebsd passwd, although I don't know > why. I also haven't figured out why kde won't accept my password to > unlock the screen saver, of the root password so I *can* modify the kdm > settings as myself. I've been meaning to peek at the code to see why > those two bit don't work. Last time I tried, I could run kcontrol from su root in a KDE Konsole shell, and it was able to change System/Login Manager settings. If it is started without su root, I cannot give it root privileges through the window asking for root's password that appears after clicking Modify; similar thing when trying to set the time from the clock in the bottom-right corner ("Conversation with su failed."), if I were inclined to use that instead of my command-line su-root adjtime(2) wrapper (no permanent connection for NTP). I also can't unlock the screen saver. But those are all different issues from the subject of this thread. > > As for the lack of response, I suppose that if I were very security > conscious, I wouldn't be running kde (or probably X) in the first place. So, if you have the temerity to run X, you're on your own, ey? :-) > There probably aren't too many people on the list that are running kde. :) Raf Schietekat To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message