From: Linda Knippers <linda.knippers@hp.com>
To: Xavier Toth <txtoth@gmail.com>
Cc: selinux@tycho.nsa.gov
Subject: Re: polyinstantiation, what should happen?
Date: Wed, 17 Jan 2007 18:48:44 -0500 [thread overview]
Message-ID: <45AEB5DC.9060105@hp.com> (raw)
In-Reply-To: <cadfc0e40701171501j5ebbc57fn6ea9c652fbcc946b@mail.gmail.com>
Xavier Toth wrote:
> I'm running the lspp.63 kernel along with the latest pam and newrole
> off of Dan Walsh' people page.
>
> I've configured polyinstantiation but it doesn't work the way I
> thought it would so either I don't understand or I've got it
> configured wrong. In namespace.conf I've specified that I want context
> to be used for the polyinstantiated instance directories but I only
> getting the user name. Shouldn't the directory name contain the entire
> an context?
Perhaps. I think the method field specifies when you want to polyinstantiate,
not necessarily what the instance names are, although it makes sense that
the directories would be named using the context and the user name.
I use "level" instead of "context" on my system and I get directory names that
have the full context, including level, plus the user name. By specifying
"level" but I only get a new instance when I change levels, not when I change
roles.
My namespace.conf looks like this, if you want to give that a try:
/tmp /tmp/tmp-inst/ level root,adm
/var/tmp /var/tmp/tmp-inst/ level root,adm
$HOME /home/home.inst/ level root,adm
Do you have any interesting messages in /var/log/secure? Since you have
the the debug option on your pam_namespace.so lines you should see messages
when it creates an instance directory.
-- ljk
> Also I'm running X so I followed the instructions on the pam_namespace
> man page but wasn't sure whether /etc/pam.d/gdm needed unmnt_remnt as
> su and newrole do?
>
> Ted
--
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.
next prev parent reply other threads:[~2007-01-17 23:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-17 23:01 polyinstantiation, what should happen? Xavier Toth
2007-01-17 23:48 ` Linda Knippers [this message]
2007-01-18 14:55 ` Stephen Smalley
2007-01-18 19:46 ` Xavier Toth
2007-01-19 19:12 ` Linda Knippers
2007-01-22 21:30 ` Ted X Toth
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=45AEB5DC.9060105@hp.com \
--to=linda.knippers@hp.com \
--cc=selinux@tycho.nsa.gov \
--cc=txtoth@gmail.com \
/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.