From: Christian.Andretzky@TU-Chemnitz.DE (Christian Andretzky)
Subject: Re: How to change language (loginwindow)
Reply-To: Christian.Andretzky@TU-Chemnitz.DE
Organization: University of Technology Chemnitz, FRG
Date: Wed, 20 Jan 1993 23:38:29 GMT

In article <1993Jan18.124719.11072@cubx.fdn.org> b_brottier@cubx.com writes:
> In article <1j54vpINN53i@network.ucsd.edu> wade@hobbes.ucsd.edu (Wade  
Blomgren)  
> writes:
> |  
> |  A user got to one of our turbo slabs that had just been upgraded to 3.0
> |  before we did, and mischievously set the language and keyboard to
> |  French instead of the desired English, in the configuration application
> |  that comes up on the first reboot after a 3.0 install.
> |  
> |  I managed to find the right keys on the keyboard to feed in the root
> |  password and get in, and I changed the root prefs to USA keyboard and 
> |  English, and now it seems if the average user logs in s/he gets an 
> |  English environment, but the loginwindow is still in French.  I
> |  rdist'd /.NeXT and /usr/lib/NextStep from a machine configured for
> |  English and rebooted but the login window is still in French.
> |  No other likely files presented themselves in an rdist comparison
> |  of the tow machines.
> |  
> |  Suggestions on how to force the language back to English would be 
> |  most welcome.
> |  
> |  Wade Blomgren
> |  wade@hobbes.ucsd.edu
> 
> Just destroy 
> /etc/hostconfig
> /etc/netinfo
> 
> and put 
> /usr/template/client/etc/hostconfig
> /usr/template/client/etc//netinfo
> 
> at the previous place
> Then power-down.
> 
> When power-up, you will have the NetInfo panel one more time, and check the  
> correct items.
> 
> Hope this helps 
> 
> 
> --
> ---------------------------
> Bruno Brottier -- Responsable Formation
> Societe improve sa,
> 41-41 bis, avenue de l'Europe  78140 VELIZY
> Tel : (+33) (1) 30 70 60 56   Fax : (+33) (1) 30 70 89 36
> E-mail: b_brottier@cubx.com  -- [NeXTmail]
another way is to use th file /etc/systemTar.Z which is a .tar.Z archive of all  
files which are modified during host configuration and to restore it.
here a listing of this archive:
total 2
drwxr-xr-x  4 root    wheel       1024 Jan 21 00:31 etc
drwxr-xr-x  3 root    wheel       1024 Jan 21 00:31 private

etc:
total 8
-rw-r--r--  1 root    wheel        857 Jul 13  1989 bootparams
-rw-r--r--  1 root    wheel       1951 Sep 10  1989 bootptab
-rw-r--r--  1 root    wheel        236 Dec  9  1991 crontab
-rw-r--r--  1 root    wheel        589 Aug  9  1990 hostconfig
-rw-r--r--  1 root    wheel        828 Mar 18  1989 hosts
drwxr-xr-x  3 root    wheel       1024 Jan 21 00:31 netinfo
drwxr-xr-x  2 root    wheel       1024 Jan 21 00:31 sendmail

etc/netinfo:
total 1
drwxr-xr-x  2 root    wheel       1024 Jan 21 00:31 local.nidb

etc/netinfo/local.nidb:
total 78
-rw-r--r--  1 root    wheel      78848 Aug  1 00:59 Collection
-rw-r--r--  1 root    wheel        724 Aug  1 00:42 extension_149

etc/sendmail:
total 28
-r--r--r--  1 root    wheel       9896 Jul 21  1992 sendmail.mailhost.cf
-r--r--r--  1 root    wheel       8659 Jul 21  1992  
sendmail.sharedsubsidiary.cf
-r--r--r--  1 root    wheel       8410 Jul 21  1992 sendmail.subsidiary.cf

private:
total 1
drwxr-xr-x  2 root    wheel       1024 Jan 21 00:31 tftpboot

private/tftpboot:
total 49
-r--r--r--  1 root    wheel      49812 Jul 30 04:48 boot

HTH, Christian
--
Name:  Christian Andretzky      | Address: Technische Universitaet Chemnitz |
Phone: +49 371 561 2130         |          Fachbereich Maschinenbau III     |
FAX:   +49 371 561 2413         |          Reichenhainer Str. 70            |
mail: Christian.Andretzky@TU-Chemnitz.DE   D-O-9022 Chemnitz                |