All of lore.kernel.org
 help / color / mirror / Atom feed
From: Diyab <diyab@diyab.net>
To: Dale Amon <amon@vnl.com>
Cc: Tom <tom@lemuria.org>, SELinux Mail List <selinux@tycho.nsa.gov>
Subject: Re: ssh policy hassles
Date: Thu, 25 Sep 2003 08:55:56 -0400	[thread overview]
Message-ID: <3F72E5DC.20603@diyab.net> (raw)
In-Reply-To: <20030925102955.GC10234@vnl.com>

Dale Amon wrote:
> On Thu, Sep 25, 2003 at 08:46:17AM +0200, Tom wrote:
>>You might want to define a special type for the empty dir, so you can
>>move it around and don't have to give sshd access to all of /var
> 

I did this when I installed it on slackware.  In ssh.fc I added

	/var/empty	system_u:object_r:sshd_privsep_dir_t

and in sshd.te I added

	type sshd_privsep_dir_t, file_type, sysadmfile;

and

	allow sshd_t sshd_privsep_dir_t:dir { getattr search };

Timothy,

-- 
I put instant coffee in a microwave and almost went back in time.
		-- Steven Wright


--
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:[~2003-09-25 12:56 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-24 21:55 ssh policy hassles Inger, Slav (S.B.)
2003-09-24 22:11 ` Dale Amon
2003-09-24 22:27   ` Dale Amon
2003-09-25  3:01     ` Diyab
2003-09-25  8:30       ` Dale Amon
2003-09-25  6:46   ` Tom
2003-09-25  8:14     ` Russell Coker
2003-09-25 10:29     ` Dale Amon
2003-09-25 12:55       ` Diyab [this message]
2003-09-25 16:47         ` Russell Coker
2003-09-26  0:16           ` Diyab
2003-09-26  2:42             ` Russell Coker
2003-09-29 20:27               ` SELinux & UML FAQ Nick Davis
2003-09-29 20:51                 ` Stephen Smalley
2003-09-30  6:36                 ` Russell Coker
  -- strict thread matches above, loose matches on Subject: below --
2003-09-23 15:09 Some minor thoughts on syntax/semantics Dale Amon
2003-09-24 13:34 ` Russell Coker
2003-09-24 20:31   ` ssh policy hassles Dale Amon
2003-09-24 21:20     ` Kerry Thompson
2003-09-25  3:32     ` Russell Coker
2003-09-25 10:44       ` Dale Amon
2003-09-25 11:31         ` Dale Amon
2003-09-25 12:17         ` Dale Amon
2003-09-25 12:21           ` Russell Coker
2003-09-25 12:55             ` Stephen Smalley
2003-09-25 14:20               ` Dale Amon
2003-09-27 10:47               ` Dale Amon
     [not found] ` <20030927133244.GC22582@vnl.com>
     [not found]   ` <20030927133352.GD22582@vnl.com>
2003-09-27 14:13     ` Russell Coker
2003-09-27 23:00       ` Dale Amon

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=3F72E5DC.20603@diyab.net \
    --to=diyab@diyab.net \
    --cc=amon@vnl.com \
    --cc=selinux@tycho.nsa.gov \
    --cc=tom@lemuria.org \
    /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.