Defcon1-Header
Tool-BarfreeBSD ArticlesSearch Our SiteHOMEfreeBSD LinksContribute to FreeBSD HelpFreeBSD FilesFreeBSD Script Corner

Creating a Issues Message for FreeBSD

Following these steps you will have a /etc/issue msg just like some linux systems
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1- make sure you are root ( type whoami ) if it shows root then following
the coming steps
2- edit /etc/gettytab with a text editor ( for example vi , if you are a real newbie then use pico or ee )

3- add if=/etc/issue: to the following section from your /etc/gettytab

default:\
    :cb:ce:ck:lc:fd#1000:im=%s/%i (%h) (%t)\n:sp#1200:

which will make it something like

default:\
    :cb:ce:ck:lc:fd#1000:im=%s/%r (%h) (%t)\n:sp#1200:if=/etc/issue:

4- creat a file in /etc called issue and place your message there and do - chmod 644 issue - to make it readable by users.

5- restart your init to get changes working " kill -HUP 1 " will restart
init and re-read the gettytab file. the -HUP to restart and 1 for init PID (process ID) init is always process with pid 1

   * for more information check
http://andrsn.stanford.edu/FreeBSD/lognote.html
  All info in this doc been used from the real site mentioned above.

 Article Written and donated by: Big

© 1997 - 20013 Defcon1, www.defcon1.org , Copyrights for all materials on this web site are held by the individual authors, artists, photographers or creators. Materials may not be reproduced or otherwise distributed without permission of www.defcon1.org and the content's original author.

Defcon1-Header2
Tool-Bar-2Defcon1  Webmail