* the new default_contexts file
@ 2002-10-30 22:36 Russell Coker
2002-10-30 22:45 ` Stephen Smalley
0 siblings, 1 reply; 3+ messages in thread
From: Russell Coker @ 2002-10-30 22:36 UTC (permalink / raw
To: selinux
The idea of having key-value pairs where the key is the partial context of the
daemon is good.
However only being able to specify an order is not good.
I would like to be able to have two users, user "a" gets user_r:user_t by
default while user "b" gets second_r:second_t by default even though both
users are authorised for both roles.
--
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/ My home page
--
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: the new default_contexts file
2002-10-30 22:36 the new default_contexts file Russell Coker
@ 2002-10-30 22:45 ` Stephen Smalley
2002-10-30 22:57 ` Russell Coker
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Smalley @ 2002-10-30 22:45 UTC (permalink / raw
To: Russell Coker; +Cc: selinux
On Wed, 30 Oct 2002, Russell Coker wrote:
> The idea of having key-value pairs where the key is the partial context of the
> daemon is good.
>
> However only being able to specify an order is not good.
>
> I would like to be able to have two users, user "a" gets user_r:user_t by
> default while user "b" gets second_r:second_t by default even though both
> users are authorised for both roles.
This can be customized on a per-user basis by the user via a
$HOME/.default_contexts file. Same syntax as the main configuration file,
and it takes precedence.
--
Stephen D. Smalley, NAI Labs
ssmalley@nai.com
--
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: the new default_contexts file
2002-10-30 22:45 ` Stephen Smalley
@ 2002-10-30 22:57 ` Russell Coker
0 siblings, 0 replies; 3+ messages in thread
From: Russell Coker @ 2002-10-30 22:57 UTC (permalink / raw
To: Stephen Smalley; +Cc: selinux
On Wed, 30 Oct 2002 23:45, Stephen Smalley wrote:
> On Wed, 30 Oct 2002, Russell Coker wrote:
> > The idea of having key-value pairs where the key is the partial context
> > of the daemon is good.
> >
> > However only being able to specify an order is not good.
> >
> > I would like to be able to have two users, user "a" gets user_r:user_t by
> > default while user "b" gets second_r:second_t by default even though both
> > users are authorised for both roles.
>
> This can be customized on a per-user basis by the user via a
> $HOME/.default_contexts file. Same syntax as the main configuration file,
> and it takes precedence.
OK. Should we define a new type for the default_contexts file then and allow
the various login programs read access?
--
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/ My home page
--
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-10-30 22:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-30 22:36 the new default_contexts file Russell Coker
2002-10-30 22:45 ` Stephen Smalley
2002-10-30 22:57 ` Russell Coker
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.