![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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. |
|
||||
|
/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.. |
|
||||
|
|
|
||||
|
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 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|