Adding text before the login prompt

From: Craig Young (
Date: 11/17/03

  • Next message: Andy Law: "Re: solid backdoor using certificates?"
    Date: 17 Nov 2003 00:52:24 -0800

    Hi everyone,

    I was wondering if there is a way to change or add text that appears
    before a login prompt on both the console and ssh. I am looking for
    something similar to the /etc/gettytab hack for BSD style systems. Any
    help would be greatly appreciated.

    i.e I am trying to do something like

    Welcome to

  • Next message: Andy Law: "Re: solid backdoor using certificates?"

    Relevant Pages

    • Re: Console - Serial Port - tty
      ... And not in multi user mode. ... Console - Serial Port - tty ... Have you placed a breakout box on the console port to make sure you are ... But still can't get login prompt after all services started. ...
    • Re: No kernel messages displayed during boot
      ... over, immediately after loading all .ko files, no text ... was printed in the console. ... login prompt. ... but when I connect the screen directly to the server the problem disapear. ...
    • Re: system console redirection - all but boot messages redirected ttyS0?
      ... grub menu and login prompt - but, between the grub menu and the login ... The messages from userspace (ie rc script) will only go to the last ... script to allow output to go to more than 1 console. ...
    • Re: No kernel messages displayed during boot
      ... seemed to be that I forgot to `make delete-old' and `make delete-old-libs'. ... see thread 'No boot messages after upgrading to 7.0-BETA2'. ... and the next text was printed to the console was the login prompt. ...
    • Re: [CFT] bsdinstall and zfsboot enhancements
      ... I think the patch might need some work: for instance, a sysctl could be used to see if the console is on a ttyu* device, and only enable for that and not for all ttys. ... It seems bizarre that up until the login prompt the OS can figure out where to route console messages up until the login prompt and then gets confused at that point. ... conscontrol has the ability to get the console backing TTY device through the kern.console TTY. ...