The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Banner Beetlejuice UNIX for Dummies Questions & Answers 2 03-10-2005 12:51 PM
changing the telnet banner xyyz UNIX for Dummies Questions & Answers 20 09-04-2002 08:58 AM
Remove RH telnet Banner macdonto UNIX for Dummies Questions & Answers 1 04-01-2002 10:44 AM
banner with ftp 98_1LE UNIX for Dummies Questions & Answers 1 03-27-2002 02:37 PM
Telnet banner sdharmap UNIX for Dummies Questions & Answers 2 02-07-2002 03:20 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-12-2002
Registered User
 

Join Date: Mar 2002
Location: Toronto, Canada
Posts: 5
Telnet Banner

I need to put a telnet banner on AIX 4.3 and 5.1 servers, so the users can see a warning message before logging into the system. I know /etc/motd will give the message after the login. Basically what I am asking is how do I tell system to read the /etc/issue file on AIX?.

Thank you, in advance for you reply.
__________________
;)
Forum Sponsor
  #2  
Old 11-12-2002
Registered User
 

Join Date: Aug 2002
Location: Marlboro, MA
Posts: 114
/etc/security/login.cfg is for that purpose on AIX...

getty opens /etc/issue on hp-ux etc.. on AIX it opens /etc/security/login.cfg... also look at this link...

use the herald = "string to show to user"..

I don't know how to display multiple line messages...

http://www.unet.univie.ac.at/aix/fil.../login.cfg.htm



Cheers!
Vishnu.

Last edited by Vishnu; 11-12-2002 at 01:23 PM.
  #3  
Old 11-12-2002
Registered User
 

Join Date: Aug 2002
Location: Marlboro, MA
Posts: 114
also look at this link...

http://nt.bnl.gov/banner/unix_banner1.asp

Cheers!
Vishnu.
  #4  
Old 11-15-2002
Registered User
 

Join Date: Nov 2002
Posts: 14
To add newlines to the login screen, you need to use the following escape sequence: \r\n (CRNL).

Example:

herald = "\r\n\r\nAuthorized login only\r\nlogin: "

Will be displayed with two blank lines after you logout (add as many as you want to clear the screen):


Authorized login only
login: _CURSOR IS HERE
  #5  
Old 11-15-2002
Registered User
 

Join Date: Mar 2002
Location: Toronto, Canada
Posts: 5
Thank You very much guys for your help.
It worked the way I wanted.
__________________
;)
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 03:54 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0