run_init(8) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | FILES | SEE ALSO | AUTHORS | COLOPHON

RUN_INIT(8)                        NSA                       RUN_INIT(8)

NAME         top

       run_init - run an init script in the proper SELinux context

SYNOPSIS         top

       run_init SCRIPT [[ARGS]...]

DESCRIPTION         top

       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         top

       /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         top

       newrole(1), runcon(1)

AUTHORS         top

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

COLOPHON         top

       This page is part of the selinux (Security-Enhanced Linux user-
       space libraries and tools) project.  Information about the
       project can be found at 
       ⟨https://github.com/SELinuxProject/selinux/wiki⟩.  If you have a
       bug report for this manual page, see
       ⟨https://github.com/SELinuxProject/selinux/wiki/Contributing⟩.
       This page was obtained from the project's upstream Git repository
       ⟨https://github.com/SELinuxProject/selinux⟩ on 2021-08-27.  (At
       that time, the date of the most recent commit that was found in
       the repository was 2021-08-23.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       man-pages@man7.org

Security Enhanced Linux         May 2003                     RUN_INIT(8)