74 lines
1.7 KiB
HTML
74 lines
1.7 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>getty(8)</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<H1>getty(8)</H1>
|
|
<HR>
|
|
<PRE>
|
|
|
|
</PRE>
|
|
<H2>NAME</H2><PRE>
|
|
getty - system login banner
|
|
|
|
|
|
</PRE>
|
|
<H2>SYNOPSIS</H2><PRE>
|
|
<STRONG>getty</STRONG> [<EM>banner</EM> ...]
|
|
|
|
|
|
</PRE>
|
|
<H2>DESCRIPTION</H2><PRE>
|
|
<STRONG>Getty</STRONG> displays a system identification banner, reads a user name from
|
|
standard input and executes <STRONG>login</STRONG> with that name as argument.
|
|
|
|
<STRONG>Getty</STRONG> uses its arguments separated by spaces as a login banner. The
|
|
character sequences <STRONG>\n</STRONG>, <STRONG>\s</STRONG> and <STRONG>\t</STRONG> are printed as newline, space and tab.
|
|
Any other <STRONG>\</STRONG><EM>x</EM> prints that <EM>x</EM>. The character sequences <STRONG>%s</STRONG>, <STRONG>%n</STRONG>, etc. produce
|
|
the same output as <STRONG>uname</STRONG> <STRONG>-s</STRONG>, <STRONG>uname</STRONG> <STRONG>-n</STRONG>, etc. The default banner is
|
|
|
|
%s\s\sRelease\s%r\sVersion\s%v\n\n%n\slogin:\s
|
|
|
|
The only other useful functionality offered by <STRONG>getty</STRONG> is that it can be
|
|
suspended by signal SIGUSR1 and restarted by SIGUSR2. This allows a
|
|
program such as <STRONG><A HREF="../man1/modem.1.html">modem(1)</A></STRONG> to temporarily claim a dialin line for dialout.
|
|
|
|
|
|
</PRE>
|
|
<H2>SEE ALSO</H2><PRE>
|
|
<STRONG><A HREF="../man1/modem.1.html">modem(1)</A></STRONG>, <STRONG><A HREF="../man5/ttytab.5.html">ttytab(5)</A></STRONG>, <STRONG><A HREF="../man8/init.8.html">init(8)</A></STRONG>.
|
|
|
|
|
|
</PRE>
|
|
<H2>BUGS</H2><PRE>
|
|
<STRONG>Getty</STRONG> should be taught about modems and modem lines. The signal trick is
|
|
an awful hack.
|
|
|
|
|
|
</PRE>
|
|
<H2>AUTHOR</H2><PRE>
|
|
Kees J. Bot (kjb@cs.vu.nl)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</PRE>
|
|
</BODY>
|
|
</HTML>
|