All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Russell Coker <russell@coker.com.au>
Cc: SE-Linux <selinux@tycho.nsa.gov>
Subject: Re: successful cupsys admin: advantages of running pam_selinux
Date: Sun, 6 Jun 2004 10:22:15 +0000	[thread overview]
Message-ID: <20040606102215.GC9675@lkcl.net> (raw)
In-Reply-To: <200406061946.26814.russell@coker.com.au>

On Sun, Jun 06, 2004 at 07:46:26PM +1000, Russell Coker wrote:
> On Sun, 6 Jun 2004 10:08, Luke Kenneth Casson Leighton <lkcl@lkcl.net> wrote:
> > it is with some amazement that, by adding pam_selinux to /etc/pam.d/cups
> > and by adding an ordinary user to the lpadmin group that i was able
> > to have that ordinary user set up a local printer and actually print
> > to it (openoffice).
> 
> How does cups use pam_selinux?
 
  umm....

> Cups doesn't spawn a shell, and even if it tried the policy does not permit 
> domain transitions to user domains.
> 
> Cups doesn't have any terminal devices to relabel.

 i'll do an experiment: i'll remove the entry pam_selinux from
 /etc/pam.d/cups and see if i can add a printer...
 
 ... and it works.  hey, that's even better.

 thanks!

 l.


--
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-06-06 10:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-06  0:08 successful cupsys admin: advantages of running pam_selinux Luke Kenneth Casson Leighton
2004-06-06  9:46 ` Russell Coker
2004-06-06 10:22   ` Luke Kenneth Casson Leighton [this message]
2004-06-06 11:05 ` 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=20040606102215.GC9675@lkcl.net \
    --to=lkcl@lkcl.net \
    --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.