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 iBAFm6Ii020969 for ; Fri, 10 Dec 2004 10:48:06 -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 iBAFkPwi002817 for ; Fri, 10 Dec 2004 15:46:28 GMT Subject: Re: Single home directory type for all roles. From: Colin Walters To: Russell Coker Cc: Daniel J Walsh , Stephen Smalley , SE Linux list , Joshua Brindle , Jim Carter , Nalin Dahyabhai In-Reply-To: <1102645414.4509.105.camel@aeon> 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> <1102632223.10785.36.camel@nexus.verbum.private> <1102645414.4509.105.camel@aeon> Content-Type: text/plain Date: Fri, 10 Dec 2004 10:48:02 -0500 Message-Id: <1102693682.10785.44.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 13:23 +1100, Russell Coker wrote: > On Thu, 2004-12-09 at 17:43 -0500, Colin Walters wrote: > > On Fri, 2004-12-10 at 05:02 +1100, Russell Coker wrote: > > > Currently the default policy has /root labeled as staff_home_dir_t. > > > This significantly weakens the boundaries between staff_r and sysadm_r. > > > > I don't see there as being an interesting boundary between staff_r and > > sysadm_r. The reason I see staff_r as separated is because it has no > > interaction with user_r, which closes a lot of possible attacks. > > Among other things a default configuration allows sshd to permit logins > as staff_r but not sysadm_r. If a sshd was suspected to be compromised > then you could login at the console as sysadm_r to fix things IFF /root > was not writable to staff_r domains. If a session launched by sshd can > directly modify files under /root then if you suspected a sshd > compromise then the only option would be to boot from recovery media. If you want this, then why not just make your normal account user_r, and log in as root on the console? > Also note that many daemons look for configuration or data files > under /root, this is due to bugs in daemons but many of them are not > expected to be fixed for quite a while. Point, but we should fix those bugs. -- 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.