summaryrefslogtreecommitdiffstats
path: root/term-utils/agetty.8
Commit message (Collapse)AuthorAgeFilesLines
* agetty: add \S to output /etc/os-release dataKarel Zak2013-09-121-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch allows to use a new \S or \S{VARNAME} sequence in the /etc/issue file. The sequence prints data from /etc/os-release. The reason is to keep /etc/issue file distribution and release independent. The \S{ANSI_COLOR} is converted to the real terminal escape seq. For example: \S Kernel \r on an \m (\l) or more complex example: Welcome to \S{ANSI_COLOR}\S{NAME}0m \S{VERSION} Report bugs at \S{BUG_REPORT_URL}. See http://www.freedesktop.org/software/systemd/man/os-release.html fr more details about /etc/issue. Based on patch from Bill Nottingham <notting@redhat.com>. Signed-off-by: Karel Zak <kzak@redhat.com>
* agetty: improve wording, grammar and some formatting in man pageBenno Schulenberg2013-06-181-49/+49
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* agetty: fix a kill/erase error in man page and improve clarityBenno Schulenberg2013-06-181-12/+12
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* Re-layout a FILES section in the traditional style.Eric S. Raymond2013-06-101-5/+12
|
* Remove another .ti for .RS/.RE, and remove a .TP that broke list parsing.Eric S. Raymond2013-06-101-8/+11
|
* Replace .IP o with .IP \(bu, using the [nt]roff bullet character.Eric S. Raymond2013-06-101-9/+9
| | | | | | | This will improve the quality of generated HTML. There is a cost, which is that most terminal emulators will just display the bullet as a (less visible) dot. An alternative to this change would be to use a * character for the bullet.
* Replace .ti operations with equivalent .RS/.RE pairs.Eric S. Raymond2013-06-101-4/+12
| | | | | This change makes automatic lifting to XML-DocBook possible, and should enable generation of better-quality HTML from these pages.
* agetty: update man page and usage()Karel Zak2013-06-031-21/+22
| | | | | | | | - baud_rate is optional - agetty has been rewritten 2 years ago, so don't blame original authors in the man page Signed-off-by: Karel Zak <kzak@redhat.com>
* agetty: allow full control on CLOCAL flagKarel Zak2013-05-231-2/+12
| | | | | | | | | | | Now the -L option allows to explicitly enable CLOCAL flag. Unfortunately sometimes it's necessary to clear the flag. This patch add optional argument =<mode> to specify 'auto', 'always' and 'never' to control CLOCAL flag. Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=816342 Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: remove repeated wordsKarel Zak2013-04-051-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* agetty: add --chroot to usage() and man pageKarel Zak2013-04-051-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* agetty: remove @ and # as default kill and erase charsKarel Zak2012-11-221-5/+7
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* agetty: add --{erase,kill}-chars optionsKarel Zak2012-11-221-0/+11
| | | | | | | | | | | | | | We need way to disable the default kill and erase agetty chars to make the getty usable for Active Directory users with '@' in username. It seems that the most extendible solution is to add options that allow to complete control additional erase/kill chars. If you specify empty strings then the chars are disabled at all. Note that this patch is backwardly compatible. Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=870854 Signed-off-by: Karel Zak <kzak@redhat.com>
* agetty: replace gethostbyname() with getaddrinfo()Sami Kerola2012-10-221-1/+1
| | | | | | | | The gethostbyname() is legacy function which may be withdrawn in a future. Reference: http://pubs.opengroup.org/onlinepubs/009695399/functions/gethostbyname.html Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* agetty: add \4 and \6 issue file sequences to print IP addressesKarel Zak2012-09-131-0/+8
| | | | | | Based on Andrea Bonomi <a.bonomi@endian.com> ideas. Signed-off-by: Karel Zak <kzak@redhat.com>
* agetty: pass hostname to login(1)Karel Zak2011-10-261-0/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* agetty: add --nohintsKarel Zak2011-09-121-0/+3
| | | | | Reported-by: "Gabor Z. Papp" <gzp@papp.hu> Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: uniformize the header and footer lines in man pagesBenno Schulenberg2011-08-221-1/+1
| | | | | | | | | | Use dates without the day, use the full month name, put "util-linux" in the lower left corner, and "User Commands" or "System Administration" at the top center. Also improve here and there the one-line program description. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* agetty: improve login(1) argv[]Karel Zak2011-08-081-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix regression: missing username should not be reported (EPERM) if -n/--skip-login is given and username is NULL. * don't compose login options *string* if we can use argv *array* (the string is necessary only for --login-options). * don't overwrite --login-options by --autologin The old code silently ignores login-options and "login -f <username>" is always used. The new code uses: a) "login -f <username>" by default b) "login <login-options>" for --login-options + --autologin where for b) the username from "--autologin <username>" is used to replace \u magic string in <login-options>. * the \u could be used more than once in one login argv string, for example: agetty --login-options "-o user=\\u,name=\\u --foo" * the space in --login-options is correctly ignored, for example agetty --login-options " hello world ". Reviewed-by: Voelker, Bernhard <bernhard.voelker@siemens-enterprise.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* agetty: remove unnecessary options synonymsKarel Zak2011-05-171-9/+9
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* aggety: further mingetty featuresDr. Werner Fink2011-05-171-31/+47
| | | | | | | | | | | Allow the system adminstrator to provide options to the login program. Some changes for several layouts of the agetty prompt like short host name or full qualified host name. Four options enables the user to delay agetty after start, to change the working directory, to change the root directory, and to modified scheduling priority. Signed-off-by: Werner Fink <werner@suse.de>
* agetty: add an autologin featureWerner Fink2011-05-171-0/+29
| | | | | | | | | Add an autologin feature to agetty, that is that a user can be automatically logged in. For this the options of for the login program has to used. Make it possible to pass-through options to the login program which requires a security check. Signed-off-by: Werner Fink <werner@suse.de>
* agetty: proper session on the terminal lineWerner Fink2011-05-171-0/+3
| | | | | | | | | | Ensure a proper session on the terminal line, that is do a vhangup() and become the controlling terminal. After this determine if the terminal line a virtual console by using the ioctl TIOCMGET to get the status modem bits of a serial line which is a invalid argument on a virtual console. Signed-off-by: Werner Fink <werner@suse.de>
* docs: agetty manual updateSami Kerola2011-04-271-5/+5
| | | | | | | Tell users how to see what issue escape will print by using other commands, such as uname. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* docs: agetty long optionsSami Kerola2011-04-141-34/+40
| | | | | | | | | Long options to manual page with the new --version and --help. The manual page option order is also set to be the same as it is in code. For the persons who don't see the order it is short option case in sensitive alphabetical order. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* build-sys: move agetty to term-utilsKarel Zak2011-03-021-0/+307
Signed-off-by: Karel Zak <kzak@redhat.com>