Enabling user logins

Red Hat Enterprise Linux 9.2 LPAR mode z/VM guest KVM guest

Instantiate getty services for terminals to allow users access.

For the default terminals () systemd starts a getty. In particular, you do not need to enable user logins for the following terminals:
  • hvc0
  • 3270/tty1
  • SCLP-based terminals

For other terminals, such as hvc1 to hvc7 or dynamically attached 3270 terminals, you must create a symbolic link.

Procedure

To create a symbolic link and start a getty on terminal hvc1:
  1. Create a new terminal instance, hvc1, for a serial getty. For example, issue:
    # systemctl enable serial-getty@hvc1.service
  2. Start the new instance with systemctl.
    For example:
    # systemctl start serial-getty@hvc1.service
    The terminal instance starts automatically at system start when the getty.target is processed.