Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

getty(8) [minix man page]

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)						    BSD System Manager's Manual 						  GETTY(8)

NAME
getty -- set terminal mode SYNOPSIS
getty [type [tty]] DESCRIPTION
The getty utility is called by init(8) to open and initialize the tty line, read a login name, and invoke login(1). The argument tty is the special device file in /dev to open for the terminal (for example, ``ttyh0''). If there is no argument or the argu- ment is '-', the tty line is assumed to be open as file descriptor 0. The type argument can be used to make getty treat the terminal line specially. This argument is used as an index into the gettytab(5) data- base, to determine the characteristics of the line. If there is no argument, or there is no such table, the default table is used. If there is no /etc/gettytab a set of system defaults is used. If indicated by the table located, getty will clear the terminal screen, print a ban- ner heading, and prompt for a login name. Usually either the banner or the login prompt will include the system hostname. Most of the default actions of getty can be circumvented, or modified, by a suitable gettytab table. The getty utility can be set to timeout after some interval, which will cause dial up lines to hang up if the login name is not entered rea- sonably quickly. FILES
/etc/gettytab /etc/ttys DIAGNOSTICS
ttyxx: No such device or address. ttyxx: No such file or address. A terminal which is turned on in the ttys file cannot be opened, likely because the requisite lines are either not configured into the sys- tem, the associated device was not attached during boot-time system configuration, or the special file in /dev does not exist. SEE ALSO
login(1), ioctl(2), tty(4), gettytab(5), ttys(5), init(8) HISTORY
A getty utility appeared in Version 6 AT&T UNIX. BSD
June 4, 1993 BSD
Man Page

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Getty-problems in FreeBSD

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)
Discussion started by: kuba
1 Replies

2. UNIX for Dummies Questions & Answers

/usr/sbin/getty

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)
Discussion started by: iceman_denmark
4 Replies

3. UNIX for Dummies Questions & Answers

getty

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)
Discussion started by: google
1 Replies

4. UNIX for Dummies Questions & Answers

ps aux|grep getty

what is the aim of this command: ps aux|grep getty (1 Reply)
Discussion started by: gfhgfnhhn
1 Replies

5. UNIX for Dummies Questions & Answers

SCO 5 and Getty

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)
Discussion started by: dgreener
0 Replies

6. UNIX for Dummies Questions & Answers

How to Send AT Commands to mgetty?

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)
Discussion started by: mrm5102
2 Replies

7. SuSE

Starting mgetty with systemd?

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)
Discussion started by: mrm5102
0 Replies

8. UNIX for Dummies Questions & Answers

Mgetty Not Answering when Calling from Outside

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)
Discussion started by: mrm5102
3 Replies

9. Slackware

Sbin/agetty loop Prevents Boot of Slackware 12.1 Fileserver

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)
Discussion started by: 5pac3m0nk3y
3 Replies