Few questions:
- What does getty@.service do?
- What are the side-effect (or functionality loss) after disabling it?


getty is the process that manages logins on the console and on serial ports, if any. It's generally not safe to disable this, as console access is what we go to when other means of accessing a server fail.

  • Odd that redhat article suggests to turn off this service for performance reason. So it should like as a side effect, I can't even ssh into the server if I have it off (even if sshd is running)? – Hei May 12 '18 at 7:59
  • No, getty is separate from ssh. And I have no idea what redhat article you mean, as I didn't see one linked anywhere. – Michael Hampton May 12 '18 at 7:59
  • Ok, then what's the "console" you refer to? Sorry, forgot to include the link: people.redhat.com/jmario/docs/… , page 6 – Hei May 12 '18 at 8:15
  • @Hei The console is the physical keyboard, monitor, etc., connected to the system, from which you can use it directly. And, that PDF indicates that getty@.service is one of the minimal list of services you should leave enabled. – Michael Hampton May 12 '18 at 8:16
  • 1
    @Hei If you use IPMI to get to the machine, that is the console. You are simply accessing the console over the network. If getty was not running, then you would not be able to use the console. – Michael Hampton May 12 '18 at 8:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.