From: guido@trentalancia.com (Guido Trentalancia)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 2/34]: patch for the usermanage module
Date: Wed, 16 Feb 2011 23:20:57 +0100 [thread overview]
Message-ID: <1297894857.3051.10.camel@tesla.lan> (raw)
In-Reply-To: <4D5C39BB.9020401@redhat.com>
Hello Dan, Sven and Dominick !
Thanks for your comments.
On Wed, 16/02/2011 at 15.55 -0500, Daniel J Walsh wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 02/16/2011 03:43 PM, Sven Vermeulen wrote:
> > On Wed, Feb 16, 2011 at 07:00:49AM +0100, Guido Trentalancia wrote:
> >> # allow checking if a shell is executable
> >> corecmd_check_exec_shell(passwd_t)
> >> +corecmd_exec_bin(passwd_t)
> >
> > I'm curious why anything in the passwd_t domain wants to execute a bin_t
> > labelled file? Afaik, the applications labelled with passwd_exec_t (and thus
> > will potentially run in passwd_t) are passwd, vigr, vipw, chage, passwd,
> > grpconv, pwunconv and grpunconv. Which of these is trying to execute a
> > bin_t (and which command exactly)?
> >
> > Wkr,
> > Sven Vermeulen
> > _______________________________________________
> > refpolicy mailing list
> > refpolicy at oss.tresys.com
> > http://oss.tresys.com/mailman/listinfo/refpolicy
> I believe this is caused by a pam plugin that attempts to contact the
> gnome-keyring-daemon with the new passwd.
No, it has nothing to do with gnome or any other graphical tool.
Unfortunately, I am not able to reproduce it again now and I am not able
to find the relative logs.
There is some relatively small chance that it is just a mistake (related
to a temporarily mislabeled unix_chkpwd). However, I think it is more
likely just required by some licit use of the user management tools that
I can't remember now.
corecmd_exec_bin is being used widely in the usermanage module for all
other domains, for example, at line 448-449 we have:
# Execute /usr/bin/{passwd,chfn,chsh} and /usr/sbin/{useradd,vipw}.
corecmd_exec_bin(useradd_t)
despite none of the binaries mentioned in the comment are labeled
generically bin_t.
Regards,
Guido
next prev parent reply other threads:[~2011-02-16 22:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-16 6:00 [refpolicy] [PATCH 2/34]: patch for the usermanage module Guido Trentalancia
2011-02-16 20:43 ` Sven Vermeulen
2011-02-16 20:55 ` Daniel J Walsh
2011-02-16 22:20 ` Guido Trentalancia [this message]
2011-02-16 20:55 ` Dominick Grift
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=1297894857.3051.10.camel@tesla.lan \
--to=guido@trentalancia.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.