RUN\_INIT(8) System Manager's Manual RUN\_INIT(8)

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

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

# [DESCRIPTION](#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](#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](#SEE_ALSO)

[**newrole**(1)](/man/enterprise-packages/policycoreutils/newrole.1), [**runcon**(1)](/man/enterprise-packages/policycoreutils/runcon.1)

# [AUTHORS](#AUTHORS)

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

May 2003 Security Enhanced Linux

---

Document: run_init(8) from policycoreutils 3.11-r3 (Chainguard OS)
Source: https://github.com/SELinuxProject/selinux.git
