All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Justin P. Mattock" <justinmattock@gmail.com>
To: SE-Linux <selinux@tycho.nsa.gov>
Subject: run_init confusion
Date: Wed, 21 Jan 2009 10:47:57 -0800	[thread overview]
Message-ID: <49776DDD.6080306@gmail.com> (raw)

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.

             reply	other threads:[~2009-01-21 18:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-21 18:47 Justin P. Mattock [this message]
2009-01-21 19:19 ` run_init confusion 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

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=49776DDD.6080306@gmail.com \
    --to=justinmattock@gmail.com \
    --cc=selinux@tycho.nsa.gov \
    /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.