ITEM: Q2643L

How to change the password prompt at AIX 3.2.5


ENV:    AIX 3.2.5

DESC:   Customer would like to change the login so that after you put 
        in the username, it says "Password:" and not "user's Password:". 

Action: Here are the steps to follow to change the password prompt.

1) Check the LANG variable on your machine:

   echo $LANG

2) Check your machine's locale:

   locale

   If the LANG and locale are both En_US and you are at AIX 3.2.5, you 
   should be able to change the password entries in the appropriate 
   message catalogs to make the prompt for password be "Password:" 
   instead of "%s's Password:".  If the LANG and locale are "C", then
   you will need to change your Language Environment to "En_US".  The
   C locale will not allow you to change the password prompt because it 
   uses the default strings that are hardcoded in the source code.  To 
   change your locale, first make sure that you have the En_US locale
   installed (use "lslpp -h bsl*" or "locale -a").  If it is not 
   installed, you will need to install bsl.en_US.  Once the locale
   is installed, go into "smit chlang" and change your Language to
   En_US (hit F4 and choose "English    (United States)  IBM-850").
   Once you make the change through smit, you will need to reboot 
   the system for the change in Language/locale to take effect.  

   After you verify that the locale and language are En_US, use the 
   following steps:

1) cd /usr/lib/nls/msg/En_US

2) cp libs.cat libs.cat.save

3) cp tsm.cat tsm.cat.save

4) Create a file called /tmp/libs.new with the following contents:
   
   $set 1
   27 Password:

5) Create a file called /tmp/tsm.new with the following contents:
   
   $set 1
   2 Password:

6) Change the libs.cat message catalog:

   gencat libs.cat /tmp/libs.new

7) Change the tsm.cat message catalog:

   gencat tsm.cat /tmp/tsm.new

Logoff and you should see the new password prompt.

Next: Closing.


Support Line: How to change the password prompt at AIX 3.2.5 ITEM: Q2643L
Dated: December 1994 Category: N/A
This HTML file was generated 99/06/24~13:30:37
Comments or suggestions? Contact us