GETTY(8) System Manager's Manual GETTY(8)NAME
getty - system login banner
SYNOPSIS
getty [banner ...]
DESCRIPTION
Getty displays a system identification banner, reads a user name from standard input and executes login with that name as argument.
Getty uses its arguments separated by spaces as a login banner. The character sequences
, s and are printed as newline, space and
tab. Any other x prints that x. The character sequences %s, %n, etc. produce the same output as uname -s, uname -n, etc. The default
banner is
%sssReleases%rsVersions%v
%nslogin:s
The only other useful functionality offered by getty is that it can be suspended by signal SIGUSR1 and restarted by SIGUSR2. This allows a
program such as modem(1) to temporarily claim a dialin line for dialout.
SEE ALSO modem(1), ttytab(5), init(8).
BUGS
Getty should be taught about modems and modem lines. The signal trick is an awful hack.
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
GETTY(8)
Check Out this Related Man Page
GETTY(8) System Manager's Manual GETTY(8)NAME
getty - set typewriter mode
SYNOPSIS
/etc/getty [ char ]
DESCRIPTION
Getty is invoked by init(8) immediately after a typewriter is opened following a dial-up. It reads the user's login name and calls
login(1) with the name as argument. While reading the name getty attempts to adapt the system to the speed and type of terminal being
used.
Init calls getty with a single character argument taken from the ttys(5) file entry for the terminal line. This argument determines a
sequence of line speeds through which getty cycles, and also the `login:' greeting message, which can contain character sequences to put
various kinds of terminals in useful states.
The user's name is terminated by a new-line or carriage-return character. In the second case CRMOD mode is set (see ioctl(2)).
The name is scanned to see if it contains any lower-case alphabetic characters; if not, and if the name is nonempty, the system is told to
map any future upper-case characters into the corresponding lower-case characters.
If the terminal's `break' key is depressed, getty cycles to the next speed appropriate to the type of line and prints the greeting message
again.
Finally, login is called with the user's name as argument.
The following arguments from the ttys file are understood.
0 Cycles through 300-1200-150-110 baud. Useful as a default for dialup lines accessed by a variety of terminals.
- Intended for an on-line Teletype model 33, for example an operator's console.
1 Optimized for a 150-baud Teletype model 37.
2 Intended for an on-line 9600-baud terminal, for example the Textronix 4104.
3 Starts at 1200 baud, cycles to 300 and back. Useful with 212 datasets where most terminals run at 1200 speed.
5 Same as `3' but starts at 300.
4 Useful for on-line console DECwriter (LA36).
SEE ALSO init(8), login(1), ioctl(2), ttys(5)GETTY(8)
Hi all,
I'm having a disturbing problem with getty i fbsd (fbsd 4.5 on a compaq laptop). One day, when the boot process was complete, my logs were spammed with messages from getty:
May 20 21:27:10 laptop getty: login_tty /dev/console: Operation not supported by device
May 20 21:27:10 laptop... (1 Reply)
How can i restart the console getty without rebooting the system on HPUX 11.0
Normally it will be stated by ps -ef | grep getty
console 0:00 /usr/sbin/getty console console
many thanx (4 Replies)
Can anyone give me a relatively simple definition of what a "getty" is? Are there multiple getty processes or types of getty processes? or is there just one?
What does getty do in relation to a tty or pty?
Thanks to all who respond. (1 Reply)
Our medical practice has inherited an SCO 5 box with a practice management program, medical manager, installed on the box that we need to access on our Windows network. Boots fine and I can login with root no problem. Problem is, I can't get it to do anything because of these getty error... (0 Replies)
Hello All,
I've been working on something which requires a dialup USB Modem. I have been using minicom with success entering "AT Commands" directly into
the terminal window that shows after running the minicom command. I had already configured the modem through minicom and was able to... (2 Replies)
Hello All,
OS: openSUSE 13.1 (Bottle) (armv7hl)
uname -a: Linux linux.site 3.14.14-cubox-i #1 SMP Sat Sep 13 03:48:24 UTC 2014 armv7l armv7l armv7l GNU/Linux
So this is my first attempt at starting a service at boot with systemd. I've done this with inittab in the past,
but I'm having... (0 Replies)
Hello All,
mgetty Version: 1.1.36
OS: OpenSuSE 13.1 (armv7l)
Modem: Zoom 56K USB Modem Model 3095
So I've been playing with mgetty for weeks now testing dialing into the USB modem from another PC using the same modem and connecting
using minicom (*minicom ---dials to---> mgetty). I had... (3 Replies)
HI everyone,
Nice to meet you all.
I recently rebooted Slackware 12.1 running on a Dell PowerEdge 2400. after 240 days of continuous run-time, and discovered it gets stuck in a sbin/agetty loop. We were rebooting because trying to mount root in webmin broke a bunch of things. Couldn't even get... (3 Replies)