1MINGETTY(8)                Linux Programmer's Manual               MINGETTY(8)
2
3
4

NAME

6       mingetty - minimal getty for consoles
7

SYNOPSIS

9       mingetty  [--noclear] [--nonewline] [--noissue] [--nohangup] [--nohost‐
10       name]    [--long-hostname]     [--loginprog=/bin/login]     [--nice=10]
11       [--delay=5]  [--chdir=/home]  [--chroot=/chroot] [--autologin username]
12       tty
13

DESCRIPTION

15       mingetty is a minimal  getty  for  use  on  virtual  consoles.   Unlike
16       agetty(8),  mingetty  is  not  suitable  for serial lines.  I recommend
17       using mgetty(8) for this purpose.
18

OPTIONS

20       --noclear
21              Do not clear the screen before prompting for the login name (the
22              screen is normally cleared).
23
24       --nonewline
25              Do not print a newline before writing out /etc/issue.
26
27       --noissue
28              Do not output /etc/issue.
29
30       --nohangup
31              Do  not  call  vhangup() to disable writing to this tty by other
32              applications.
33
34       --nohostname
35              Do not print the hostname before the login prompt.
36
37       --long-hostname
38              By default the hostname is only printed  until  the  first  dot.
39              With  this  option  enabled, the full text from gethostname() is
40              shown.
41
42       --loginprog /bin/login
43              Change the login app.
44
45       --nice 10
46              Change the priority by calling nice().
47
48       --delay 5
49              Sleep this many seconds after startup of mingetty.
50
51       --chdir /home
52              Change into this directory before calling the login prog.
53
54       --chroot /chroot
55              Call chroot() with this directory name.
56
57       --autologin username
58              Log the specified user automatically in  without  asking  for  a
59              login name and password. Check the -f option from /bin/login for
60              this.
61

ISSUE ESCAPES

63       mingetty recognizes the following  escapes  sequences  which  might  be
64       embedded in the /etc/issue file:
65
66       \d     insert current day (localtime),
67
68       \l     insert line on which mingetty is running,
69
70       \m     inserts machine architecture (uname -m),
71
72       \n     inserts machine's network node hostname (uname -n),
73
74       \o     inserts domain name,
75
76       \r     inserts operating system release (uname -r),
77
78       \t     insert current time (localtime),
79
80       \s     inserts operating system name,
81
82       \u     resp.  \U the current number of users which are currently logged
83              in.  \U inserts "n users", where as \u only inserts "n".
84
85       \v     inserts operating system version (uname -v).
86

EXAMPLE

88       "Linux eos i386 #1 Tue Mar 19 21:54:09 MET 1996"   was   produced    by
89       putting "\s \n \m \v" into /etc/issue.
90

FILES

92       /etc/issue, /var/run/utmp.
93

SEE ALSO

95       mgetty(8), agetty(8).
96

AUTHOR

98       Copyright © 1996 Florian La Roche <laroche@redhat.com>.  Man-page writ‐
99       ten by David Frey <David.Frey@eos.lugs.ch> and Florian La Roche.
100
101
102
103Debian-Local                      6 Apr 1996                       MINGETTY(8)
Impressum