12-30-2002
1,025,
1
Join Date: Jul 2002
Last Activity: 26 May 2006, 8:38 PM EDT
Location: new york
Posts: 1,025
Thanks Given: 0
Thanked 1 Time in 1 Post
first look at the command:
man getty
on my system though man getty shows no results, if that isthe case for you then try :
man mgetty
man agetty
essentially they do the same thing, they provide the user with the login program, and ensure that upon user log-out that the login prompt is restarted. somewhere on the net i read a very good paper on just exactly what getty does. when you log in getty then supplies the user with his shell, and then the rest is done by the shell. getty is used on the local tty's, aswell as telnet (or ssh) sessions and if you have a serial terminal set up getty is used on that aswell. in your startup scripts you can add addition tty's to your system, this is done by adding lines for getty with the appropriate parameters, tty# etc. search google for "getty" youll probably find some pretty useful results.