From owner-freebsd-questions Mon Oct 8 18:44:57 2001 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id 2640837B407 for ; Mon, 8 Oct 2001 18:44:54 -0700 (PDT) Received: from jonc.itouch ([192.168.2.21]) by itouch.co.nz with esmtp (Exim 3.33 #1) id 15qlwz-000Eo2-00; Tue, 09 Oct 2001 14:44:53 +1300 Received: (from jonc@localhost) by jonc.itouch (8.11.6/8.11.6) id f991ipI04979; Tue, 9 Oct 2001 14:44:51 +1300 (NZDT) (envelope-from jonc) Date: Tue, 9 Oct 2001 14:44:51 +1300 From: Jonathan Chen To: louie miranda Cc: freebsd-questions@freebsd.org Subject: Re: Xwindows / KDE Q. Message-ID: <20011009144451.A4925@jonc.itouch> References: <20011008212140.W13268-100000@cactus.fi.uba.ar> <02df01c15062$be7a7cc0$e458a8c0@ph.inter.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <02df01c15062$be7a7cc0$e458a8c0@ph.inter.net>; from mirandaj@team.ph.inter.net on Tue, Oct 09, 2001 at 09:35:57AM +0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Oct 09, 2001 at 09:35:57AM +0800, louie miranda wrote: > Hi, on XWIN/KDE - when u lock the screen.. > the screen locks, but when i enter > > CTRL + ALT + F1 -- it exits the XWIN/KDE system, and prompts me to terminal1 > and the KDE is still running and if i press CTRL + C the KDE/WIN > cancells/shutdowns.. > > what can i do to prevent this from happening? You could read the port notes /usr/ports/x11/kdebase2/pkg-message: ************************** I M P O R T A N T **************************** This package (kdebase2) installs a program called kcheckpass which is used by kdm or screensavers to check the user's password. This activity requires it to be setuid root. However, for security reasons, FreeBSD leaves the setuid bit on this binary off by default, for several reasons. First, some people may not use screensavers or kdm at all. Second, others may choose to use a different screensaver or display manager utility. And finally, there may be holes in kcheckpass which can be exploited to gain root privileges. FreeBSD chooses not to take that risk with the default package. If you decide that you need it setuid root, you can make it so: chmod u+s ${PREFIX}/bin/kcheckpass ..where ${PREFIX} is the prefix where this package was installed. It is typically /usr/local but may also be /usr/X11R6 or /usr. -- Jonathan Chen ---------------------------------------------------------------------- Do not take life too seriously. You will never get out of it alive. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message