From owner-p4-projects@FreeBSD.ORG Fri Nov 21 12:07:22 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id CE2C116A4D0; Fri, 21 Nov 2003 12:07:21 -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 A82CB16A4CE for ; Fri, 21 Nov 2003 12:07:21 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0876143FBD for ; Fri, 21 Nov 2003 12:07:21 -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 hALK7KXJ007317 for ; Fri, 21 Nov 2003 12:07:20 -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 hALK7KR4007314 for perforce@freebsd.org; Fri, 21 Nov 2003 12:07:20 -0800 (PST) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Fri, 21 Nov 2003 12:07:20 -0800 (PST) Message-Id: <200311212007.hALK7KR4007314@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 42903 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: Fri, 21 Nov 2003 20:07:22 -0000 http://perforce.freebsd.org/chv.cgi?CH=42903 Change 42903 by rwatson@rwatson_powerbook on 2003/11/21 12:06:18 Instructions for building LoginWindow wrapper library and GUI bits. Instructions for creating extended attribute file. Affected files ... .. //depot/projects/trustedbsd/sedarwin/bootstrap_instructions.txt#6 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin/bootstrap_instructions.txt#6 (text+ko) ==== @@ -185,6 +185,27 @@ XXX cd ../.. +Step 9: Build, Install wslogin and WindowServer wrapper + + In order to allow users to select roles during GUI login, you must + install our WindowServer wrapper. This will cause a dialog box + prompting for a role selection to pop up during login prior to + launching user applications. The process here is somewhat complicated, + as LoginWindow appears not to offer any convenient hooks to allow + this to be done without some subversion of its mechanisms. + + First, build the wslogin dynamic library: + + cd sebsd_system/wslogin + make + + Next, build the wsloginui dialog using Project Builder (command line + ommitted). Install the library and wsloginui dialog tool using: + + sudo make install + + XXX: rename WindowServer, etc. + Step 9: Build SEDarwin Sample Policy We provide a minimal sample policy; due to current limitations in loading the @@ -231,6 +252,10 @@ make ; sudo make install cd ../.. +Step 13: Create extended attribute backing files + + extattrctl initattr -p / 256 /.attribute/system/sebsd + Step 14: Install mac.conf cd etc