My first response is Ahah! Exactly what I want...alas, agetty does not currently run on OpenBSD. It seems to use termio.h, rather than the POSIX termios.h. OpenBSD only has support for the latter.

I understand that it's not too bad to redefine constants based on the changes between the two files, but that may be a bit much for what i'm expected to do here. I really don't want to go through a 1232 line program and port it to a different operating system.

So naturally, my second response was "Bummer."

But you did clue me in on something - I need to find an alternative getty program suppported under OpenBSD, that allows the configuration to dictate whether or not a username is required. I've checked the OpenBSD ports tree, and find only mgetty as an alternative. In order to get the man page with little effort, I did start to install mgetty, and this is what I got:

bash-2.04# cd /usr/ports/comms/mgetty+sendfax/
bash-2.04# make install
===>  mgetty-1.1.21 is marked as broken: insecure tempfile handling: can overwrite any file on the system.

Probably not what I'm after :(

So I guess I'll check out FreeBSD and see what alternative getty's are available there...I can probably install some of them without major difficulty.

All the same, thank you for the assistance!


In reply to Re: Re: Replacing getty with a perl script? by ginseng
in thread Replacing getty with a perl script? by ginseng

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.