From owner-p4-projects@FreeBSD.ORG Sun Nov 23 20:11:43 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 4655E16A4D0; Sun, 23 Nov 2003 20:11:43 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F18AA16A4CE for ; Sun, 23 Nov 2003 20:11:42 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51C7B43FE1 for ; Sun, 23 Nov 2003 20:11:42 -0800 (PST) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAO4BgXJ053697 for ; Sun, 23 Nov 2003 20:11:42 -0800 (PST) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAO4Bfhd053694 for perforce@freebsd.org; Sun, 23 Nov 2003 20:11:41 -0800 (PST) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Sun, 23 Nov 2003 20:11:41 -0800 (PST) Message-Id: <200311240411.hAO4Bfhd053694@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Subject: PERFORCE change 42983 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2003 04:11:43 -0000 http://perforce.freebsd.org/chv.cgi?CH=42983 Change 42983 by rwatson@rwatson_paprika on 2003/11/23 20:10:56 Add instructions to set the label on RealWindowServer after booting tin single-user mode, or you won't be able to log in when in enforcing mode. Affected files ... .. //depot/projects/trustedbsd/sedarwin/bootstrap_instructions.txt#22 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin/bootstrap_instructions.txt#22 (text+ko) ==== @@ -299,4 +299,17 @@ Step 18: Reboot At this point, you should now have a new Darwin kernel, support libraries, - command line tools, and configuration files installed. Reboot. + command line tools, and configuration files installed. Reboot to single- + user mode by pressing Command-S during the boot. Check the file system + and mount the root file system writable: + + /sbin/fsck -y + /sbin/mount -uw / + + Now set the label on the WindowServer binary so that it can transition + during login: + + setfmac sebsd/system_u:object_r:login_exec_t \ + /System/Library/CoreServices/RealWindowServer + + Missing this step will result in login attempts failing.