From owner-freebsd-questions@FreeBSD.ORG Thu Dec 23 06:31:36 2004 Return-Path: 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 CCD9A16A4CE for ; Thu, 23 Dec 2004 06:31:36 +0000 (GMT) Received: from addr14.addr.com (addr14.addr.com [209.249.147.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAF2B43D39 for ; Thu, 23 Dec 2004 06:31:36 +0000 (GMT) (envelope-from markski@addr14.addr.com) Received: from addr14.addr.com (localhost.addr.com [127.0.0.1]) iBN6VHiu071450 for ; Wed, 22 Dec 2004 22:31:24 -0800 (PST) Received: (from markski@localhost) by addr14.addr.com (8.12.8/8.12.7/Submit) id iBN6UtFc071325 for freebsd-questions@freebsd.org; Wed, 22 Dec 2004 22:30:55 -0800 (PST) Date: Wed, 22 Dec 2004 22:30:50 -0800 From: Mark To: freebsd-questions@freebsd.org Message-ID: <20041222223050.A67744@logik.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i X-ADDRSpamFilter: Passed, probability (0%) X-ADDRSignature: 1036E272 Subject: Xorg & xdm & securelevels X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Dec 2004 06:31:36 -0000 Hello. I realise this may have been covered before and that this may not be the correct list (freebsd-x11 seemed to be more about developement rather than configuration) but anyway: I would like to push my securelevel up to 1 in order to better enforce my security policy (protecting chflags, kernel modules etc) but this of course would break Xorg as it requires access to /dev/io. I've heard that it's possible to run Xorg via xdm whilst the system is booting at securelevel 0 and have the securelevel raised afterwards, effectively allowing X to live in a securelevel > 0 environment. How painful is this to implement? Am I likely to run into any major problems? I've also heard that it's possible to remove the SUID bit from X by using xdm, but that's probably for another thread... Any comments, advice, pointers to articles or screams of distaste are welcomed. Mark