From: Colin Walters <walters@verbum.org>
To: Russell Coker <russell@coker.com.au>
Cc: SE Linux <selinux@tycho.nsa.gov>
Subject: Re: rssh.{te,fc}
Date: 07 Jul 2003 13:39:35 -0400 [thread overview]
Message-ID: <1057599574.20306.6.camel@columbia> (raw)
In-Reply-To: <200307072014.38841.russell@coker.com.au>
On Mon, 2003-07-07 at 06:14, Russell Coker wrote:
> The policy itself looks OK, but I'm not sure about the concept.
>
> Maybe it would be better to have full_user_role(rssh) and then change the
> sshd.te to have something like the following:
> dnl domain_trans($1, shell_exec_t, unpriv_userdomain)
> domain_trans($1, shell_exec_t, { user_t staff_t })
> domain_trans($1, rssh_exec_t, rssh_t)
That's exactly what I don't want!
> Of course this relies on the rssh program to prevent the user from getting an
> interactive shell.
Yeah, and I just don't really trust rssh that much; similar programs
like rbash have had a fairly bad security history as I understand it,
although rssh tries to do less than rbash does.
With rssh.te, even if they manage to crack rssh, they can basically only
still manipulate files with type rssh_archive_t; they can't create
network sockets or do other things.
> Another possibility is to implement the functionality of rssh in SE Linux
> policy alone. We could have separate macros for the different areas of
> functionality provided by full_user_role() and make it easy to create a role
> with a sub-set of that functionality (user.te is a mess anyway and really
> needs to be sorted out).
That would definitely be useful. I have some things I want to do before
working on it though. You know, I'm thinking we need some sort of TODO
list somewhere...
--
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.
prev parent reply other threads:[~2003-07-07 17:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-07 4:22 rssh.{te,fc} Colin Walters
2003-07-07 10:14 ` rssh.{te,fc} Russell Coker
2003-07-07 12:39 ` rssh.{te,fc} Tom
2003-07-07 17:39 ` Colin Walters [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=1057599574.20306.6.camel@columbia \
--to=walters@verbum.org \
--cc=russell@coker.com.au \
--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.