Solaris 8 Advanced Installation Guide

To Preconfigure the Locale Using NIS+

The following procedure assumes the NIS+ domain is set up. Setting up the NIS+ domain is documented in the Solaris Naming Administration Guide.

  1. Log in to a name server as superuser or as a user in the NIS+ administration group.

  2. Create the locale table:


    # nistbladm -D access=og=rmcd,nw=r -c locale_tbl name=SI,nogw= 
    locale=,nogw= comment=,nogw= locale.org_dir.`nisdefaults -d` 
    
  3. Add needed entries to the locale.


    # nistbladm -a name=name locale=locale comment=comment 
    locale.org_dir.`nisdefaults -d`
    

    In this command:

    • name is either the domain name or a specific system name for which you want to preconfigure a default locale.

    • locale is the locale you want to install on the system and use on the desktop after the system is rebooted. Chapter 32, Locale Values contains a list of valid locales.

    • comment is the comment field. Use double quotation marks to begin and end comments that are longer than one word.


    Note –

    Locales are available on the Solaris 8 Software 1 of 2 CD.


    Systems that are specified by domain or individually in the locale table are now set up to use the default locale. The default locale you specified is used during installation and by the desktop after the system is rebooted.