From: Daniel J Walsh <dwalsh@redhat.com>
To: Ivan Valeriev Gyurdiev <ivg2@cornell.edu>
Cc: Stephen Smalley <sds@tycho.nsa.gov>,
SELinux List <selinux@tycho.nsa.gov>,
Joshua Brindle <jbrindle@tresys.com>
Subject: Re: [SEMANAGE] Rename seuser -> seuser_local
Date: Wed, 25 Jan 2006 12:55:00 -0500 [thread overview]
Message-ID: <43D7BB74.30300@redhat.com> (raw)
In-Reply-To: <3595.128.253.53.165.1138210295.squirrel@webmail.cornell.edu>
Ivan Valeriev Gyurdiev wrote:
>> On Wed, 2006-01-25 at 11:07 -0500, Ivan Valeriev Gyurdiev wrote:
>>
>>>> On Fri, 2006-01-20 at 16:34 -0700, Ivan Gyurdiev wrote:
>>>>
>>>>> Seuser functions and dbase have incorrect names, since originally I
>>>>>
>>> did
>>>
>>>>> not think we'd have seusers.system. I must have asked about this, but
>>>>> regardless, I now think that a systems file will likely be necessary,
>>>>>
>>> so
>>>
>>>>> this patch renames all seuser-related things to _local, which leaves
>>>>> space for a _policy set of functions. It updates dependencies and
>>>>> manpages. This is an API change.
>>>>>
>>>>> I think we should add users_extra.system and seusers.system into the
>>>>> package format.
>>>>>
>>>> Sorry, what is the motivation for this change, i.e. what is the system
>>>> seusers file for?
>>>>
>>> That will allow us to configure per-policy defaults for certain users
>>> like
>>> root, __default__. We could also configure more restricted SELinux users
>>> for certain "system" users like daemon users,or things like a guest
>>> account. It seems wrong to hardcode those defaults into the libselinux
>>> library rather than policy.
>>>
>> That doesn't really seem consistent with the intended usage of seusers,
>> IIUC. The policy package just needs to set up the initial state for
>> seusers upon the initial install (which it does from %post presently,
>> installing a seusers file from the policy package into the store, with
>> separate ones for targeted, mls, and strict), and then all subsequent
>> changes should occur via semanage. Do we expect updated policy packages
>> to ship updates to that initial state that should take precedence over
>> local configuration done via semanage?
>>
>>
>
> Well, I guess Dan would be the one to ask that question.
>
No, and if they did we could do it via semanage.
> It seems to me that this could be a desirable capability in the future.
> Also, remember that this means that the user can apply non-additive
> changes to the seuser file - in other words, the delete function will
> clear not only local changes, but will completely remove the __default__,
> or root user if requested, reverting back to libselinux defaults (not
> post-script defaults). Not sure if this is a good idea...
>
>
Yes this would be bad.
> The current naming scheme seemed inconsistent, which is why I sent a patch
> for it. Whether or not a .system file is added, the rename improves
> consistency with current usage - places seusers function in the _local
> namespace where they belong.
>
>
--
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:[~2006-01-25 17:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-20 23:34 [SEMANAGE] Rename seuser -> seuser_local Ivan Gyurdiev
2006-01-23 12:52 ` Stephen Smalley
2006-01-25 16:07 ` Ivan Valeriev Gyurdiev
2006-01-25 16:28 ` Stephen Smalley
2006-01-25 17:31 ` Ivan Valeriev Gyurdiev
2006-01-25 17:55 ` Daniel J Walsh [this message]
2006-01-25 18:11 ` Stephen Smalley
2006-01-25 20:51 ` Daniel J Walsh
2006-01-25 21:05 ` Ivan Valeriev Gyurdiev
2006-01-27 20:52 ` Stephen Smalley
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=43D7BB74.30300@redhat.com \
--to=dwalsh@redhat.com \
--cc=ivg2@cornell.edu \
--cc=jbrindle@tresys.com \
--cc=sds@tycho.nsa.gov \
--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.