The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

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 03:51 PM
changing the telnet banner xyyz UNIX for Dummies Questions & Answers 20 09-04-2002 11:58 AM
Remove RH telnet Banner macdonto UNIX for Dummies Questions & Answers 1 04-01-2002 01:44 PM
banner with ftp 98_1LE UNIX for Dummies Questions & Answers 1 03-27-2002 05:37 PM
Telnet banner sdharmap UNIX for Dummies Questions & Answers 2 02-07-2002 06:20 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-12-2002
smohd smohd is offline
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.
  #2 (permalink)  
Old 11-12-2002
Vishnu Vishnu is offline
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 04:23 PM..
  #3 (permalink)  
Old 11-12-2002
Vishnu Vishnu is offline
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 (permalink)  
Old 11-15-2002
roden roden is offline
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 (permalink)  
Old 11-15-2002
smohd smohd is offline
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:22 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0