<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;"># display args for pam_securetty.so.pl

# display_args(&amp;service, &amp;module, &amp;args)
sub display_module_args
{
local $file = "/etc/securetty";
print &amp;ui_table_row($text{'securetty_ttys'},
	&amp;ui_textarea("ttys", &amp;read_file_contents($file), 5, 40), 3);
}

# parse_module_args(&amp;service, &amp;module, &amp;args)
sub parse_module_args
{
local $file = "/etc/securetty";
&amp;lock_file($file);
&amp;open_tempfile(FILE, "&gt;$file");
$in{'ttys'} =~ s/\r//g;
$in{'ttys'} =~ s/\s*$/\n/;
&amp;print_tempfile(FILE, $in{'ttys'});
&amp;close_tempfile(FILE);
&amp;unlock_file($file);
}
</pre></body></html>