Путеводитель по Руководству 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  |

Примеры (Examples)

This section shows examples for the process field of an entry in
       the /etc/inittab file. You'll have to prepend appropriate values
       for the other fields. See inittab(5) for more details.

For a hardwired line or a console tty:

/sbin/agetty 9600 ttyS1

For a directly connected terminal without proper carrier-detect wiring (try this if your terminal just sleeps instead of giving you a password: prompt):

/sbin/agetty --local-line 9600 ttyS1 vt100

For an old-style dial-in line with a 9600/2400/1200 baud modem:

/sbin/agetty --extract-baud --timeout 60 ttyS1 9600,2400,1200

For a Hayes modem with a fixed 115200 bps interface to the machine (the example init string turns off modem echo and result codes, makes modem/computer DCD track modem/modem DCD, makes a DTR drop cause a disconnection, and turns on auto-answer after 1 ring):

/sbin/agetty --wait-cr --init-string 'ATE0Q1&D2&C1S0=1\015' 115200 ttyS1