| 1 |
.TH "securetty_types" "5" "28-Nov-2011" "Security Enhanced Linux" "SELinux configuration" |
| 2 |
.SH "NAME" |
| 3 |
securetty_types \- The SELinux secure tty type configuration file |
| 4 |
. |
| 5 |
.SH "DESCRIPTION" |
| 6 |
The |
| 7 |
.I securetty_types |
| 8 |
file contains a list of types associated to secure tty type that are defined in the policy for use by SELinux-aware applications. |
| 9 |
.sp |
| 10 |
.BR selinux_securetty_types_path "(3) " |
| 11 |
will return the active policy path to this file. The default securetty types file is: |
| 12 |
.RS |
| 13 |
.I /etc/selinux/{SELINUXTYPE}/contexts/securetty_types |
| 14 |
.RE |
| 15 |
.sp |
| 16 |
Where \fI{SELINUXTYPE}\fR is the entry from the selinux configuration file \fIconfig\fR (see \fBselinux_config\fR(5)). |
| 17 |
.sp |
| 18 |
.BR selinux_check_securetty_context "(3) reads this file to determine if a context is for a secure tty defined in the active policy. " |
| 19 |
.sp |
| 20 |
SELinux-aware applications such as |
| 21 |
.BR newrole "(1) use this information to check the status of a tty. " |
| 22 |
. |
| 23 |
.SH "FILE FORMAT" |
| 24 |
Each line in the file consists of the following entry: |
| 25 |
.sp |
| 26 |
.RS |
| 27 |
.I type |
| 28 |
.RS |
| 29 |
One or more type entries that are defined in the policy for secure tty devices. |
| 30 |
.RE |
| 31 |
.RE |
| 32 |
. |
| 33 |
.SH "EXAMPLE" |
| 34 |
# ./contexts/securetty_types |
| 35 |
.br |
| 36 |
sysadm_tty_device_t |
| 37 |
.br |
| 38 |
user_tty_device_t |
| 39 |
.br |
| 40 |
staff_tty_device_t |
| 41 |
. |
| 42 |
.SH "SEE ALSO" |
| 43 |
.ad l |
| 44 |
.nh |
| 45 |
.BR selinux "(8), " selinux_securetty_types_path "(3), " newrole "(1), " selinux_check_securetty_context "(3), " selinux_config "(5) " |