1MINGETTY(8) Linux Programmer's Manual MINGETTY(8)
2
3
4
6 mingetty - minimal getty for consoles
7
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 [--loginpause] tty
13
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
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
62 --loginpause
63 Wait for any key before dropping to the login prompt. Can be
64 combined with --autologin to save memory by lazily spawning
65 shells.
66
68 mingetty recognizes the following escapes sequences which might be
69 embedded in the /etc/issue file:
70
71 \d insert current day (localtime),
72
73 \l insert line on which mingetty is running,
74
75 \m inserts machine architecture (uname -m),
76
77 \n inserts machine's network node hostname (uname -n),
78
79 \o inserts domain name,
80
81 \r inserts operating system release (uname -r),
82
83 \t insert current time (localtime),
84
85 \s inserts operating system name,
86
87 \u resp. \U the current number of users which are currently logged
88 in. \U inserts "n users", where as \u only inserts "n".
89
90 \v inserts operating system version (uname -v).
91
93 "Linux eos i386 #1 Tue Mar 19 21:54:09 MET 1996" was produced by
94 putting "\s \n \m \v" into /etc/issue.
95
97 /etc/issue, /var/run/utmp.
98
100 mgetty(8), agetty(8).
101
103 Copyright © 1996 Florian La Roche <laroche@redhat.com>. Man-page writ‐
104 ten by David Frey <David.Frey@eos.lugs.ch> and Florian La Roche.
105
106
107
108Debian-Local 6 Apr 1996 MINGETTY(8)