Sponsored Content
Operating Systems BSD How to i change the login banner in obsd 3.3 Post 40607 by RTM on Thursday 18th of September 2003 05:13:14 PM
Old 09-18-2003
This link has a series on pre-login - seems to be a trick in the gettytab

Quote:
bauhaus wrote:
>> I'm trying to setup a pre-login banner (multiple lines...standard
>> corporate disclaimer, etc.) for console logins on OpenBSD 3.3 with no
>> luck.
>>
>> I've looked at gettytab. It doesn't appear to support the if option
>> for the issue file. I tried the im option but it only displayed the
>> text before the first carriage return. I am unable to find additional
>
>? The default im option has 3 "\r\n" in it so that the banner is
>displayed over a few lines.
>
>Did you try to use that trick?

Per Bulba007's suggestion:
Editing /etc/motd won't work as the banner is required *prior* to
logging in.

As for using "\r\n" several times to manually specify carriage
returns, that solves the problem. I just didn't get it. Thank you
Hugo!
 

10 More Discussions You Might Find Interesting

1. BSD

Change the Login banner for obsd 3.3

Hi is it possible to change the login banner ? i now it`s somthing with /etc/gettytab and think i have found the line that give out the output "OpenBSD/i386 (hostname) (ttyC1) now for my question can i change the default:\ :np:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200: i whant to use... (1 Reply)
Discussion started by: vip3r
1 Replies

2. Linux

login banner

Hi, I have added in banner in both /etc/banner and /etc/issue.net one by one in Linux but the banner is not displaying while user type username and enter I have restarted the ssh service also Any idea why? (3 Replies)
Discussion started by: manoj.solaris
3 Replies

3. UNIX for Advanced & Expert Users

How to Create Banner/Login Messages in Solaris.

Hi, I have been trying to create a banner/login message (something for displaying the usage policy etc) to appear while I login using telnet/FTP to any Solaris (pref. Solaris9) machine. I have tried using /etc/issue and /etc/motd files. Both do not solve my need. In that, /etc/issue displays... (8 Replies)
Discussion started by: mahatma
8 Replies

4. HP-UX

Hp-ux login banner

Hi, How do i create a login banner for hp-ux users. Is there somewhere i can get a step by step explanation? (4 Replies)
Discussion started by: dowell
4 Replies

5. UNIX for Advanced & Expert Users

CDE Login Banner

I'm having problem with the CDE pre login banner. I configured the c/usr/dt/config/C/Xresources file to add my warning message: Dtlogin*greeting.labelString: My Banner I then modified the Dtlogin*greeting*fontList to display the message in smaller text. This did not work. ... (1 Reply)
Discussion started by: equismorio
1 Replies

6. HP-UX

telnet banner message before login

why I didn't set /etc/inetd.conf telnet stream tcp nowait root /usr/lbin/telnetd \ telnetd -b /etc/issue only telnet stream tcp nowait root /usr/lbin/telnetd in /etc/ineted.conf but when I telnet my HPUX machine it shows those message HP-UX hp1008 B.11.31 U ia64 (tb) login: ... (1 Reply)
Discussion started by: alert0919
1 Replies

7. UNIX for Dummies Questions & Answers

Display banner before login.

How would i force All connection oriented network services to display a legal warning in terms of banner before any fuctional operation by user? ---------- Post updated at 12:54 AM ---------- Previous update was at 12:33 AM ---------- I would like to do this for ssh service first. (2 Replies)
Discussion started by: pinga123
2 Replies

8. AIX

Last login details in banner

Friends!! I need your help. Where can i change/set the last login details as below in aix 5.3. And how to do that to get the results as exactly below login as: mbpops mbpops@xx.28.3.24's password: Last unsuccessful login: Mon Nov 22 14:32:27 GMT 2010 on ssh from 10.132.5.129 Last login:... (17 Replies)
Discussion started by: kmvinay
17 Replies

9. Shell Programming and Scripting

How to change banner message for console login?

Hi All, Whenever I login to server via console, after providing username (root) it displays a banner message. I want to remove this message Serverabc : root Welcome to Server !!! Password: It is Centos 5.4 box. I have checked /etc/issue and /etc/motd. It does not... (8 Replies)
Discussion started by: kalpeer
8 Replies

10. Linux

Ssh login with random qoute banner

I'll be honest here The one and only time I have done LDAP user and login configuration was for my RHCSA exam, and that was many years ago I have this interview coming up (for a linux admin position role), and while the other questions I have no problem answering I am stuck with this (image... (5 Replies)
Discussion started by: hedkandi
5 Replies
LPBANNER(1)						      General Commands Manual						       LPBANNER(1)

NAME
lpbanner, pclbanner, psbanner - printer banners in text, PCL and PostScript SYNOPSIS
lpbanner [ -llength ] [ -wwidth ] [ -Pprinter ] [ -Lbannername ] [ -nloginname ] [ -hhost ] [ -Jjobtitle ] [ -Cclass ] [ -?option args ] [ all ] DESCRIPTION
The lpbanner program is used to print a simple banner on a fixed size font printer, the pclbanner program generates a PCL banner and the psbanner program generates a PostScript banner. All information to be printed is passed using command line arguements. In order to be compatible with vintage line printer spoolers, reads a line form standard input, but ignores the information. OPTIONS
-w width Page width in characters (default 132). -l length Page length in lines (default 60). -P printer printer queue for banner information. -L bannername Name used on banner as main name. -n loginname Name used on banner as login name. -h host Name used on banner as host name. -J jobtitle String used on banner as main title. -C class String used on banner as class. -? value All other options and arguments provided by LPRng are ignored. EXIT STATUS
The following exit values are returned: zero (0) Successful completion. non-zero (!=0) An error occurred. SEE ALSO
lpd.conf(5), lpc(8), lpd(8), checkpc(8), lpr(1), lpq(1), lprm(1), printcap(5), lpd.conf(5), pr(1), lprng_certs(1), lprng_index_certs(1). HISTORY
LPRng is a enhanced printer spooler system with functionality similar to the Berkeley LPR software. The LPRng mailing list is lprng@lprng.com; subscribe by sending mail to lprng-request@lprng.com with the word subscribe in the body. The software is available from ftp://ftp.lprng.com/pub/LPRng. AUTHOR
Patrick Powell <papowell@lprng.com>. LPRng LPRng-3.9.0 LPBANNER(1)
All times are GMT -4. The time now is 08:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy