Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   agetty    ( 8 )

альтернативный Linux getty (alternative Linux getty)

  Name  |  Synopsis  |  Description  |  Arguments  |  Options  |  Examples  |    Security notice    |  Issue files  |  Files  |  Bugs  |  Diagnostic  |

SECURITY NOTICE

If you use the --login-program and --login-options options, be aware that a malicious user may try to enter lognames with embedded options, which then get passed to the used login program. Agetty does check for a leading "-" and makes sure the logname gets passed as one parameter (so embedded spaces will not create yet another parameter), but depending on how the login binary parses the command line that might not be sufficient. Check that the used login program cannot be abused this way.

Some programs use "--" to indicate that the rest of the command line should not be interpreted as options. Use this feature if available by passing "--" before the username gets passed by \u.