From owner-freebsd-questions@FreeBSD.ORG Fri Nov 17 20:38:20 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 457A016A407 for ; Fri, 17 Nov 2006 20:38:20 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0B2343D49 for ; Fri, 17 Nov 2006 20:38:19 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAHKcJWM012605 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 17 Nov 2006 12:38:19 -0800 X-Auth-Received: from [128.208.4.96] (dzihan.cs.washington.edu [128.208.4.96]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAHKcIWa003593 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 17 Nov 2006 12:38:19 -0800 Message-ID: <455E1DBA.6050400@u.washington.edu> Date: Fri, 17 Nov 2006 12:38:18 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.8 (X11/20061108) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20061117192628.GA41603@ducati-748.3rdrock.kicks-ass.net> <44ejs17skn.fsf@be-well.ilk.org> In-Reply-To: <44ejs17skn.fsf@be-well.ilk.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.17.122432 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: deny of x sessions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Nov 2006 20:38:20 -0000 Lowell Gilbert wrote: > "Alain G. Fabry" writes: > > >> Thanks, problem is solved. I rebooted in single user mode and then the file could be modified. >> > > Make sure that the permissions and flags on the file are set so that > next time you want to change it, you can do so from multiuser mode. > I don't see any security reason for protecting this file more than > normal write modes. I think that the real problem is that you're missing something with KDM (settings wise), and it was overwriting the settings each time with the changes it received while you were operating in multi-user mode with your account (which should have been no changes, unless you modified something inadvertently). Try shutting down KDM, this prior to modifying the file. You _really_ don't want to connect to an X session remotely or your regular user account via telnet. Be sure that you know the security implications of doing this, before doing it. -Garrett