* PAM _pam_load_conf_file: unable to open /etc/pam.d/system-auth
@ 2008-11-30 1:25 Justin P. Mattock
2008-11-30 16:58 ` Xavier Toth
0 siblings, 1 reply; 4+ messages in thread
From: Justin P. Mattock @ 2008-11-30 1:25 UTC (permalink / raw)
To: SE Linux
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PAM _pam_load_conf_file: unable to open /etc/pam.d/system-auth
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
0 siblings, 2 replies; 4+ messages in thread
From: Xavier Toth @ 2008-11-30 16:58 UTC (permalink / raw)
To: Justin P. Mattock; +Cc: SE Linux
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.
--
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] 4+ messages in thread
* Re: PAM _pam_load_conf_file: unable to open /etc/pam.d/system-auth
2008-11-30 16:58 ` Xavier Toth
@ 2008-11-30 18:18 ` Justin P. Mattock
2008-11-30 18:54 ` Justin P. Mattock
1 sibling, 0 replies; 4+ messages in thread
From: Justin P. Mattock @ 2008-11-30 18:18 UTC (permalink / raw)
To: Xavier Toth; +Cc: SE Linux
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.
Thanks for the help with this.
(I'll have a look in the manual).
What about setting pam_namespace
i.g. does this have to be set correctly
to acquire the right capability, or does it
not matter if you have namespace or not?
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PAM _pam_load_conf_file: unable to open /etc/pam.d/system-auth
2008-11-30 16:58 ` Xavier Toth
2008-11-30 18:18 ` Justin P. Mattock
@ 2008-11-30 18:54 ` Justin P. Mattock
1 sibling, 0 replies; 4+ messages in thread
From: Justin P. Mattock @ 2008-11-30 18:54 UTC (permalink / raw)
To: Xavier Toth; +Cc: SE Linux
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-11-30 18:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.