3

Assuming one is operating in AWS and there are no ways to connect via a non-pts terminal, is it safe to blank the /etc/securetty file? Are there any possible unintended consequences? I can't think of any, but I'm just looking for a second opinion.

1 Answer 1

3

I found an answer I believe to be acceptable in the RHEL Security Guide:

To prevent the root user from logging in, remove the contents of /etc/securetty

References

1
  • 1
    This is not the case on Ubuntu 20.04 LTS. Be sure to verify (run su - on a virtual terminal or Ctrl+Alt+F2 and log in as root) before assuming that this works.
    – Adam Katz
    May 25, 2020 at 18:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .