Support / Knowledge Base / HOW TO: Configure Login (getty) Using Upstart in Fedora

HOW TO: Configure Login (getty) Using Upstart in Fedora

HOW TO: Configure Login (getty) Using Upstart in Fedora

Newer versions of Fedora Linux no longer use the /etc/inittab file for configuing getty. A new method is now used called upstart. This requires a file be created in /etc/event.d with the name of the tty device.

Here is a basic example of the contents of /etc/event.d/ttyb01 running agetty:

# ttyb01 - getty
#
# This service maintains a getty on ttyb01 from the point the system is
# started until it is shut down again.

start on stopped rc2
start on stopped rc3
start on stopped rc4

stop on runlevel 0
stop on runlevel 1
stop on runlevel 6

 

respawn
exec /sbin/agetty -L 57600 ttyb01

 

To start getty on the port, run the following from the root prompt:

# start ttyb01

 

To stop getty:

# stop ttyb01

Last updated: Aug 08, 2017

Recently Viewed Articles

No recently viewed articles
Contact a Digi expert and get started today! Contact Us