summaryrefslogtreecommitdiffstats
path: root/term-utils/agetty.8
Commit message (Collapse)AuthorAgeFilesLines
* 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>