Received: from jazzhorn.ncsc.mil (mummy.ncsc.mil [144.51.88.129]) by tycho.ncsc.mil (8.12.8/8.12.8) with ESMTP id iBAGS5Ii021250 for ; Fri, 10 Dec 2004 11:28:05 -0500 (EST) Received: from mx1.redhat.com (jazzhorn.ncsc.mil [144.51.5.9]) by jazzhorn.ncsc.mil (8.12.10/8.12.10) with ESMTP id iBAGQOwi006013 for ; Fri, 10 Dec 2004 16:26:27 GMT Subject: Re: Single home directory type for all roles. From: Colin Walters To: Stephen Smalley Cc: Daniel J Walsh , Russell Coker , SE Linux list , Joshua Brindle , Jim Carter , Nalin Dahyabhai In-Reply-To: <1102684310.1628.12.camel@moss-spartans.epoch.ncsc.mil> References: <20041207000805.GH3678@jmh.mhn.de> <1102534349.30962.25.camel@moss-lions.epoch.ncsc.mil> <41B8826D.30105@redhat.com> <1102613299.10785.21.camel@nexus.verbum.private> <1102615344.4509.39.camel@aeon> <41B8AB69.1060805@redhat.com> <1102623195.4509.86.camel@aeon> <41B8B409.4070807@redhat.com> <1102631395.10785.25.camel@nexus.verbum.private> <1102684310.1628.12.camel@moss-spartans.epoch.ncsc.mil> Content-Type: text/plain Date: Fri, 10 Dec 2004 11:28:04 -0500 Message-Id: <1102696085.10785.51.camel@nexus.verbum.private> Mime-Version: 1.0 Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov On Fri, 2004-12-10 at 08:11 -0500, Stephen Smalley wrote: > On Thu, 2004-12-09 at 17:29, Colin Walters wrote: > > On Thu, 2004-12-09 at 15:22 -0500, Daniel J Walsh wrote: > > > > > BTW I like the idea of defaulting to staff_r. I think we should do that > > > and turn off user_canbe_sysadm. > > > > Fully agreed on this btw. > > I'm not sure about this proposal. Remember that I reworked user.te so > that user_canbe_sysadm does not convey all of the permissions of staff_t > to user_t (i.e. the full priv_user macro); it only conveys the > reach_sysadm permissions for using su/sudo/userhelper to reach sysadm. Ok, that makes sense. > Also, if you have everyone default to staff_r, including user_u, then if > you ever want to enable the user/staff separation, you have to relabel > all of the home directories for people you want to put back into user_r, > which is likely a larger set than the ones you want to put into > staff_r. Well, I think we want to avoid switching user roles as much as possible; if we have integrated roles into useradd, then the system administrator can add any additional users they want into user_r or staff_r as desired. -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.