* run_init confusion
@ 2009-01-21 18:47 Justin P. Mattock
2009-01-21 19:19 ` Joe Nall
0 siblings, 1 reply; 5+ messages in thread
From: Justin P. Mattock @ 2009-01-21 18:47 UTC (permalink / raw)
To: SE-Linux
I'm having an issue with run_init.
each time I try to restart alsa-utils
I get this:
name@computer:~$ newrole -r sysadm_r -- -c /usr/sbin/run_init
/etc/init.d/alsa-utils restart
Password:
USAGE: run_init <script> <args ...>
where: <script> is the name of the init script to run,
<args ...> are the arguments to that script.
name@computer:~$
I've set /etc/pam.d/newrole_pam.conf
as su, but commented out:
auth sufficient pam_rootok.so
like what the doc said.
I've also set in the policy
DIRECT_INITRC = y
but still the same response.
any info would be appreciated.
regards;
Justin P. Mattock
--
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] 5+ messages in thread* Re: run_init confusion
2009-01-21 18:47 run_init confusion Justin P. Mattock
@ 2009-01-21 19:19 ` Joe Nall
2009-01-21 19:49 ` Justin P. Mattock
2009-01-21 20:59 ` [refpolicy] " Justin P. Mattock
0 siblings, 2 replies; 5+ messages in thread
From: Joe Nall @ 2009-01-21 19:19 UTC (permalink / raw)
To: Justin P. Mattock; +Cc: SE-Linux
On Jan 21, 2009, at 12:47 PM, Justin P. Mattock wrote:
> I'm having an issue with run_init.
> each time I try to restart alsa-utils
> I get this:
>
> name@computer:~$ newrole -r sysadm_r -- -c /usr/sbin/run_init /etc/
> init.d/alsa-utils restart
newrole -r sysadm_r -- -c "/usr/sbin/run_init /etc/init.d/alsa-utils
restart"
joe
--
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] 5+ messages in thread
* Re: run_init confusion
2009-01-21 19:19 ` Joe Nall
@ 2009-01-21 19:49 ` Justin P. Mattock
2009-01-21 20:59 ` [refpolicy] " Justin P. Mattock
1 sibling, 0 replies; 5+ messages in thread
From: Justin P. Mattock @ 2009-01-21 19:49 UTC (permalink / raw)
To: Joe Nall; +Cc: SE-Linux
Joe Nall wrote:
>
> On Jan 21, 2009, at 12:47 PM, Justin P. Mattock wrote:
>
>> I'm having an issue with run_init.
>> each time I try to restart alsa-utils
>> I get this:
>>
>> name@computer:~$ newrole -r sysadm_r -- -c /usr/sbin/run_init
>> /etc/init.d/alsa-utils restart
>
> newrole -r sysadm_r -- -c "/usr/sbin/run_init /etc/init.d/alsa-utils
> restart"
>
> joe
>
>
I think I have something missing.
when adding " "
to the command:
newrole -r sysadm_r -- -c "/usr/sbin/run_init /etc/init.d/alsa-utils
restart"
I get this:
name@computer:~$ newrole -r sysadm_r -- -c "/usr/sbin/run_init
/etc/init.d/alsa-utils restart"
Password:
Authenticating name.
run_init: incorrect password for name
authentication failed.
name@computer:~$
I've done passwd as root and as normal user
to make sure, but still same message.
regards;
Justin P. Mattock
--
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] 5+ messages in thread
* Re: run_init confusion
2009-01-21 19:19 ` Joe Nall
@ 2009-01-21 20:59 ` Justin P. Mattock
2009-01-21 20:59 ` [refpolicy] " Justin P. Mattock
1 sibling, 0 replies; 5+ messages in thread
From: Justin P. Mattock @ 2009-01-21 20:59 UTC (permalink / raw)
To: Joe Nall; +Cc: SE-Linux, tresys
Joe Nall wrote:
>
> On Jan 21, 2009, at 12:47 PM, Justin P. Mattock wrote:
>
>> I'm having an issue with run_init.
>> each time I try to restart alsa-utils
>> I get this:
>>
>> name@computer:~$ newrole -r sysadm_r -- -c /usr/sbin/run_init
>> /etc/init.d/alsa-utils restart
>
> newrole -r sysadm_r -- -c "/usr/sbin/run_init /etc/init.d/alsa-utils
> restart"
>
> joe
>
>
O.K. I was able to have run_init work
by changing system-auth
to common-auth(can't seem to locate system-auth
package);
I think one of the main problems I have is
I don't know how to login as root.(with the newest refpolicy atleast)
how do I do that? or do I just need to have system-auth
in /etc/pam.d setup correctly to use run_init?
regards;
Justin P. Mattock
--
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] 5+ messages in thread
* [refpolicy] run_init confusion
@ 2009-01-21 20:59 ` Justin P. Mattock
0 siblings, 0 replies; 5+ messages in thread
From: Justin P. Mattock @ 2009-01-21 20:59 UTC (permalink / raw)
To: refpolicy
Joe Nall wrote:
>
> On Jan 21, 2009, at 12:47 PM, Justin P. Mattock wrote:
>
>> I'm having an issue with run_init.
>> each time I try to restart alsa-utils
>> I get this:
>>
>> name at computer:~$ newrole -r sysadm_r -- -c /usr/sbin/run_init
>> /etc/init.d/alsa-utils restart
>
> newrole -r sysadm_r -- -c "/usr/sbin/run_init /etc/init.d/alsa-utils
> restart"
>
> joe
>
>
O.K. I was able to have run_init work
by changing system-auth
to common-auth(can't seem to locate system-auth
package);
I think one of the main problems I have is
I don't know how to login as root.(with the newest refpolicy atleast)
how do I do that? or do I just need to have system-auth
in /etc/pam.d setup correctly to use run_init?
regards;
Justin P. Mattock
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-01-21 20:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-21 18:47 run_init confusion Justin P. Mattock
2009-01-21 19:19 ` Joe Nall
2009-01-21 19:49 ` Justin P. Mattock
2009-01-21 20:59 ` Justin P. Mattock
2009-01-21 20:59 ` [refpolicy] " 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.