How to prevent console and ssh logins until a service has started in RHEL7
Issue
- We have a custom service that starts a configuration script. We don't want the RHEL7 system to allow any logins (including ssh or local black & white ttys) until the script has finished. How?
- How to disallow login in RHEL 7 until a SysV init script has finished?
Environment
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.