Subject: Re: secadm question From: Jeremiah Jahn To: "Christopher J. PeBenito" Cc: Stephen Smalley , Paul Moore , selinux In-Reply-To: <1203092610.13618.58.camel@gorn> References: <1203030583.3669.197.camel@bluejay.goodinassociates.com> <200802150855.47722.paul.moore@hp.com> <1203088187.3669.241.camel@bluejay.goodinassociates.com> <1203088562.16038.196.camel@moss-spartans.epoch.ncsc.mil> <1203089944.13618.40.camel@gorn> <1203091760.3669.249.camel@bluejay.goodinassociates.com> <1203091792.13618.56.camel@gorn> <1203092070.3669.251.camel@bluejay.goodinassociates.com> <1203092610.13618.58.camel@gorn> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-nRRpBYoHXdV1si2Br5X9" Date: Fri, 15 Feb 2008 10:36:55 -0600 Message-Id: <1203093415.3669.258.camel@bluejay.goodinassociates.com> Mime-Version: 1.0 Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov --=-nRRpBYoHXdV1si2Br5X9 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Since I'm working with the source, Would it be effective for me to go through and remove the sysadm rules that allow it to futz w/ the policies?=20 On Fri, 2008-02-15 at 11:23 -0500, Christopher J. PeBenito wrote: > On Fri, 2008-02-15 at 10:14 -0600, Jeremiah Jahn wrote: > > true, but I thought there was a tunable/boolean the disabled all that > > for sysadm >=20 > No, there isn't. It suffers the problems I discussed below. >=20 > > On Fri, 2008-02-15 at 11:09 -0500, Christopher J. PeBenito wrote: > > > On Fri, 2008-02-15 at 10:09 -0600, Jeremiah Jahn wrote: > > > > So for my purposes, to would probably be best to just make a secadm > > > > user/role and add follow most of the interface for the original sec= adm > > > > role? > > >=20 > > > You could do that, but it wouldn't stop sysadm from being able to do = all > > > the secadm things too, defeating the purpose of having a secadm in th= e > > > first place :) > > >=20 > > > > On Fri, 2008-02-15 at 10:39 -0500, Christopher J. PeBenito wrote: > > > > > On Fri, 2008-02-15 at 10:16 -0500, Stephen Smalley wrote: > > > > > > On Fri, 2008-02-15 at 09:09 -0600, Jeremiah Jahn wrote: > > > > > > > So if I change my build.conf to be mls I should be up and run= ning. I'm > > > > > > > on RHEL5 btw > > > > > >=20 > > > > > > Chris - how hard would it be to make this a separate tunable so= that > > > > > > people who want a separate security admin can turn that on with= out > > > > > > enabling MLS? > > > > >=20 > > > > > Problematic. The security admin pieces are nicely abstracted int= o an > > > > > interface. However, the problem is that it has some typeattribut= e > > > > > statements, so we can't put that in a conditional. > > > > >=20 > > > > > There are two things that will eventually make this possible. Th= e plan > > > > > is to move roles into their own modules, and at that point you sh= ould be > > > > > able to just insert the secadm module. > > > > >=20 > > > > > > > On Fri, 2008-02-15 at 08:55 -0500, Paul Moore wrote: > > > > > > > > On Thursday 14 February 2008 6:09:43 pm Jeremiah Jahn wrote= : > > > > > > > > > I see a number of places where the secadm_r role shows up= , but It > > > > > > > > > doesn't show up in the list of users and what not, Is the= re something > > > > > > > > > simple I need to enable it, or do I need to build it fro= m scratch? > > > > > > > > > My goal it to have sysadm not able to modify policy enfor= cement, and > > > > > > > > > my secadm not be able to do anything but. If there is a s= tandard way > > > > > > > > > to do this, I'd love to know. > > > > > > > >=20 > > > > > > > > I believe the secadm_r role is only defined for the "mls" p= olicy builds;=20 > > > > > > > > if you are running a "mcs" (the Fedora default) policy I do= n't think=20 > > > > > > > > the secadm_r role is present. > > > > > > > >=20 > > > > > > > Boy, n.: A noise with dirt on it. > > > > "Consequences, Schmonsequences, as long as I'm rich." -- "Ali Baba > > > > Bunny" [1957, Chuck Jones] > > First Law of Bicycling: No matter which way you ride, it's uphill and > > against the wind. San Francisco, n.: Marcel Proust editing an issue of Penthouse. --=-nRRpBYoHXdV1si2Br5X9 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBHtb+n6caZY8jbHDkRAprHAJ9JT0Cow6jJYdMFOxZ2DDKilaEG3QCfefCF m0nl2B48P+OKv1j7eMliNMA= =18tO -----END PGP SIGNATURE----- --=-nRRpBYoHXdV1si2Br5X9-- -- 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.