All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: Todd Miller <Tmiller@tresys.com>
Cc: Stephen Smalley <sds@tycho.nsa.gov>,
	Stefan Schulze Frielinghaus <stefan@seekline.net>,
	SE Linux <selinux@tycho.nsa.gov>
Subject: Re: Resend: Sudo Changes for SELinux
Date: Tue, 19 Feb 2008 14:47:12 -0500	[thread overview]
Message-ID: <47BB3240.3010300@redhat.com> (raw)
In-Reply-To: <6FE441CD9F0C0C479F2D88F959B015880181F2BF@exchange.columbia.tresys.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Todd Miller wrote:
> Daniel J Walsh wrote:
>> You are the boss.  Move it to /usr/libexec.  And I will fix policy to
>> label it correctly.  I would not put SELinux awareness into the
>> install, that is either "install", rpm. dpkg problem.
> 
> OK, I changed the path and updated the tarball.  Glad I don't have to
> worry about the label.
> 
>  - todd
There seems to be a bug. When I exit the shell it is not setting my tty
back.

In permissive mode.

$ ls -lZ `tty`
crw--w----  dwalsh tty staff_u:object_r:staff_devpts_t:s0 /dev/pts/2
 sudo sh
# ls -lZ `tty`
crw--w----  dwalsh tty staff_u:object_r:unconfined_devpts_t:s0 /dev/pts/2
# exit
$ ls -lZ `tty`
crw--w----  dwalsh tty staff_u:object_r:unconfined_devpts_t:s0 /dev/pts/2

In enforcing mode it kills the shell  :^(

I have it setup as staff_t and unconfined_t for root.


Other than this it looks greate.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAke7MkAACgkQrlYvE4MpobMX3ACfa/DoyI4J9NaJDsm93fX7ptZk
Ya4AnifwZsH8iLGjAhYF2n7Aaf+As0Xo
=NQhj
-----END PGP SIGNATURE-----

--
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:[~2008-02-19 19:47 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-09 16:01 Sudo Changes for SELinux Daniel J Walsh
2008-01-09 17:51 ` Todd Miller
2008-01-09 18:23   ` Stephen Smalley
2008-01-10 19:23     ` Daniel J Walsh
2008-01-10 20:01       ` Stefan Schulze Frielinghaus
2008-01-11 14:37         ` Daniel J Walsh
2008-01-11 15:32           ` Stephen Smalley
2008-01-11 15:38             ` Stephen Smalley
2008-01-11 16:45               ` Daniel J Walsh
2008-01-11 19:10               ` Daniel J Walsh
2008-01-30 14:52                 ` Resend: " Daniel J Walsh
2008-01-31  0:35                   ` Accurately setting Security Context of a user when ssh-ing in Hasan Rezaul-CHR010
2008-01-31  0:30                     ` Dave Quigley
2008-02-05  0:44                       ` Hasan Rezaul-CHR010
2008-02-05 13:01                         ` Stephen Smalley
2008-02-07  4:13                           ` Hasan Rezaul-CHR010
2008-02-07 14:16                             ` Stephen Smalley
     [not found]                               ` <D06FE0A2807BC145B0D38744789D4F5D045B7963@de01exm68.ds.mot.com>
     [not found]                                 ` <1202842666.24250.112.camel@moss-spartans.epoch.ncsc.mil>
2008-02-12 23:01                                   ` Hasan Rezaul-CHR010
2008-02-13 14:38                                     ` Stephen Smalley
2008-02-13 20:02                                       ` Hasan Rezaul-CHR010
2008-02-13 20:23                                         ` Stephen Smalley
2008-02-14 15:05                                           ` Stephen Smalley
2008-02-06 14:59                   ` Resend: Sudo Changes for SELinux Todd Miller
2008-02-06 15:28                     ` Daniel J Walsh
2008-02-07 17:03                       ` Todd Miller
2008-02-07 17:20                         ` Daniel J Walsh
2008-02-07 17:51                           ` Todd Miller
2008-02-19 19:47                             ` Daniel J Walsh [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=47BB3240.3010300@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=Tmiller@tresys.com \
    --cc=sds@tycho.nsa.gov \
    --cc=selinux@tycho.nsa.gov \
    --cc=stefan@seekline.net \
    /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.