• Keine Ergebnisse gefunden

Editing /etc/inittab

Im Dokument TI SYSTEM V RELEASE INFORMATION (Seite 36-39)

Release Infonnation

Rebuilding a System Disk

• /etc/checklist

• /usr/sys/makefile

4.16 You can restore the /etc/softpwd file from your backup copy (as noted in paragraph 3.2, Saving Files) or edit the /etc/softpwd file to add your TI System V password and any other passwords to the file. If you restore the file and are up-grading from 2.2.1 or earlier, edit the file. to change the product identifier from TISysS.2 to TIY.030. Then, skip to the Editing /etc/inittab paragraph. Other-wise, edit the /etc/softpwd file as follows:

To invoke the vi editor, enter:

vi /etc/softpwd

The screen clears and the following line appears:

TIV.030::TI System V password

Move the cursor to the second colon in the entry (press the I key to move right and the h key to move left).'JYpe i to enter insert mode. Insert your password (without spaces) between the two colons.lb exit the insert mode, press the Esc key.'JYpe zz (uppercase) to exit the vi editor. To flush the buffers to disk, enter:

sync sync

4.17 If your console is not a TI 928, you must edit /etc/inittab to place the correct terminal type for the console in this file. When this is done, the console will be set to the correct type when proceeding to multiuser mode.

To edit the /etc/inittab file, enter:

vi /etc/inittab

Move to the following line in the file by pressing the j key:

ta:2:respawn:/etc/getty console 9600 xl

The following table is a partial list of terminals and types. Choose the terminal type that is correct for your system console.

TerminallMode TI 924/931 mode TI 924/924 mode TI928/default TI931!default

Notes:

x5 works on a real 931 only.

t9 works on any 931 or 931 emulator.

Type t9 tl

xl x5

4-5

Rebuilding a Systf~m Disk

Editing /etc/sitename

Completion

Customizing Devices

Unmounting /usr

Proceed in the /etc/inittab file to the last field on the line and change the two-char-acter terminal typ1e field (xl) to your console's terminal type:. Position the cursor on the "x" and type cw to enter Change Word mode. 1)rpe in your terminal type.

Press the Esc key and then type zz (uppercase) to exit the vi editor. Enter the following commands to write this file out to disk:

sync sync

4.18 Edit /etc/sit;ename to add your site name. Enter the foHowing commands to write the file out to disk:

sync sync

4.19 The following steps are necessary to complete the installation.

4.19.1 Use devadm(lT) in the interactive mode (devadm -i) to customize your devices. Refer to Configuring Devices in the TI System V Admillistra tor's Guide for detailed information concerning configuration of secondary disks, tapes, ter-minals, printers, and terminal concentrators.

4.19.2 Before proceeding to multiuser mode, unmount the /usr file system by entering the following commands:

umount /dev/dsk/sys:usr; sync

Note that the preceding commands assume that your system disk is named sys. If it is not, substitute your volume name in place of sys.

init 2 . 4.19.3 Now proceed to multiuser mode by entering the following command:

init 2

Answer y when prompted for date and file system checking. All file systems created before the 3.2.0 release must be checked by the fsck command before they can be mounted.

Restoring Files 4.19.4 You can now restore any data files, application programs, or user files from your most recent backup copies. In addition, you may need to reinstall and relink third-party and application software. Do not replace any files that were on the distribution tape.

4-6 Release Infon11ation

Customizing Your System

Rebuilding a System Disk

4.19.5 The File Formats and Miscellaneous sections in the TI System V Program-mer's Reference discuss file formats and miscellaneous topics. Become familiar with these sections to help you customize your system. See environ(5) for a de-scription of how the system sets environment variables when a user logs in.

1. Edit the file /etcrrZ. If necessary, set up /etcrrZ so that it contains your time zone. The format isxunzzz, where.o:x is the standard local time zone abbrevi-ation, 11 is the difference in hours from Greenwich mean time, and zzz is the abbreviation for the daylight-saving local time zone, if any. Note that yo~

must also edit the file /etcffiMEZONE. Make sure the value for TZ in that file matches the contents of /etcrrZ. The following list gives examples .of time zone abbreviations:

Time Zone Eastern Central Mountain Pacific

Entry EST5EDT CST6CDT MST7MDT PST8PDT

2. Create user accounts and environment. See User Management in the TI System V Administrator's Guide and environ(5). Assign passwords to all user IDs.

3. Configure spooler devices. See Printer Spooling System in the TI System V Administrator's Guide.

4. Configure uucp, if necessary. See Administering Basic Networking (uucp) in the TI System V Administrator's Guide and paragraph 5.1.2 in this document.

5. TIme your system for optimum performance. See System Performance in the TI System V Administrator's Guide.

6. Determine if you want to run the netcp(lT) utility on the HPE interface(s) if you are using a 68040 MP or a HPEOl Ethernet option card. See Configuring the STREAMS XNS Driver in the Ethernet section of the TI System V Admin-istrator's Guide for details.

7. Configure the Streams-based pseudo-tty driver if you have any add-on prod-ucts that use this facility. See paragraph 5.1.16 for more information.

Release Illfonnatioll 4-7

Im Dokument TI SYSTEM V RELEASE INFORMATION (Seite 36-39)