21 lines
386 B
Plaintext
21 lines
386 B
Plaintext
## <summary>Telnet daemon.</summary>
|
|
|
|
########################################
|
|
## <summary>
|
|
## Read and write telnetd pty devices.
|
|
## </summary>
|
|
## <param name="domain">
|
|
## <summary>
|
|
## Domain allowed access.
|
|
## </summary>
|
|
## </param>
|
|
#
|
|
interface(`telnet_use_ptys',`
|
|
gen_require(`
|
|
type telnetd_devpts_t;
|
|
')
|
|
|
|
term_list_ptys($1)
|
|
allow $1 telnetd_devpts_t:chr_file rw_term_perms;
|
|
')
|