From: David Caplan <dac@tresys.com>
To: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
Cc: SE-Linux <selinux@tycho.nsa.gov>, selinuxdev <selinux-dev@tresys.com>
Subject: Re: paranoid FC3 setup: banning all login access (!)
Date: Mon, 20 Dec 2004 14:27:45 -0500 [thread overview]
Message-ID: <41C727B1.4080709@tresys.com> (raw)
In-Reply-To: <20041220160039.GE24188@lkcl.net>
Luke Kenneth Casson Leighton wrote:
> hi,
>
> i have a requirement for setting up a server that might even ban
> logins - even admin logins.
>
> the only things that should be allowed are reboot (ctrl-alt-delete at
> console) and services (e.g apache).
>
> my question is, therefore: is it possible to _conveniently_
> load a completely different selinux policy file (by typing
> "linux init 3" or other incantation at the grub prompt)
>
> what i want to be able to do is say to my customer "yes, in
> order to do upgrades and maintenance, you press ctrl-alt-delete,
> selection option 2) on the boot-loader menu, and you will be
> dropped into standard admin mode. when you are done, reboot
> again and let it go back into 'paranoid' mode")
>
> can anyone help advise?
>
How about using a conditional expression (aka "boolean")? That way you can
have a whole chunk of plicy that gets turned on only when you need it
(maintenance mode). All of the types would always be defined, but the
rules would only be active when the conditional expression/boolean is
turned on/off. That way you also don't run into the labeling insanity you
might encounter with two distinct policies.
David
--
__________________________________
David Caplan 410 290 1411 x105
dac@tresys.com
Tresys Technology, LLC
8840 Stanford Blvd., Suite 2100
Columbia, MD 21045
--
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.
next prev parent reply other threads:[~2004-12-20 18:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-20 16:00 paranoid FC3 setup: banning all login access (!) Luke Kenneth Casson Leighton
2004-12-20 19:27 ` David Caplan [this message]
2004-12-21 0:23 ` Luke Kenneth Casson Leighton
2004-12-22 4:06 ` Valdis.Kletnieks
2004-12-22 9:25 ` Luke Kenneth Casson Leighton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41C727B1.4080709@tresys.com \
--to=dac@tresys.com \
--cc=lkcl@lkcl.net \
--cc=selinux-dev@tresys.com \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.