All of lore.kernel.org
 help / color / mirror / Atom feed
From: cpebenito@tresys.com (Christopher J. PeBenito)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 1/1] chfn_t reads in file context information and executes nscd
Date: Thu, 4 Apr 2013 08:09:43 -0400	[thread overview]
Message-ID: <515D6D87.7070508@tresys.com> (raw)
In-Reply-To: <20130320090317.GA12451@siphos.be>

On 03/20/13 05:03, Sven Vermeulen wrote:
> The chsh application (which runs in the chfn_t domain) requires read access on
> the file context definitions. If not, the following error occurs:
[...]
> --- a/policy/modules/admin/usermanage.te
> +++ b/policy/modules/admin/usermanage.te
> @@ -125,6 +125,7 @@ miscfiles_read_localization(chfn_t)
>  
>  logging_send_syslog_msg(chfn_t)
>  
> +seutil_read_file_contexts(chfn_t)
>  # uses unix_chkpwd for checking passwords
>  seutil_dontaudit_search_config(chfn_t)

Looks like this dontaudit should be removed.

> @@ -133,6 +134,10 @@ userdom_use_unpriv_users_fds(chfn_t)
>  # on user home dir
>  userdom_dontaudit_search_user_home_content(chfn_t)
>  
> +optional_policy(`
> +	nscd_run(chfn_t, chfn_roles)
> +')
> +
>  ########################################
>  #
>  # Crack local policy
> 


-- 
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com

      reply	other threads:[~2013-04-04 12:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-20  9:03 [refpolicy] [PATCH 1/1] chfn_t reads in file context information and executes nscd Sven Vermeulen
2013-04-04 12:09 ` Christopher J. PeBenito [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=515D6D87.7070508@tresys.com \
    --to=cpebenito@tresys.com \
    --cc=refpolicy@oss.tresys.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.