Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was trying to setup tty auto login for FreeBSD, I copied the P|Pc|Pc part and made a change:

Pcal console:\

And modify the tty for ttyv0:

ttyv0 "/usr/libexec/getty Pcal" xterm on secure

But now if I do init q, I get:

enter image description here

share|improve this question
up vote 1 down vote accepted

Try changing:

Pcal|Pcal console:\ 

ttyv0 "/usr/libexec/getty Pcal" xterm on secure

Now Pcal will be the gettytab entry. | is used as a separator. This to enter alternative names (not sure about that I'm not a gettytab expert ;) ). The last entry until :\ looks like a "human readable" string for the gettytab line.

See if this works. Does anyone know where the | is used for? And how you should read those gettytab entries?

share|improve this answer
The | worked, althrough I don't understand why – warl0ck Oct 23 '12 at 8:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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