agetty

Published by Jesse Afolabi on

agetty Linux command on ChromeOS

agetty is an open-source command-line-based logging utility for Linux systems designed to be lightweight, with minimal resources usage. agetty logs both system messages and files generated by the system, such as files opened by programs or files created by operating system programs.

Are you looking to manage physical or virtual terminals? Agethy is the ultimate alternative to Linux getty. As a system program, agetty will enable you to manage physical or virtual terminals and it’s invoked by init

In the event that a connection is detected, agetty opens a tty port, makes a request for a user’s login name and calls up the /bin/login command.

 

USE CASES*

       agetty [options] port [baud_rate…] [term]

 

DESCRIPTION

       agetty  opens  a  tty  port,  prompts  for a login name and invokes the

       /bin/login command.  It is normally invoked by init(8).

 

       agetty has several non-standard features that are useful for  hardwired

       and for dial-in lines:

 

  •     Adapts  the tty settings to parity bits and to erase, kill, end-

              of-line and uppercase characters when it  reads  a  login  name.

              The  program can handle 7-bit characters with even, odd, none or

              space parity, and 8-bit characters with no parity.  The  follow‐

              ing special characters are recognized: Control-U (kill); DEL and

              backspace (erase); carriage return and line feed (end of  line).

              See also the –erase-chars and –kill-chars options.

 

$ agetty -L 9600 ttyS1 vt100

Categories:

Jesse Afolabi

Having been a technical writer for over 4 years, and co-founded Fossmint.com in 2016, I took my passion to the next level with the founding of Itschromeos.com which so happens to revolve around my love for open-source technologies and Chrome OS. It's my hope to venture into new avenues in the tech universe and take you with me on that ride.

0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *