NAME | DESCRIPTION | FILE FORMAT | EXAMPLE | SEE ALSO | COLOPHON

securetty_types(5)          SELinux configuration         securetty_types(5)

NAME         top

       securetty_types - The SELinux secure tty type configuration file

DESCRIPTION         top

       The securetty_types file contains a list of types associated to
       secure tty type that are defined in the policy for use by SELinux-
       aware applications.
       selinux_securetty_types_path(3) will return the active policy path to
       this file. The default securetty types file is:
              /etc/selinux/{SELINUXTYPE}/contexts/securetty_types
       Where {SELINUXTYPE} is the entry from the selinux configuration file
       config (see selinux_config(5)).
       selinux_check_securetty_context(3) reads this file to determine if a
       context is for a secure tty defined in the active policy.
       SELinux-aware applications such as newrole(1) use this information to
       check the status of a tty.

FILE FORMAT         top

       Each line in the file consists of the following entry:
              type
                     One or more type entries that are defined in the policy
                     for secure tty devices.

EXAMPLE         top

       # ./contexts/securetty_types
       sysadm_tty_device_t
       user_tty_device_t
       staff_tty_device_t

SEE ALSO         top

       selinux(8), selinux_securetty_types_path(3), newrole(1),
       selinux_check_securetty_context(3), selinux_config(5)

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 2017-07-05.  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          28-Nov-2011              securetty_types(5)