Changing Welcome screen on AIX 5.3
 
*
Welcome, Guest. Please login or register. January 10, 2009, 01:17:30 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Changing Welcome screen on AIX 5.3  (Read 1616 times)
0 Members and 1 Guest are viewing this topic.
jchilley
Jr. Member
**
Posts: 6


« Reply #5 on: August 01, 2007, 01:34:38 PM »

Don't forget the /etc/motd file.
Logged
John Peck
Global Moderator
Senior Member
*****
Posts: 46


« Reply #4 on: July 31, 2007, 03:07:55 PM »


Supplied message catalogues are binary .cat files.
If you edit them, bear in mind that they will be replaced
by upgrades quite often and have different files for the
national language filesets you have installed.

First generate an editable version of the required message file
- in this case for the FTP login in default US English:

dspcat –g /usr/lib/nls/msg/en_US/ftpd.cat > /tmp/ftpd.msg


Edit the created file “/tmp/ftpd.msg” and change the FTP login message entry as shown – the blank lines are in fact spaces in one long line!

… Initial lines in file …
8       "ioctl SIOCSPGRP: %m"
9       "FTP server ready.                                                     
                                                                               
     WARNING - COMPUTER MISUSE ACT 1990                                         
                                                                               
     YOU WILL COMMIT A CRIMINAL OFFENCE IF YOU ACT OUTSIDE YOUR AUTHORITY IN   
     RELATION TO THIS COMPUTER.  THE PENALTY IS A FINE, IMPRISONMENT, OR BOTH. 
     IF YOU ARE ACTING OUTSIDE YOUR AUTHORITY, DO NOT PROCEED ANY FURTHER.     
                                                                               
     The computer and the network and the information they contain are part     
     of a private business system for authorised users only.  Unautorised       
     access is prohibited and may be subject to criminal or civil action.       
                                                                               
     "                                                                         
10    "lost connection"
… File continues …


Replace the message catalogue with your new version:
gencat  /usr/lib/nls/msg/en_US/ftpd.cat  /tmp/ftpd.msg


There is no other way to do this with FTp, but with the
normal login you have /etc/security/login.cfg as the "standard" place,
and I'd personally rather not get in to the .cat for that as well.
Logged
ValentineSmith
Full Member
***
Posts: 29


« Reply #3 on: July 31, 2007, 03:26:35 AM »

That "tsm.cat" file does not seem to be a flat text file.
How would you suggest carrying out the edit?
And where?
I see several occurrences of the "login:" string.
Logged
Michael
Administrator
Hero Member
*****
Posts: 539


« Reply #2 on: July 26, 2007, 03:40:37 PM »

You can also change the tsm.cat rather than /etc/security/login.cfg. This is useful if you want to change more than just the 'welcome herald, but also the password: prompt message.
Logged
John Peck
Global Moderator
Senior Member
*****
Posts: 46


« Reply #1 on: July 14, 2007, 07:41:38 AM »


The /etc/security/login.cfg  herald is for ASCII terminal type logins, telnet
also.

For a CDE graphical console login put various things in:
/usr/dt/config/C/Xresources
(And for /etc/motd to be displayed edit  /usr/dt/app-defaults/C/Dthello)

For SSH logins there is the ability to have a "Banner" file,
but remote systems may have trouble seeing it, such is the
bugginess that is SSH  Tongue :
/etc/openssh/sshd_config   (or where ever your SSH version has it.)

For FTP you can change the message catalogue:
/usr/lib/nls/msg/en_US/ftpd.cat
Logged
alexf
Registered
*
Posts: 1


« on: July 13, 2007, 03:22:02 AM »

Gday,

Can someone help me please.. For the life of me I have forgotten how to change the welcome screen on an AIX 5.3 login.

I know one place is in /etc/security/login.cfg and adding a herald. But, there is another place that you also need to change it in.

Any help would be most appreciated..

Alex
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.981 seconds with 18 queries.




eXTReMe Tracker

Terms of Use and Privacy and Security Policies
Copyright 2001-2008 Michael Felt and ROOTVG.NET