All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Valdis.Kletnieks@vt.edu
Cc: SE-Linux <selinux@tycho.nsa.gov>
Subject: Re: paranoid FC3 setup: banning all login access (!)
Date: Wed, 22 Dec 2004 09:25:38 +0000	[thread overview]
Message-ID: <20041222092538.GV6364@lkcl.net> (raw)
In-Reply-To: <200412220406.iBM46g0D019149@turing-police.cc.vt.edu>

On Tue, Dec 21, 2004 at 11:06:41PM -0500, Valdis.Kletnieks@vt.edu wrote:

> On Mon, 20 Dec 2004 16:00:39 GMT, Luke Kenneth Casson Leighton said:
> > 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).
> 
> Umm.. how about this:
> 
> # chkconfig sshd off
> # chkconfig telnetd off
> 
> and then 'grep -v getty' to remove those from /etc/inittab?

 that's the practical side: thank you.

 i hope to recommend removing even the selinux policy that
 allows getty, sshd, telnetd and other login mechanisms from
 being run by users (!)

 
> Leave the ctrl-alt-del entry in inittab, and have a grub entry
> that boots with init=/bin/bash or similar single-user setup.
 
 ... with enable=0 most likely for simplicity, and no networking.

 the key issue is whether the customer says that running
 "enable=0" in that single-user no-networking mode is okay.

 if they say "no it isn't" then i will need to go further, as
 david caplan recommends, by instead of removing the selinux
 policy for getty, to enable it via a dynamic boolean.

 l.

-- 
--
<a href="http://lkcl.net">http://lkcl.net</a>
--

--
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.

      reply	other threads:[~2004-12-22  9:14 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
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 [this message]

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=20041222092538.GV6364@lkcl.net \
    --to=lkcl@lkcl.net \
    --cc=Valdis.Kletnieks@vt.edu \
    --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.