I've been given a set of entries to apply to /etc/securetty, what does each of them mean?

tty1cd /

I'm especially interested in the "tty1cd /" entry. I can't find anything about it online, and nobody here seems to know why it's there...

  • 3
    I strongly suspect it's the result of someone typing cd /, intending to talk to a shell, but accidentally typing it into an edit window instead. – MadHatter May 19 '14 at 9:54
  • I guess it could well be. I've seen some mentions of "ttycd" on my question to find the answer, leading me to think that "ttycd /" might have been a legitimate entry. – forquare May 19 '14 at 9:58
  • 1
    Why don't you ask whoever gave you the list to confirm that it's correct as the line you cite seems incorrect. – user591 May 19 '14 at 10:03
  • That would be nice - but the people who compiled the list have moved on. All anyone seems to know is that this is the 'approved list'. – forquare May 19 '14 at 10:04
  • 1
    looks like you're going to have to go through the approval process again then – user591 May 19 '14 at 10:05

tty1cd / is definitely a typo of tty1 and cd /, so I would replace it with just tty1.

Other than that, your /etc/securetty seems fine.

Update This file defines terminals on (from) which root can login. The names in it map to /dev/<name> virtual terminals. Reasonable system should have the appropriate man page securetty(5) (accessible vie e.g. man securetty) where you'll find more information.

| improve this answer | |

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.