![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
/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
|
|||
|
|||
|
|
|
#4
|
|||
|
|||
|
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
|
|||
|
|||
|
Thank You very much guys for your help.
It worked the way I wanted.
__________________
;) |
|||
| Google The UNIX and Linux Forums |