From: "Justin P. Mattock" <justinmattock@gmail.com>
To: Xavier Toth <txtoth@gmail.com>
Cc: SE Linux <selinux@tycho.nsa.gov>
Subject: Re: PAM _pam_load_conf_file: unable to open /etc/pam.d/system-auth
Date: Sun, 30 Nov 2008 10:54:47 -0800 [thread overview]
Message-ID: <1228071287.3418.7.camel@unix> (raw)
In-Reply-To: <cadfc0e40811300858se04e43drc13cc96b0812e810@mail.gmail.com>
On Sun, 2008-11-30 at 10:58 -0600, Xavier Toth wrote:
> On Sat, Nov 29, 2008 at 7:25 PM, Justin P. Mattock
> <justinmattock@gmail.com> wrote:
> > Hello;
> > after loading the latest policycoreutils
> > I'm experiencing a bit of difficulties trying
> > to understand how to set:
> > /etc/selinux/newrole_pam.conf
> > (what do I put in there?)
> > I have: /usr/bin/aterm /etc/pam.d/test
> > in there, and in
> > /etc/pam.d/test I have:
> > auth required /lib/security/pam_unix.so
> >
> > but, unfortunantly receive a no password error
> > when wanting to change roles.
> >
> > after looking at auth.log I see a:
> > newrole: PAM _pam_load_conf_file: unable to open /etc/pam.d/system-auth
> >
> > If I make: /etc/pam.d/system-auth
> > newrole will work perfectly until
> > I go and write the allow rules,
> > and put the policy into enforcing mode.
> >
> > What or were do I find the info on what
> > to put in /etc/selinux/newrole_pam.conf
> > and so forth to have this new way
> > for newrole work?
> >
> > regards;
> >
> > --
> > Justin P. Mattock <justinmattock@gmail.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.
> >
>
> man newrole
>
> newrole_pam.conf contains mappings of applications to pam
> configuration files to be used. Each line contains the executable file
> name followed by the name of a pam config file that exists in
> /etc/pam.d.
"shit", right under my nose!!
newrole -r user_r -- -c /usr/bin/aterm /etc/pam.d/*
works.
--
Justin P. Mattock <justinmattock@gmail.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.
prev parent reply other threads:[~2008-11-30 18:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-30 1:25 PAM _pam_load_conf_file: unable to open /etc/pam.d/system-auth Justin P. Mattock
2008-11-30 16:58 ` Xavier Toth
2008-11-30 18:18 ` Justin P. Mattock
2008-11-30 18:54 ` Justin P. Mattock [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=1228071287.3418.7.camel@unix \
--to=justinmattock@gmail.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.