summaryrefslogtreecommitdiff
path: root/sag-0.6.1-www/Invisible/sag-0.6/node10.html
blob: a17b90aed8b28f84deaf55c8aa212bdd489ea64a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<!--Converted with LaTeX2HTML 96.1-h (September 30, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds -->
<HTML>
<HEAD>
<TITLE>Logins from terminals</TITLE>
<META NAME="description" CONTENT="Logins from terminals">
<META NAME="keywords" CONTENT="sag">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<LINK REL=STYLESHEET HREF="sag.css">
</HEAD>
<BODY LANG="EN" >
 <A NAME="tex2html421" HREF="node11.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="./next_motif.gif"></A> <A NAME="tex2html419" HREF="node8.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="./up_motif.gif"></A> <A NAME="tex2html413" HREF="node9.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="./previous_motif.gif"></A> <A NAME="tex2html423" HREF="node1.html"><IMG WIDTH=65 HEIGHT=24 ALIGN=BOTTOM ALT="contents" SRC="./contents_motif.gif"></A> <A NAME="tex2html424" HREF="node114.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="./index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME="tex2html422" HREF="node11.html">Syslog</A>
<B>Up:</B> <A NAME="tex2html420" HREF="node8.html">Major services in a </A>
<B> Previous:</B> <A NAME="tex2html414" HREF="node9.html">init</A>
<BR> <P>
<H2><A NAME="SECTION00332000000000000000">Logins from terminals</A></H2>
<P>
	Logins from terminals (via serial lines) and the console (when not
	running X) are provided by the <tt>getty</tt><A NAME="331">&#160;</A> program.  <tt>init</tt><A NAME="333">&#160;</A>
	starts a separate instance of <tt>getty</tt><A NAME="335">&#160;</A> for each terminal for
	which logins are to be allowed.  <tt>getty</tt><A NAME="337">&#160;</A> reads the username
	and runs the <tt>login</tt><A NAME="339">&#160;</A> program, which reads the password.  If
	the username and password are correct, 
	<tt>login</tt><A NAME="341">&#160;</A> runs the shell.  When
	the shell terminates, i.e., the user logs out, or when <tt>login</tt><A NAME="343">&#160;</A>
	terminated because the username and password didn't match,
	<tt>init</tt><A NAME="345">&#160;</A> notices this and starts a new instance of <tt>getty</tt><A NAME="347">&#160;</A>.
	The kernel has no notion of logins, this is all handled by the
	system programs.
<A NAME="197">&#160;</A>
<A NAME="198">&#160;</A>
<A NAME="199">&#160;</A>
<A NAME="200">&#160;</A>
<P>
<BR> <HR>
<P><ADDRESS>
<I>Lars Wirzenius <BR>
Sat Nov 15 02:32:11 EET 1997</I>
</ADDRESS>
</BODY>
</HTML>