---
name: "run_init"
section: "8"
platform: "linux"
package: "newrole"
version: "3.8.1-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/run_init/8"
---

# run\_init(8)

run an init script in the proper SELinux context

## NAME

run\_init - run an init script in the proper SELinux context

## SYNOPSIS

**run\_init** *SCRIPT* \[\[*ARGS*\]...\] \

## DESCRIPTION

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

## SEE ALSO

[**newrole**(1)](/newrole/1.md), [**runcon**(1)](/runcon/1.md)

## AUTHORS

```
Wayne Salamon (wsalamon@tislabs.com)
Dan Walsh (dwalsh@redhat.com)
```
