a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment by romwolf
romwolf  ·  1655 days ago  ·  link  ·    ·  parent  ·  post: Useful Linux Security Tricks To Harden Your System

I am still fairly new to linux and using the terminal, but i have a question for anyone that is willing to take the time and explain.

    Securing the Console

    You can limit where root can log on by restricting it to a specific set of

    terminals. To do this, edit the contents of the /etc/securetty file.

    All devices you want to allow root to log in from should be listed in the


How exactly am I supposed to limit my root to one. I would assume this is something automatic as I only have one user on my current machine, but when i view my securetty file, i get an extensive list of tty(1-63) for example.

Or does this only apply to the top console section

    Local X displays (allows empty passwords

    with pam_unix's nullok_secure)