run_init(8)

run_init8

Run an init script in the proper selinux context

Usage

run_init SCRIPT [[ARGS] ...]

Overview

Run a init script under the proper context, which is specified in /etc/selinux/POLICYTYPE/contexts/initrc_context. It is generally used interactively as it requires either shadow or PAM user authentication (depending on compile-time options). It should be possible to configure PAM such that interactive input is not required. Check your PAM documentation.

Files

/etc/passwd - user account information
/etc/shadow - encrypted passwords and age information
/etc/selinux/POLICYTYPE/contexts/initrc_context - contains the context to run init scripts under

Releases

11 releases since Debian 3.1 (Sarge); the text changed 4 times.

  1. 3.1–4.0
  2. 5.0–6.0
  3. 7–9
  4. 10–12
  5. 13