UnixWare 7 Migration Guide

SCO OpenServer Release 5 to UnixWare 7

Release 1.0

This guide explains how to migrate SCO® SCO OpenServerTM Release 5 system data to the UnixWare® 7 platform. Because these platforms differ significantly, migration is accomplished by a set of detailed procedures rather than a single upgrade process. While UnixWare 7 contains many new and updated features and subsystems, much of the data from your SCO OpenServer Release 5 system may, with some modification, be used under UnixWare 7.


NOTE: The migration of applications and binaries is beyond the scope of this guide. For basic application compatibility, see ``Application compatibility''.

System files subject to migration fall into two categories:


NOTE: You may find that updated migration tools and documentation is available for browsing and downloading from http://www.sco.com/unixware7/documentation/. Always check here first for the latest information.

How to use this guide

In addition to describing tools and precedures, this guide also includes as much orientation material as possible in the form of appendices. These contain information to orient the administrator in the UnixWare 7 environment, with more detailed explanations of differences between the two platforms.

Appendices:

Configurations that cannot be migrated

Although both platforms support similar features, certain implementations are different and migration is not possible:

Filesystems
SCO OpenServer Release 5 filesystems cannot be mounted and converted under UnixWare 7; you must create backups and restore them.

Virtual disks
Just as SCO OpenServer Release 5 filesystems cannot be accessed, virtual disk configurations cannot be migrated to the UnixWare 7 Volume Manager.

Printers
At this time, the simplest way to migrate your printer configuration is to invoke the Printer Setup Manager and re-create your printer setup.

Restoring SCO OpenServer Release 5 backups

The SCO OpenServer Release 5 version of cpio(1) is available on UnixWare 7, allowing you to restore archives created with the Backup Manager under SCO OpenServer Release 5. This command is intended for you to be able to restore cpio archives from an SCO OpenServer Release 5 system and should not be used to make UnixWare 7 backups.

To restore an SCO OpenServer Release 5 backup on UnixWare 7 using cpio(1):

  1. Create a filesystem-independent format archive of the SCO OpenServer Release 5 filesystem you wish to migrate using cpio(C).

  2. Log in as root

  3. Set the environment variable to use the SCO OpenServer Release 5 version of cpio:

    OSRCMDS=ON


    NOTE: Be sure to unset the command after you have completed restoring the backup.

  4. To restore the cpio archive:

    cpio -iAmudB -I/dev/ctape1

    Where /dev/ctape1 is the path to your tape device.

    You can select specific files and directories by adding them to the end of the command. If, for example, you wanted to restore the /tmp/hold/time file, you would type:

    cpio -iAmudB -I/dev/ctape1 tmp/hold/time

    Should you want to restore an entire directory, for example, /tmp/hold you would type:

    cpio -iAmudB -I/dev/ctape1 tmp/hold/*


    NOTE: Note that in both instances, the root ``/ '' slash is omitted.

  5. To verify the backup:

    cpio -itvn -I/dev/ctape1

    To list the files on a backup:

    cpio -iABmudq -I /dev/ctape1 \*

Restoring ARCserve/Open backups with ARCserveIT

ARCserveIT v6.6.0 for UnixWare 7 release 7.1x is able to retrive data backed up with ARCserve/Open from Cheyenne from a previous SCO OpenServer Release 5 system. ARCserveIT includes several upgrade utilites which allow you to migrate your existing ARCserve/Open databases and Auto Pilot jobs.

To restore your ARCserve/Open backup session with ARCserveIT:

  1. Log in as root

  2. Star the ARCserveIT GUI manager by starting a java-enabled web browser and type in the name of the installed ARCserveIT machine, as well as the port configured for ARCserveIT. For example, if your machine name was polaris configured on port 6060, you would type:

    http://polaris:6060

  3. Once the ARCserveIT GUI starts, log in as arcroot with the appropriate password.

  4. Click on the Restore manager

  5. In the Restore manager window, Click on the Source tab and select the source tape from which you want to restore.

  6. Select the backup session you wish to restore from the tape and Click on the Green light icon to start the restore job.

For more information on using ARCserveIT, please see the online ARCserveIT documentation.

Copying accounts from SCO OpenServer Release 5 to UnixWare 7

The ap (account profile) utility is supported on both platforms Should you need to gather accounts from multiple systems or routinely copy accounts across platforms, you can do it more simply using ap.

On a UnixWare 7 system, ap gathers account information from the /etc/passwd file and the I&A database. On an SCO OpenServer Release 5 system, ap gathers account information from the /etc/passwd file and the Protected Password database. Irrelevant information about the user (including unsuccessful login attempts, unsuccessful password changes, and the location and time of the last login) is not included in the profile.

Archiving accounts on your SCO OpenServer Release 5 system

To create a complete archive of your present users, log in as root and enter this command:

ap -d -v > profile.acct

To archive a subset of accounts, simply include a list as in this example:

ap -d -v > nathanb mavrac sergeo renard > profile.acct

You can also preserve the group membership information for each account using the -g (with either of the above commands).

Loading accounts onto your UnixWare 7 system

Using the profile.acct file saved from your SCO OpenServer Release 5 system, you can later load the accounts on your UnixWare 7 system with the restore option of the .ap(1M) command.

Because long passwords are supported in different ways in SCO OpenServer Release 5 and UnixWare 7, there are two ways that you can create a user account from the profile depending on how you want to handle user accounts that have long passwords.

The first method truncates long passwords to 8 characters. Enter the following command:

ap -r -f profile.acct usernames

If you do not specify any usernames, all accounts stored in profile.acct are copied to the system.

The new accounts should now be in place and ready for use. The ap command will warn you if any passwords had to be truncated. Instruct these users to only enter the first 8 characters of their password when they first log in. They will also be required to change their password at this time.

The second method allows you to specify a password using the -p option:

ap -r -f profile.acct -p password usernames

(Again, usernames is optional.) All user accounts with passwords longer than 8 characters will be assigned the same password. These users are prompted to change their password when they first log in. For example, if the users nathanb and mavrac both had passwords longer than 8 characters, the following command would set their login password to ``Global1'':

ap -r -f profile.acct -p Global1

Other accounts present in the file with short passwords are unaffected.

If you want users to have different initial passwords, invoke one command for each user.

Migrating your hardware configuration

For the most part, your hardware devices will be configured automatically when you install UnixWare 7. If an adapter, bus card, data port, or peripheral is not recognized after the installation, use the information in this topic to configure your hardware.


NOTE: Most SCO OpenServer Release 5 devices are supported under UnixWare 7, but you should verify this with the hardware compatibility web page. Specialized hardware (such as multiport serial cards) use third-party drivers. You may need to obtain new drivers for UnixWare 7.

Configuration interfaces

UnixWare 7 provides a set of SCOadmin managers similar to those available on SCO OpenServer Release 5. For differences between UnixWare 7 configuration interfaces and those provided with SCO OpenServer Release 5, see ``Understanding the UnixWare 7 platform''.

The UnixWare Device Configuration Utility (DCU) has been added to SCOadmin. You will use this interface to display and modify device-specific configuration parameters for many devices that are stored in an in-core database. The DCU is particularly useful for detecting and resolving conflicts between configured devices, determining free parameter values when adding ISA (Industry Standard Architecture) hardware that is not auto-detected or auto-configured, and configuring ISA device controllers.

For more information, consult ``Using the Device Configuration Utility (DCU)'' in the UnixWare 7 online documentation.


NOTE: We recommend that you use the appropriate SCOadmin manager for device-specific configuration and modifications. The DCU is best used for system monitoring, troubleshooting, and special configuration scenarios. It cannot be used successfully with all devices; see the device-specific SCOadmin manager documentation appropriate to your system for more information.

Sound cards

Use the Audio Configuration Manager to add and configure sound cards. You can play and record audio files with the scosound(X1) utility.

For more information, see ``Configuring audio adapters'' in the UnixWare 7 online documentation.

Printers

Use the SCOadmin Printer Setup Manager to add and modify printers.

For more information, see ``Managing the print service'' in the UnixWare 7 online documentation.

Network adapters

Use the Network Configuration Manager to configure LAN network adapter drivers, and LAN and WAN protocols.

For more information, see ``Configuring network hardware'' in the UnixWare 7 online documentation.

Modems

Use the Modem Configuration Manager to:

For more information, see ``Configuring modems'' in the UnixWare 7 online documentation.


NOTE: PC Card (PCMCIA) modems are configured using the using the Device Configuration Utility (DCU).

While ISDN modems are configured with the Modem Configuration Manager, ISDN bus adapters are configured with the Network Configuration Manager.


Serial ports

Use the Serial Manager to configure individual serial ports. If the ports do not appear to be recognized, run the DCU.

For more information, see ``The Serial Manager'' in the UnixWare 7 online documentation.

Mass storage devices

Use the Device Configuration Utility (DCU) to add support for tape, CD-ROM, and hard disk drives which were not auto-detected during the installation process.

UnixWare 7 disk tools are discussed in ``The UnixWare 7 disk subsystem''. for more information.

Plug and Play devices

Use the PnP Configuration Manager to enable Plug and Play devices that are not recognized by other managers; for example:

For more information, see ``Configuring Plug and Play devices'' in the UnixWare 7 online documentation.

Tape backup

Most tape drives supported on SCO OpenServer Release 5 can be used on UnixWare 7, but some floppy-tape (QIC-80) devices may not be supported.

If your SCO OpenServer Release 5 system includes ARCserve/Open 2.2 from Cheyenne, you may be able to migrate your database to operate with ARCserveIT 6.6. For more information, please see the online ARCServeIT documentation.

For more information, see ``Adding tape drives'' in the UnixWare 7 online documentation.


NOTE: The SCO OpenServer Release 5 Backup Manager is not available under UnixWare 7 You can read and restore backup tapes from your SCO OpenServer Release 5 system as described in ``Restoring SCO OpenServer Release 5 backups''.

Video adapters

UnixWare 7 supports a large number of video adapters including those supported under SCO OpenServer Release 5. In addition, UnixWare 7 provides the vesa X server driver. This generic driver can operate any new video card that honors the VESA BIOS interface, and is useful in supplying high resolution support to video cards that do not have a specific accelerated driver. For more information on this feature, including performance implications, see SCOhelp on your installed UnixWare 7 system.

Most video adapters are automatically configured when you install your UnixWare 7 system. However, you should record your video configuration from your previous operating system in case:

To manually configure a video adapter in UnixWare 7, use the SCOadmin Video Configuration Manager.

The display at the top of the screen lists the name of the adapter, any configured monitor, and the resolution.

Record this information, then (if auto-detection or auto-configuration fails) use it to configure your adapter on UnixWare 7 using the SCOadmin Video Configuration Manager.

Troubleshooting video configuration

If you install your UnixWare 7 system and find that your video adapter is incorrectly configured, or you want to modify configuration, try the following.

To run your system in a safe video mode

Enter /usr/bin/X11/setvideomode -stdvga. This This sets IBM VGA 640x480-16 mode, which is almost always safe for any adapter.

To restore the adapter's default configuration

Enter /usr/bin/X11/setvideomode -default. Do this if initial auto-configuration worked well enough to get the video working, but you manually configured the adapter to a different setting and lost the use of the video adapter.

This -default option restores the settings to initial auto-configuration defaults.

To determine the video adapter in the system

Enter /usr/bin/X11/VideoHelp.

This command lets you know what video adapter is present on your system.

Migrating networking

The following topics are discussed here:

Migrating network interface configuration

Configuration of network interface hardware in UnixWare 7 can be done at install time (for one network adapter only), or it can be performed at a later time by using the Network Configuration Manager as in SCO OpenServer Release 5.

Note the configuration details of the network adapter hardware (IRQ, I/O address range, memory address range, DMA channel) in your system so that you can configure your UnixWare 7 system with these values. For SCO OpenServer Release 5, note the details displayed by the Network Configuration Manager.

Migrating TCP/IP

In UnixWare 7, TCP/IP is configured over a network interface using the Network Configuration Manager as in SCO OpenServer Release 5. You should note the hostname, domain name, IP address, netmask, broadcast address and frame type of the existing network interfaces so that you can configure these on your UnixWare 7 system. To obtain these values, run the Network Configuration Manager.

Files to migrate

You may need to copy over the file /etc/hosts from the SCO OpenServer Release 5 system. This contains information about the hostnames and IP addresses of localhost and other systems. It is recommended that you merge this information with the existing /etc/hosts file to avoid accidentally removing the localhost entry.

You may also need information from the /etc/tcp file on an SCO OpenServer Release 5 system such as the IP address of a statically configured default router. Look for an entry such as:

   /etc/route add default gateway

The /etc/tcp file on an SCO OpenServer Release 5 system contains information about which TCP/IP services should be configured in the /etc/inet/config file on your UnixWare 7 system. The /etc/inetd.conf file will also show what services were available through the inetd daemon. Again, you should only consult this file so that you can amend the /etc/inetd.conf file on your UnixWare 7 system. (Note that UnixWare 7 is bundled with TCP Wrappers which allow you to control who can access the services listed in /etc/inetd.conf.)

Migrating DHCP or AAS from SCO OpenServer Release 5.0.4

If you configured the Dynamic Host Configuration Protocol (DHCP) or the Address Allocation Server (AAS) on your SCO OpenServer Release 5.0.4 system, you can migrate their daemon configuration files, /etc/inet/dhcpd.conf and /etc/inet/aasd.conf, to UnixWare 7. Both will work without additional modification.

DHCP and AAS were not available on previous versions of SCO OpenServer Release 5.

Migrating routing

This section discusses differences between UnixWare 7 and SCO OpenServer Release 5, and how the upgrade of routing may be accomplished.

Differences

UnixWare 7 contains updated gated and routed daemons (named in.gated and in.routed) and an updated route command. Both gated and routed support RIP Version 1 and Version 2, and router discovery. The separate router discovery daemon, irdd, that was available in SCO OpenServer Release 5 does not exist in UnixWare 7.

The release of gated in UnixWare 7 is similar to the version in SCO OpenServer Release 5.

gated in UnixWare 7 supports RIPv1, RIPv2, OSPFv2, EGPv2, BGPv2-v4, and router discovery.

Updated support commands for gated in UnixWare 7 include gdc, ripquery and ospf_monitor.

routed in UnixWare 7 supports RIPv1, RIPv2, and router discovery. routed in SCO OpenServer Release 5 only supported RIPv1. A new support command, rtquery, allows you to query routing daemons in the manner of ripquery. Additionally, it provides additional control over routed, by allowing you to raise or lower the trace level for debugging.

gated conforms to the RFCs shown in the following table:

  SCO OpenServer Release 5 UnixWare 7 Description
RFC 891 Yes Yes DCN local network protocols
RFC 904 Yes Yes EGP specification
RFC 911 Yes Yes EGP gateway
RFC 1058 Yes Yes RIPv1 specification
RFC 1163 RFC 1267 RFC 1267 BGP specification
RFC 1164 RFC 1268 RFC 1268 BGP application
RFC 1253 Yes Yes OSPFv2 MIB
RFC 1256 Yes Yes Router discovery
RFC 1267 Yes Yes BGP-3 specification
RFC 1268 Yes Yes BGP-3 application
RFC 1269 Yes Yes BGP-3 managed objects
RFC 1389 Yes Yes RIPv2 MIB RFC 1403
Yes BGP OSPF interaction  
RFC 1583 Yes Yes OSPFv2 specification
RFC 1723 Yes Yes RIPv2 specification

 --------------------------------------------------------------------------------
|         |  SCO OpenServer Release 5|  UnixWare 7|  Description                |
|---------|--------------------------|------------|-----------------------------|
| RFC 891 |  Yes                     |  Yes       |  DCN local network protocols|
|---------|--------------------------|------------|-----------------------------|
| RFC 904 |  Yes                     |  Yes       |  EGP specification          |
|---------|--------------------------|------------|-----------------------------|
| RFC 911 |  Yes                     |  Yes       |  EGP gateway                |
|---------|--------------------------|------------|-----------------------------|
| RFC 1058|  Yes                     |  Yes       |  RIPv1 specification        |
|---------|--------------------------|------------|-----------------------------|
| RFC 1163|  RFC 1267                |  RFC 1267  |  BGP specification          |
|---------|--------------------------|------------|-----------------------------|
| RFC 1164|  RFC 1268                |  RFC 1268  |  BGP application            |
|---------|--------------------------|------------|-----------------------------|
| RFC 1253|  Yes                     |  Yes       |  OSPFv2 MIB                 |
|---------|--------------------------|------------|-----------------------------|
| RFC 1256|  Yes                     |  Yes       |  Router discovery           |
|---------|--------------------------|------------|-----------------------------|
| RFC 1267|  Yes                     |  Yes       |  BGP-3 specification        |
|---------|--------------------------|------------|-----------------------------|
| RFC 1268|  Yes                     |  Yes       |  BGP-3 application          |
|---------|--------------------------|------------|-----------------------------|
| RFC 1269|  Yes                     |  Yes       |  BGP-3 managed objects      |
|---------|--------------------------|------------|-----------------------------|
| RFC 1389|  Yes                     |  Yes       |  RIPv2 MIB RFC 1403         |
|---------|--------------------------|------------|-----------------------------|
| RFC 1583|  Yes                     |  Yes       |  OSPFv2 specification       |
|---------|--------------------------|------------|-----------------------------|
| RFC 1723|  Yes                     |  Yes       |  RIPv2 specification        |
|---------|--------------------------|------------|-----------------------------|
routed conforms to the RFCs shown in the following table:

  SCO OpenServer Release 5 UnixWare 7 Description
RFC 1058 Yes Yes RIPv1 specification
RFC 1256 Yes Router discovery
RFC 1723 Yes RIPv2 specification

 ------------------------------------------------------------------------
|         |  SCO OpenServer Release 5|  UnixWare 7|  Description        |
|---------|--------------------------|------------|---------------------|
| RFC 1058|  Yes                     |  Yes       |  RIPv1 specification|
|---------|--------------------------|------------|---------------------|
| RFC 1256|                          |  Yes       |  Router discovery   |
|---------|--------------------------|------------|---------------------|
| RFC 1723|                          |  Yes       |  RIPv2 specification|
|---------|--------------------------|------------|---------------------|

Configuring routing

UnixWare 7 does not provide a graphical manager for configuring routing. However, the Network Client Manager does include support for the traceroute and ping.

You can use the Network Configuration Manager to configure a default router.

Files to migrate

In UnixWare 7 all routing configuration files are located in /etc/inet, rather than in /etc as in SCO OpenServer Release 5.

Configuration files are:

/etc/inet/gated.conf
gated configuration file

/etc/inet/gateways
routed configuration file
The following sample files are provided in /etc/inet for gated configuration:

gated.bgp
BGP configuration

gated.egp
EGP configuration

gated.ospf
OSPF configuration

gated.rip
RIP configuration

Migrating gated and routed files to UnixWare 7

For gated, changes are required to /etc/inet/gated.conf. Some keywords recognised by gated in SCO OpenServer Release 5 have changed and affect the default behavior. In particular, a new aggregate keyword may be required as route aggregation was always enabled in SCO OpenServer Release 5. Additionally, more extensive tracing is provided; see gated.conf(4tcp) for further details).

The gdc checkconf command is useful for checking the integrity of the gated.conf file. It should be run in multi-user mode (that is, with networking running). Otherwise, it will be unable to pick up valid network interfaces to use.

For routed, the /etc/inet/gateways configuration file supports many more command keywords. In particular, the no_rdisc keyword can be used to disable router discovery (enabled by default). See routed(1Mtcp) for details.

The gdc and rtquery commands provide the ability to dump a snapshot of the routing daemon's routing table and interface list to a log file for debugging purposes.

The files /var/adm/syslog and /var/adm/log/osmlog are used to log messages by default.

Migrating DNS

UnixWare 7 is shipped with a version of BIND that includes a number of bug fixes, security fixes security fixes and new features over versions of BIND that shipped with SCO OpenServer Release 5.

Configuring DNS

DNS may be configured using the DNS Manager. However, if you migrate configuration files from SCO OpenServer Release 5, the DNS Manager may not be able to understand their structure or naming conventions. In this case, you must edit the files yourself.

DNS files to be migrated from SCO OpenServer Release 5

The file /etc/named.boot must be relocated as /etc/inet/named.boot. Similarly, any configuration files in the /etc/named.d hierarchy should be relocated below /etc/inet/named.d. You may also need to edit the files to correct any pathnames such as those specified by the directory directive. You do not need to copy over the cache hints file (see root.cache(4tcp)) as one is provided with the system (/etc/inet/named.d/db.cache). If necessary, you can use the DNS Manager to update this file.

Remove any hostresorder line in the resolver configuration file, /etc/resolv.conf. In UnixWare 7, name resolution order and methods are controlled using entries in /etc/netconfig. It is recommended that you do not edit this file directly. Use the Network Client Manager to configure entries in this file.

Migrating DNS files

The recommended upgrade path is to use the DNS Manager to configure a caching-only nameserver.

Next, configure any zones that the system serves as a primary name server. Use the ndc restart command to restart named. Check the contents of /var/adm/syslog and /var/adm/log/osmlog for any named errors. You may notice that hostnames containing an underbar (``_'') character are logged as this is an illegal character for an Internet hostname. You should rename these hosts if possible.

Finally, configure any zones that the system serves as a secondary or stub name server and restart named. Check the logs again and check that the zone data has been written to the correct files.

The interpretation of a decimal point in the SOA serial number has changed. Previous versions of BIND would interpret 1.234 as 1000234 instead of 1234. The recommended serial number format is YYYYMMDDNN where YYYY is the year, MM is the month (01-12), DD is the day (01-31), and NN is the serial number of the change during that day (00-99) This allows you to make 100 changes a day until the year 4294.

Migrating NIS

The version of NIS in UnixWare 7 is based on that in SCO UnixWare 2.1. shipped. NIS in UnixWare 7 does not support the copy-only servers that could be configured in the SCO OpenServer Release 5 version of NIS.

Configuring NIS in UnixWare 7

NIS may be configured using ypinit. Alternatively, you can use the Network Client Manager to configure a NIS client.

Migrating NIS files to UnixWare 7

In UnixWare 7, NIS files are located in the /var/yp hierarchy rather than in the /etc/yp hierarchy used in SCO OpenServer Release 5.

NIS master and slave servers should set up /etc/passwd and /etc/group files using the Account Manager as normal but the copies of these files that are used to generate the corresponding NIS maps can be located elsewhere if the DIR variable is redefined in /var/yp/Makefile.
Run ypinit with the appropriate option on all systems that need to use NIS:

-m
Configure a master server.

-s master
Configure a slave server specifying the master.

-c
Configure a client. Alternatively, use the Network Client Manager.
Finally, on NIS clients, add escapes (+:) to files such as /etc/passwd and /etc/group so that they can access the corresponding NIS maps.

Migrating UUCP

For SCO OpenServer Release 5 users, there are new APIs, dials(3N) and cs_connect(3N), which are used to dial out to remote systems. The SCO OpenServer Release 5 modem dialers (based on atdialer) have been carried forward to UnixWare 7. This allows for the configuration of over 900 different modems.

UnixWare 7 includes support for ISDN BRI adapters and call service handling. Both of these features are proprietry to SCO.

Configuring UUCP

To configure entries for modems and ISDN adapters in the /etc/uucp/Devices file, use the Hardware menu under the WAN view of the Network Configuration Manager.

To configure call services and filters defined in the files /etc/ics/Callfilter and /etc/ics/Callservices, select Call Services->Incoming in the WAN view of the Network Configuration Manager.

To configure entries for remote systems in the /etc/uucp/Systems file, select Call Services->Outgoing in the WAN view of the Network Configuration Manager.

Files to migrate

For SCO OpenServer Release 5, the following files should be moved to /etc/uucp:

/usr/lib/uucp/Devices

/usr/lib/uucp/Permissions

/usr/lib/uucp/Poll

/usr/lib/uucp/Systems
These files should not need modification.

The Devices file may need modifying to reflect the device naming scheme used by UnixWare 7. See ``Serial device node naming conventions'' the UnixWare 7 online documentation for details.

Migrating an ftp server

The ftp servers in SCO OpenServer Release 5 and UnixWare 7 are based on the Washington University ftp server, wu-ftpd. The UnixWare 7 version is based on version 2.4. It includes additional features and many bug fixes compared to the SCO OpenServer Release 5 version.

The ftp servers in SCO OpenServer Release 5 and UnixWare 7 conform to RFC 959 and RFC 1123.

Configuring the UnixWare 7 ftp server

The ftp server in UnixWare 7 may be configured using the ftp Server Manager.

Files to migrate

The following files need to be migrated from SCO OpenServer Release 5:

Procedure for migrating ftp files

Any user names added to the SCO OpenServer Release 5 or /etc/ftpusers file should be added to the UnixWare 7 /etc/ftpusers file in order to continue to deny access to those users.

Any shells added to the SCO OpenServer Release 5 /etc/shells file should be added to the UnixWare 7 /etc/shells file in order to continue to allow access to a user who has one of those shells as their login shell. The pathnames of some entries may need changing to match the location of the shell in the filesystem hierarchy of UnixWare 7.

Any conversions added to the SCO OpenServer Release 5 /etc/ftpconv file should be added to the UnixWare 7 /etc/ftpconversions file, changing the pathname of the conversion utility where appropriate.

The syntax of some entries in /etc/ftpaccess has changed:

Migrating NFS

NFS in UnixWare 7 and SCO OpenServer Release 5 is based on Version 2. Configuration of NFS and the automounter in UnixWare 7 is substantially different from SCO OpenServer Release 5.

NFS in UnixWare 7 does not include the spongy mount or transport over TCP features of NFS in SCO OpenServer Release 5.

automount in SCO OpenServer Release 5 automatically consults the NIS auto.master map unless the -m option is specified on the command line. It does not consult the /etc/auto.master file unless this is also specified using the -f option. automount in UnixWare 7 reads the /etc/auto.master file unless you override the pathname using the -f option. It does not consult the NIS auto.master map unless the following line is included in the /etc/auto.master file on the client:

   +auto.master

Configuring NFS in UnixWare 7

A filesystem is made available for mounting by NFS clients by adding share(1Mnfs) entries to the /etc/dfs/dfstab file. You can invoke the entries in this file by executing the following command:

. /etc/dfs/dfstab

You can mount NFS filesystems on NFS clients using the Filesystem Manager.

Files to migrate

The following table shows approximate equivalences between NFS configuration files in SCO OpenServer Release 5 and UnixWare 7:

SCO OpenServer Release 5 UnixWare 7 Description
/etc/default/filesys /etc/vfstab Used by client to define filesystem to be mounted
/etc/exports /etc/dfs/dfstab Used by server to define filesystems that clients can mount
/etc/auto.master /etc/auto.master Lists initial automount configuration. The information may also be obtained as a map from an NIS server
/etc/auto.direct
/etc/auto.indirect
/etc/auto.home List direct and indirect automount configuration. The information may also be obtained as map(s) from an NIS server

 SCO OpenServer         UnixWare 7         Description
 Release 5
 /etc/default/filesys   /etc/vfstab        Used by client to
                                           define filesystem
                                           to be mounted
 /etc/exports           /etc/dfs/dfstab    Used by server to
                                           define filesystems
                                           that clients can
                                           mount
 /etc/auto.master       /etc/auto.master   Lists initial
                                           automount
                                           configuration.  The
                                           information may
                                           also be obtained as
                                           a map from an NIS
                                           server
 /etc/auto.direct       /etc/auto.home     List direct and
 /etc/auto.indirect                        indirect automount
                                           configuration.  The
                                           information may
                                           also be obtained as
                                           map(s) from an NIS
                                           server
If migrating from SCO OpenServer Release 5, use the information in the configuration files to configure your UnixWare 7 system. Do not simply copy the /etc/default/filesys and /etc/exports files as their formats do not match that of UnixWare 7. The following options supported by mount in SCO OpenServer Release 5 are not supported in UnixWare 7:

exec noexec
trunc notrunc
tcp spongy

 exec    noexec
 trunc   notrunc
 tcp     spongy
We recommend that you enter the information in /etc/default/filesys using the Filesystem Manager.

The information in the /etc/exports file can be added to /etc/dfs/dfstab as follows:

  1. Edit a copy of /etc/exports. Each line, other than comment lines that start with a ``#'' character, should start off with the following format:
    pathname	-options	# comment
    
    Change each line so that it has the following format:
    share -Fnfs -o "options" [-d "comment"] pathname
    
    The description specified by the -d option is optional. The access option in SCO OpenServer Release 5 is not supported by UnixWare 7. Replace each access option with ro (read-only) or rw (read and write) to define the read permissions for each client explicitly. Note that netgroup entries are supported. For example, consider the following lines in a copy of the /etc/exports file from an SCO OpenServer Release 5 system:
    /usr       -access=clients              #export to netgroup clients
    /usr/local                              #export to the world
    /usr2      -access=hermes:zip:tutorial  #export to only these machines
    /usr/sun   -root=hermes:zip             #give root access only to these
    /usr/new   -anon=0                      #give all machines root access
    /usr/bin   -ro                          #export read-only to everyone
    /usr/stuff -access=zip,anon=-3,ro       #several options on one line
    
    This would be converted to:
    share -Fnfs -o "rw=clients"             /usr
    share -Fnfs -d "export to the world"    /usr/local
    share -Fnfs -o "rw=hermes:zip:tutorial" /usr2
    share -Fnfs -o "root=hermes:zip"        /usr/sun
    share -Fnfs -o "anon=0"                 /usr/new
    share -Fnfs -o "ro"                     /usr/bin
    share -Fnfs -o "rw=zip,anon=-3,ro"      /usr/stuff
    

  2. Copy this file to the end of /etc/dfs/dfstab on the UnixWare 7 NFS server.

  3. Run the following command to make the filesystems available for clients to mount:

    . /etc/dfs/dfstab

The automount configuration files may be copied across but you may have to edit them to fix compatibility differences. UnixWare 7 has a single file auto.home (and correspondingly named map) which combines the function of auto.direct and auto.indirect. It is possible to configure separate NIS maps by editing /var/yp/Makefile but you may find it simpler to combine auto.direct and auto.indirect. You will also need to change any NIS map entries such as ``+auto.direct'' and ``+auto.indirect'' to ``+auto.home'' if clients obtain these maps using NIS.

Migrating NTP

SCO OpenServer Release 5 included version 3.2 of NTP and UnixWare 7 includes version 3.5f of NTP. These conform to RFC 1305 and retain compatibility with RFC 1119 and RFC 1059.

NTP configuration

NTP clients may be configured using the Network Client Manager.

NTP servers are configured by editing the file /etc/inet/ntp.conf. Configuration of NTP servers does not differ substantially between SCO OpenServer Release 5 and UnixWare 7 except for the following points:

Files to migrate

The default NTP configuration file in SCO OpenServer Release 5 is /etc/ntp.conf. The default NTP configuration file in UnixWare 7 is /etc/inet/ntp.conf. In addition, you will need to copy over files containing authentication keys. You should also create any log files such as those used for writing drift measurements and other statistics. The pathnames of these files will be defined in the ntp.conf file.

Migrating NetWare and IPX/SPX

IPX/SPX in SCO OpenServer Release 5 is based on NWU Version 3.1. IPX/SPX in UnixWare 7 is based on Netware 4.10a.


NOTE: Configuration of networking stacks in UnixWare 7 should only be performed using the Network Configuration Manager.

UnixWare 7 supports NetWare over IP (NWIP) by tunneling IPX/SPX packets over IP. At least one NetWare server must be configured to run as a Domain SAP/RIP Server (DSS). See ``NWIP configuration parameters'' the UnixWare 7 online documentation for details. for more information.

Configuring IPX/SPX stacks

Use the Network Configuration Manager to configure IPX/SPX. Using nwcm or editing the configuration files by hand is not recommended.

IPX/SPX files to be migrated

From SCO OpenServer Release 5, configuration information in the file /etc/ipx.d/NPSConfig may need to be migrated.

The information in these files should be migrated to /etc/netware/nwconfig on your UnixWare 7 system.

Migrating files to UnixWare 7

The configuration file /etc/netware/nwconfig contains configuration information for all NetWare components including the IPX/SPX stack. This section refers only to IPX/SPX stack configuration.

The contents of the SCO OpenServer Release 5 configuration file /etc/netware/nwconfig differ significantly from the file /etc/ipx.d/NPSConfig in UnixWare 7.


WARNING: Do not copy the stack related sections of the config file from one system to another. For example, do not copy lines such as the following:
   lan_N_adapter = "/dev/netn"

Migrating NetBIOS

The version of NetBIOS in UnixWare 7 is based on the in-kernel NetBIOS in SCO OpenServer Release 5 with the following enhancements:

Configuring NetBIOS in UnixWare 7

NetBIOS in UnixWare 7 is not configurable using the Network Configuration Manager. It is necessary to edit the file /etc/inet/nb.conf instead. However, as the default behavior of NetBIOS is to run over all available interfaces, this is not usually necessary unless you want to configure name resolution via nominated WINS servers.

NetBIOS files that must be migrated

The only NetBIOS file that needs to be migrated is /etc/default/netbios to /etc/inet/nb.conf.

Procedure for migrating NetBIOS configuration files

There are several differences in the parameters that can be configured in /etc/default/nbconf and /etc/inet/nb.conf. The following parameter has been enhanced for UnixWare 7:

NB_ADDR
This allows you to specify the IP addresses of the interfaces to be used. Set this to the null string ("") if all available interfaces are to be used.
The following parameters are new for UnixWare 7:

NB_NAMESEARCH
Specify name resolution methods and order.

NB_WINS_PRIMARY
Specify a primary WINS server.

NB_WINS_SECONDARY
Specify a secondary WINS server.
See netbios(1Mtcp) for more information.

The following parameters are no longer valid in UnixWare 7:

NB_HOST

NB_MAXPKT

NB_BROADCAST
These parameters should be deleted.

Migrating PPP

PPP has changed extensively in UnixWare 7. It supports the following new features:

PPP in UnixWare 7 does not support SNMP Managed Objects for LCP or IP (RFC 1471 and RFC 1473) which were supported in SCO OpenServer Release 5.

Configuring PPP

Most of the PPP configuration files in SCO OpenServer Release 5 are replaced by a single file that should not be edited manually. The contents of the file may be changed using the PPP Manager or the ppptalk(1M) command. You can also use the PPP Internet Connection Manager to set up simple outgoing PPP configurations.

Pools of available IP addresses may be configured using the Address Allocation Manager in UnixWare 7. The UUCP Systems and Devices files may be configured from the WAN view of the Network Configuration Manager. Packet filter definitions may be configured using the Packet Filter Manager.

Migrating PPP

The following table shows the equivalence between SCO OpenServer Release 5 PPP configuration files and data definition statements that are internal to ppptalk in UnixWare 7:

Feature configured SCO OpenServer Release 5 file UnixWare 7
definitions
PPP endpoints /etc/inet/ppphosts bundle
link
protocol
Authentication database /etc/inet/pppauth auth
Third-party framing drivers /etc/pppstack  
link    
IP address pool /etc/ppppool protocol
Packet filters /etc/pppfilter protocol

 ----------------------------------------------------------------
| Feature configured         |  SCO OpenServer    |  UnixWare 7 |
|                            |  Release 5 file    |  definitions|
|----------------------------|--------------------|-------------|
| PPP endpoints              |  /etc/inet/ppphosts|  bundle     |
|                            |                    |  link       |
|                            |                    |  protocol   |
|----------------------------|--------------------|-------------|
| Authentication database    |  /etc/inet/pppauth |  auth       |
|----------------------------|--------------------|-------------|
| Third-party framing drivers|  /etc/pppstack     |             |
|----------------------------|--------------------|-------------|
| IP address pool            |  /etc/ppppool      |  protocol   |
|----------------------------|--------------------|-------------|
| Packet filters             |  /etc/pppfilter    |  protocol   |
|----------------------------|--------------------|-------------|
The following table shows equivalences between parameters in the ppphosts file in SCO OpenServer Release 5 and parameters that can be configured using ppptalk in UnixWare 7:

ppphosts parameter ppptalk parameter ppptalk definition
accm accm protocol = lcp
attach bundle_tag bundle
auth protocol auth
authtmout authtmout bundle | global
bypassframing No equivalent
clocal No equivalent
conf maxcfg protocol = ccp | ip | lcp
debug debug bundle | link | protocol
filter bringup
keepup
passin
passout
protocol = ip
flow flow link
forcefarip peeropt = force protocol = ip
forcenearip localopt = force protocol = ip
getfarip peeropt = any protocol = ip
getnearip localopt = any protocol = ip
idle maxidle bundle
local localaddr protocol = ip
mask netmask protocol = ip
maxslot vjmaxslot protocol = ip
mru mru protocol = lcp
nak maxfail protocol = ccp | ip | lcp
name peerauthname bundle | global
noaccomp acfc = no protocol = lcp
noslotcomp vjslotcomp = no protocol = ip
noipaddr localopt = any
peeropt = any
protocol = ip
nomgc magic = no protocol = lcp
noprotcomp acfc = no protocol = lcp
novj vjcompress = no protocol = ip
old No equivalent
providefarip peeropt = prefer protocol =ip
providenearip localopt = prefer protocol =ip
proxy proxyarp protocol = ip
remote peeraddr protocol = ip
reqtmout reqtmout protocol = ccp | ip | lcp
retry No equivalent
rfc1172addr No equivalent
sh_hook exec protocol = ip
speed No equivalent
staticdev dev link
term maxterm protocol = ccp | ip | lcp
uucp remotesys bundle

 ppphosts parameter   ppptalk parameter   ppptalk definition
 accm                 accm                protocol = lcp
 attach               bundle_tag          bundle
 auth                 protocol            auth
 authtmout            authtmout           bundle | global
 bypassframing        No equivalent
 clocal               No equivalent
 conf                 maxcfg              protocol = ccp | ip | lcp
 debug                debug               bundle | link | protocol
 filter               bringup             protocol = ip
                      keepup
                      passin
                      passout
 flow                 flow                link
 forcefarip           peeropt = force     protocol = ip
 forcenearip          localopt = force    protocol = ip
 getfarip             peeropt = any       protocol = ip
 getnearip            localopt = any      protocol = ip
 idle                 maxidle             bundle
 local                localaddr           protocol = ip
 mask                 netmask             protocol = ip
 maxslot              vjmaxslot           protocol = ip
 mru                  mru                 protocol = lcp
 nak                  maxfail             protocol = ccp | ip | lcp
 name                 peerauthname        bundle | global
 noaccomp             acfc = no           protocol = lcp
 noslotcomp           vjslotcomp = no     protocol = ip
 noipaddr             localopt = any      protocol = ip
                      peeropt = any
 nomgc                magic = no          protocol = lcp
 noprotcomp           acfc = no           protocol = lcp
 novj                 vjcompress = no     protocol = ip
 old                  No equivalent
 providefarip         peeropt = prefer    protocol =ip
 providenearip        localopt = prefer   protocol =ip
 proxy                proxyarp            protocol = ip
 remote               peeraddr            protocol = ip
 reqtmout             reqtmout            protocol = ccp | ip | lcp
 retry                No equivalent
 rfc1172addr          No equivalent
 sh_hook              exec                protocol = ip
 speed                No equivalent
 staticdev            dev                 link
 term                 maxterm             protocol = ccp | ip | lcp
 uucp                 remotesys           bundle

Migrating PPP configuration files

It is not feasible to migrate the PPP configuration files from SCO OpenServer Release 5 to UnixWare 7. You should make backup copies of the files, and refer to these for configuration information when setting up PPP on your UnixWare 7 systems.

Migrating Mail and Messaging

SCO OpenServer Release 5 and UnixWare 7 contain different mail transport systems with different methods of configuration. However, the feature sets are similar and most features do migrate easily. This topic discusses those features that feature prominently in the GUI or character based configuration tools.

Mail folder formats are completely backwards-compatible from UnixWare 7 so folders can be imported with ease.

The following major areas are addressed here:

Each of these descriptions assumes that you are starting with a default configuration on UnixWare 7 and attempting to modify it to match your previous configuration.

Preserving users' inboxes

SCO OpenServer Release 5 user inboxes are located in /usr/spool/mail, and in /var/mail in UnixWare 7. There is a symbolic link to /usr/spool/mail from /var/mail, and it is therefore sufficient to copy these files to the new machine. No data conversion of these files is required.


NOTE: In the case where mailboxes are in users' home directories, these must be restored and the INBOX location configured to point there.

Using the Mail Manager to change the inbox location to the users' home directories, change the ``Users' INBOX Location'' setting (within the ``Folder Configuration'' category) to the appropriate setting.

Preserving transport agent configuration

SCO OpenServer Release 5 supports two mail transport agents: MMDF and sendmail. Preserving these configurations is described separately:

Preserving virtual domain support

OpenServer Release 5.0.4 sendmail supports virtual domains under POP. UnixWare 7 supports virtual domains and adds IMAP support as well.

SCO OpenServer Release 5 used virtual users (fake users known only to the POP server), whereas UnixWare 7 uses real users and exports them via a user map into the virtual domains.

Refer to ``The Virtual Domain User Manager'' in SCOhelp for details of how to set up virtual domains and export users to those domains. The virtual domain POP users' inboxes on SCO OpenServer Release 5 are contained in the directory /usr/internet/ip/ip_addr/sco_mail/spool, where ip_addr is the IP address of a virtual domain. The inboxes are named after the virtual user names.

These mailboxes do not need to be reformatted, but do need to be moved into the standard place for inboxes (by default, /var/mail) on UnixWare 7.

In UnixWare 7, virtual users' password information is contained in /var/internet/ip/ip_addr/passwd. This file is in the old style UNIX /etc/passwd format where the encrypted password is contained in the same file as the user ID information. SCO OpenServer Release 5 normally splits out the encrypted password into /etc/shadow, and places an ``x'' in that field in /etc/passwd.

Preserving vacation notifications

For additional information on the vacation notification features, see ``The Vacation Notification Manager'' in SCOhelp and the vacation(1) and maildelivery(4) manual pages.

Preserving aliases

Preserving custom forwarding

On SCO OpenServer Release 5 systems using MMDF as mail transport agent, users' ~/.maildelivery files are compatible with UnixWare 7, and may be transferred with little modification. However, the following programs popular with use in ~/.maildelivery on SCO OpenServer Release 5 are not available in UnixWare 7:

Use of /usr/bin/vacation in ~/.maildelivery to replace rcvtrip is discussed in ``Preserving vacation notifications''.

On SCO OpenServer Release 5 systems using sendmail as the mail transport agent, users' ~/.forward files are also compatible with UnixWare 7 and may be transferred with little modification. Users must simply ensure that programs, files, and recipients referenced in their ~/.forward files are accessible. See also ``Preserving vacation notifications''.

The UnixWare 7 disk subsystem

The SCO OpenServer Release 5 and UnixWare 7 disk subsystems are dissimilar and use slightly different abstractions. While disk divisions identify SCO OpenServer Release 5 filesystem, swap, dump, and boot areas of the UNIX partition, UnixWare 7 uses the term ``slice''. Unlike SCO OpenServer Release 5 divisions, which are limited to eight per partition, UnixWare 7 has a maxiumum of 184 slices.

Just as SCO OpenServer Release 5 uses the divvy command to create and manage divisions recorded in the divvy table, UnixWare 7 controls slices defined in the Volume Table of Contents, or vtoc, managed with the with the disksetup(1M) command. Further, while the filesystem configuration for SCO OpenServer Release 5 is stored in /etc/filesys, UnixWare 7 stores similar information in /etc/vfstab.

These differences are relatively transparent thanks to the implementation of the SCOAdmin Filesystem Manager on UnixWare 7. SCO OpenServer Release 5 administrators will find the interfaces quite similar. However, there are tasks that require use of command line utilities to manage the vtoc and disk slices.

UnixWare 7 disk utilities

If you plan to install additional hard disks after you install UnixWare 7, they must be configured using diskadd(1M) to create partitions and slices.

To re-partition an existing hard disk (post-installation), use the fdisk(1M) command to define the partitions, followed by disksetup(1M) to define the slices.

For more information, see:

in the UnixWare 7 online documentation.

Understanding the UnixWare 7 platform

This topic explains the operational differences between the two platforms and points to details provided elsewhere in this document and the UnixWare 7 online documentation.

Command compatibility

Some system administration commands are available in their SCO OpenServer Release 5 versions for backwards compatibility, via the OSRCMDS environment variable. See ``UnixWare 7 and SCO OpenServer Release 5 runtime commands''.

Software management

SCOadmin

Many SCOadmin managers have been ported directly to UnixWare 7, and others have been modified to provide additional features and improved usability.

The SCOadmin desktop has been eliminated; use the SCOadmin launcher under the tree logo on the CDE desktop. The Panorama desktop is still available, but you must run SCOadmin from an xterm.

The principal administrative difference lies in the UnixWare Device Configuration Utility (DCU), now accessible under SCOadmin. See ``Configuration interfaces'' for more information.

Account Manager

The Account Manager now includes user locale settings and remote host equivalency. It also utilizes and manages the UnixWare 7 tfadmin(1M) security database to implement SCO OpenServer Release 5-style authorizations. See ``Authorizations and system privileges'' for more information.

Task Scheduler

The Task Scheduler allows the setting of scheduled tasks via a graphical manager as well as cron(1M) authorization via the traditional allow and deny files.

System Defaults Manager

This manager includes remote capabilities for default policy distribution across a specified set of machines on a network.

Printer Setup Manager

This manager has been revised extensively. It lists printer models by name instead of requiring the users to know the technical details of their print system.

System Time Manager

The System Time Manager provides easy access to the date(1) command, allowing modifications only by authorized users and non-NTP clients.

International Settings Manager

This manager has an improved user interface to provide clear locale information on the main screen and better usability overall. It also sets up locale information for compatibility with both SCO OpenServer Release 5 and SCO UnixWare 2 applications.

Network Configuration Manager

The netconfig tool has been renamed netcfg(1M). It includes new functionality and should be accessed using the SCOadmin interface.

Obsolete managers

The following SCOadmin managers are not provided:

Disk administration

SCO OpenServer Release 5 storage administrative commands are not supported in UnixWare. This includes commands such as badtrk(ADM) and divvy(ADM). Equivalent functionality is provided by UnixWare 7 commands. See ``The UnixWare 7 disk subsystem''.

Third-party management and configuration utilities

Third-party SCO OpenServer Release 5 utilities used to configure, monitor, or otherwise manage storage devices must be ported to UnixWare.

System backup

ARCserveIT from Computer Associates is provided as part of the base UnixWare product. The SCO OpenServer Release 5 Backup Manager is no longer available. You can restore a tape backup on UnixWare provided the backup application, the tape media and the tape mode used to create the backup are all compatible with UnixWare.

The SCO OpenServer Release 5 version of cpio(1) is available so that you can restore archives made using the Backup Manager under SCO OpenServer Release 5. You should not use the SCO OpenServer Release 5 command to make backups under UnixWare 7. See ``Restoring SCO OpenServer Release 5 backups''.

Kernel and driver interfaces

The UnixWare 7 kernel differs in these respects:

Printing

The UnixWare print service replaces SCO OpenServer Release 5 printing:

Documentation

Documentation is shipped as HTML and may be read with any world wide web browser. It is organized as topics, rather than as books.

SCOhelp

Manual page sections

Manual page sections are identified by traditional UNIX numbers instead of the mnemonic letters used in SCO OpenServer Release 5.

Some equivalents are:

SCO OpenServer Release 5 UnixWare 7
C 1 (Unrestricted commands)
NC 1 (Unrestricted network commands)
ADM 1M (Administrative commands)
ADMN 1Mtcp (Networking administrative commands)
F 4 (System files)
M 5 (Miscellaneous)

 SCO OpenServer Release 5   UnixWare 7
 C                          1 (Unrestricted commands)
 NC                         1 (Unrestricted network commands)
 ADM                        1M (Administrative commands)
 ADMN                       1Mtcp (Networking administrative commands)
 F                          4 (System files)
 M                          5 (Miscellaneous)

SCO OpenServer Release 5 and UnixWare 7 Security

Although the base security features of the two platforms are similar in the treatment of account data, passwords, and file permissions, each uses different mechanisms designed to meet (or exceed) C2 level requirements.

Authorizations and system privileges

The concept of authorizations (privileges that control access to administrative commands and powers) has been carried over to the UnixWare 7 platform, but the underlying mechanism is quite different:

Login restrictions

Under UnixWare 7, login restrictions are based entirely on accounts rather than login terminals. Terminals are never locked because of repeated unsuccessful attempts, but the same protection is implemented in the account login process.

Password restrictions

The principal differences are as follows:

Auditing

SCO OpenServer Release 5 and UnixWare 7 use entirely different (but roughly equal) auditing implementations. Consult the UnixWare 7 online documentation for complete information.

Security profiles

The security profiles available under UnixWare 7 replicate SCO OpenServer Release 5 as closely as possible. The ``Security profiles'' table appears in both documentation sets for comparison.

About locales

Locale configuration is forced during UnixWare 7 installation -- you must set the locale as you install. More choices have been added to both locale and keyboard definitions in UnixWare 7, which is also backwards-compatible with SCO OpenServer Release 5

You can also set the locale after installation on a system-wide basis using the SCOadmin International Settings Manager or on a per-user basis using the SCOAdmin Account Manager.

On your SCO OpenServer Release 5 system, start the SCOadmin International Settings Manager to view the current locale. The locale is highlighted when you enter the manager; it is listed in the ``Language'' selection box. For example, your locale might be ``en_US''. Record this locale so you have access to it during UnixWare 7 installation.

When you install UnixWare 7 and are prompted for the locale, you will select a locale that appears in spelled-out form; for example, the locale ``en_US'' corresponds to ``English for United States''. You can also select a keyboard that maps to that particular locale.

UnixWare 7 and SCO OpenServer Release 5 runtime commands

This appendix describes key command equivalences and differences between UnixWare 7 and SCO OpenServer Release 5, including:

See the manual reference pages for full details of all UnixWare 7 commands.

Equivalent commands and processes

The options for many commands are different. See the manual pages for information.

The following table shows UnixWare 7 equivalents for SCO OpenServer Release 5 commands that are no longer available.

SCO OpenServer Release 5 UnixWare 7 equivalent
doscmd(C) dos(1). These dos utilities are no longer available in UnixWare 7. Similar functionality is available in the mtools package provided in the Skunkware archives. See dos(1) for details.
bootos(HW) boot(1M)
Use the KERNEL argument to specify the kernel to boot.
mkdev(ADM) The main functionality is in dcu(1M) and resmgr(1M).
mkdev hd diskadd(1M)
divvy(ADM) disksetup(1M)
Use prtvtoc(1M) and edvtoc(1M) to edit the disk's VTOC.
badtrk(ADM) disksetup(1M)
custom(ADM) pkgadd(1M) (for SCO UnixWare 2.0 and UnixWare 7 packages)
enable(ADM) and disable(ADM) pmadm(1M) and sacadm(1M).

coltbl(ADM) colltbl(1M)
configure(ADM) The idtools commands. See idconfupdate(1M), CM idinstall 1M , idmkinit(1M) and idtune(1M).
cpuonoff(ADM) psradm(1M) (to activate and deactivate processors) and psrinfo(1M) (to show the current state of processors).
cpusar(ADM) sar(1M) (base command)
haltsys(ADM) halt(1Mbsd)
integrity(ADM) pkgchk(1M)
link_unix(ADM) idbuild(1M)
multiscreen(M) Configure using vtlmgr(1).
nwpasswd(NWG) Use NetWare UNIX Client (NUC) to change passwords.
p_fsck (in fsck(ADM)) CM fsck 1M (-P option)
link_unix(ADM) idbuild(1M)
rc2(ADM):
I01MOUNTSYS
P00ANNOUNCE
P75cron
P70uucp
rc2(1M):
S01MOUNTSYS
K00ANNOUNCE
S75cron
S70uucp
reboot(ADM) halt(1Mbsd)
rlogind(ADMN) in.rlogind (see rlogind(1Mtcp))
routed(ADMN) in.routed (see routed(1Mtcp))
rusersd(NADM) rpc.rusersd (see rusersd(1Mtcp))
rwalld(NADM) rpc.rwalld (see rwalld(1Mtcp))

 -------------------------------------------------------------------------------
| SCO OpenServer Release 5|  UnixWare 7 equivalent                             |
|-------------------------|----------------------------------------------------|
| doscmd(C)               |  dos(1) These dos utilities are no longer available|
|                         |  in UnixWare 7.  Similar functionality is available|
|                         |  in the mtools package provided in the Skunkware   |
|                         |  archives (http://www.sco.com/skunkware).  See     |
|                         |  dos(1) for details.                               |
|-------------------------|----------------------------------------------------|
| bootos(HW)              |  boot(1M)                                          |
|                         |  Use the KERNEL argument to specify the kernel to  |
|                         |  boot.                                             |
|-------------------------|----------------------------------------------------|
| mkdev(ADM)              |  The main functionality is in dcu(1M) and          |
|                         |  resmgr(1M)                                        |
|-------------------------|----------------------------------------------------|
| mkdev hd                |  diskadd(1M)                                       |
|-------------------------|----------------------------------------------------|
| divvy(ADM)              |  disksetup(1M)                                     |
|                         |  Use edvtoc(1M) to edit the disk's |
|                         |  VTOC.                                             |
|-------------------------|----------------------------------------------------|
| badtrk(ADM)             |  disksetup(1M)                                     |
|-------------------------|----------------------------------------------------|
| custom(ADM)             |  pkgadd(1M) (for SCO UnixWare 2.0 and UnixWare 7   |
|                         |  packages)                                         |
|-------------------------|----------------------------------------------------|
| enable(ADM) and         |  sacadm(1M)                          |
| disable(ADM)            |                                                    |
|-------------------------|----------------------------------------------------|
| coltbl(ADM)             |  colltbl(1M)                                       |
|-------------------------|----------------------------------------------------|
| configure(ADM)          |  The idtools commands. See idconfupdate(1M) CM     |
|                         |  idinstall 1M , idtune(1M)        |
|-------------------------|----------------------------------------------------|
| cpuonoff(ADM)           |  psradm(1M) (to activate and deactivate processors)|
|                         |  and psrinfo(1M) (to show the current state of     |
|                         |  processors).                                      |
|-------------------------|----------------------------------------------------|
| cpusar(ADM)             |  sar(1M) (base command)                            |
|-------------------------|----------------------------------------------------|
| haltsys(ADM)            |  halt(1Mbsd)                                       |
|-------------------------|----------------------------------------------------|
| integrity(ADM)          |  pkgchk(1M)                                        |
|-------------------------|----------------------------------------------------|
| link_unix(ADM)          |  idbuild(1M)                                       |
|-------------------------|----------------------------------------------------|
| multiscreen(M)          |  Configure using vtlmgr(1)                         |
|-------------------------|----------------------------------------------------|
| nwpasswd(NWG)           |  Use NetWare UNIX Client (NUC) to change passwords.|
|-------------------------|----------------------------------------------------|
| p_fsck (in fsck(ADM))   |  CM fsck 1M (-P option)                            |
|-------------------------|----------------------------------------------------|
| link_unix(ADM)          |  idbuild(1M)                                       |
|-------------------------|----------------------------------------------------|
| rc2(ADM):               |  rc2(1M)                                           |
| I01MOUNTSYS             |  S01MOUNTSYS                                       |
| P00ANNOUNCE             |  K00ANNOUNCE                                       |
| P75cron                 |  S75cron                                           |
| P70uucp                 |  S70uucp                                           |
|-------------------------|----------------------------------------------------|
| reboot(ADM)             |  halt(1Mbsd)                                       |
|-------------------------|----------------------------------------------------|
| rlogind(ADMN)           |  in.rlogind (see rlogind(1Mtcp)                    |
|-------------------------|----------------------------------------------------|
| routed(ADMN)            |  in.routed (see routed(1Mtcp)                      |
|-------------------------|----------------------------------------------------|
| rusersd(NADM)           |  rpc.rusersd (see rusersd(1Mtcp)                   |
|-------------------------|----------------------------------------------------|
| rwalld(NADM)            |  rpc.rwalld (see rwalld(1Mtcp)                     |
|-------------------------|----------------------------------------------------|

rwhod(NADM) rpc.rwhod (see rwhod(1Mtcp)
slist(NWG) CM nlist 1nuc
telnetd(ADMN) in.telnetd (see telnetd(1Mtcp))
tftpd(ADMN) in.tftpd (see tftpd(1Mtcp))
timed(ADMN) in.timed (see timed(1Mtcp))
ulist(NWG) Use NetWare UNIX Client (NUC) utilities to view all the users on a NetWare server.
uuclean(ADM) uucleanup(1Mbnu)
rwalld(NADM) in.rwalld (see rwalld(1Mtcp))
xntpd(NADM) in.xntpd (see rwalld(1Mtcp))

 -----------------------------------------------------------------------
| rwhod(NADM)     |  rpc.rwhod (see rwhod(1Mtcp)                       |
|-----------------|----------------------------------------------------|
| slist(NWG)      |  CM nlist 1nuc                                     |
|-----------------|----------------------------------------------------|
| telnetd(ADMN)   |  in.telnetd (see telnetd(1Mtcp)                    |
|-----------------|----------------------------------------------------|
| tftpd(ADMN)     |  in.tftpd (see tftpd(1Mtcp)                        |
|-----------------|----------------------------------------------------|
| timed(ADMN)     |  in.timed (see timed(1Mtcp)                        |
|-----------------|----------------------------------------------------|
| ulist(NWG)      |  Use NetWare UNIX Client (NUC) utilities to view   |
|                 |  all the users on a NetWare server.                |
|-----------------|----------------------------------------------------|
| uuclean(ADM)    |  uucleanup(1Mbnu)                                  |
|-----------------|----------------------------------------------------|
| rwalld(NADM)    |  in.rwalld (see rwalld(1Mtcp)                      |
|-----------------|----------------------------------------------------|
| xntpd(NADM)     |  in.xntpd (see rwalld(1Mtcp)                       |
|-----------------|----------------------------------------------------|

The following table shows UnixWare 7 equivalents for SCO OpenServer Release 5 system files.

SCO OpenServer Release 5 file UnixWare 7 equivalent
filesys(F) /etc/vfstab

 ------------------------------------------------------------------------------------
| SCO OpenServer Release 5 file|  UnixWare 7 equivalent                             |
|------------------------------|----------------------------------------------------|
| filesys(F)                   |  /etc/vfstab                                       |
|------------------------------|----------------------------------------------------|

Commands with the same name and different functionality

The following commands have the same name but substantially different functionality in SCO OpenServer Release 5 and UnixWare 7. See the manual pages for details of the UnixWare 7 commands.

Commands that differ only in the options available are not listed here.

SCO OpenServer Release 5 UnixWare 7 functionality
ct(HW) ct(1bnu)
crash(ADM) crash(1M) (functionality is substantially different)

 
boot(HW) (boot program) boot(1M) (boot program)
debug(HW) (boot debugger) No equivalent.
dbx(CP) (command-line oriented user-level program debugger) debug(1); also see ``A guide to debug for dbx users'' in the UnixWare online documentation. If started in a graphical environment, debug will launch its graphical interface rather than the command-line interface; this can be overridden using debug -ic to start the debugger.
dbxtra(CP) dbXtra(CP) (graphical front-ends for dbx) debug(1); if started in a graphical environment, debug will launch its graphical interface rather than the command-line interface.
rc0(ADM), rc2(ADM) rc0(1M), rc1(1M), rc2(1M), rc3(1M) (See manual pages for details.)
rsh(C) rsh(1tcp) (remote shell)
/etc/TZ /etc/TZ (time zone directory)

 -----------------------------------------------------------------------
| SCO OpenServer Release 5 |  UnixWare 7 functionality                 |
|--------------------------|-------------------------------------------|
| ct(HW)                   |  ct(1bnu)                                 |
|--------------------------|-------------------------------------------|
| crash(ADM)               |  crash(1M) (functionality is substantially|
|                          |  different)                               |
|--------------------------|-------------------------------------------|
|                          |                                           |
|--------------------------|-------------------------------------------|
| boot(HW) (boot program)  |  boot(1M) (boot program)                  |
|--------------------------|-------------------------------------------|
| debug(HW) (boot debugger)|  No equivalent.                           |
|--------------------------|-------------------------------------------|
| dbx(CP) (command-line    |  debug(1) also see ``A guide to debug for |
| oriented user-level      |  dbx users'' If started in a graphical    |
| program debugger)        |  environment, debug will launch its       |
|                          |  graphical interface rather than the      |
|                          |  command-line interface; this can be      |
|                          |  overridden using debug -ic to start the  |
|                          |  debugger.                                |
|--------------------------|-------------------------------------------|
| dbxtra(CP) dbXtra(CP)    |  debug(1) if started in a graphical       |
| (graphical front-ends for|  environment, debug will launch its       |
| dbx)                     |  graphical interface rather than the      |
|                          |  command-line interface.                  |
|--------------------------|-------------------------------------------|
| rc0(ADM), rc2(ADM)       |  rc3(1M) (See     |
|                          |  manual pages for details.)               |
|--------------------------|-------------------------------------------|
| rsh(C)                   |  rsh(1tcp) (remote shell)                 |
|--------------------------|-------------------------------------------|
| /etc/TZ                  |  /etc/TZ (time zone directory)            |
|--------------------------|-------------------------------------------|

SCO OpenServer Release 5 commands available for compatibility only

The following SCO OpenServer Release 5 commands are available on UnixWare 7 for backward compatibility purposes. The SCO OpenServer Release 5 commands are located in the /OpenServer/bin directory on UnixWare 7.

To enable use of these OpenServer commands, set the OSRCMDS variable (OSRCMDS=on ; export OSRCMDS) to run applications that use the SCO OpenServer Release 5 versions of these commands.

Commands no longer available

The following SCO OpenServer Release 5 commands are not available. See ``Equivalent commands and processes'' for equivalents when the same functionality is available via other commands or processes.

Running SCO OpenServer Release 5 applications

You should not have to do anything special to get an existing SCO OpenServer Release 5 application to run on UnixWare 7. The application compatibility features delivered with UnixWare 7 are described in ``Application compatibility''

Source code changes are necessary for many applications originally compiled for use on SCO OpenServer Release 5, so that the source code can be recompiled with the UnixWare and OpenServer Development Kit. See ``Source code compatibility''.

Compatibility exceptions

The following list is a brief summary of the known compatibility exceptions for SCO OpenServer Release 5 application binaries and source code in UnixWare 7:

General exceptions:

SCO OpenServer Release 5 kernel:

Packaging:
custom+ (Software Storage Object (SSO support) is not provided.

Commands:
Some key SCO OpenServer Release 5 commands have been ported. If the command name is unique, it is found in /usr/bin. If the command name conflicts with the corresponding UnixWare 7 command, it is installed in /OpenServer/bin and can be executed by setting the OSRCMDS environment variable to ``on''. Note that data transfer commands such as cpio(1) are handled with OSRCMDS. Shell scripts from SCO OpenServer Release 5 can be invoked with OSRCMDS set for SCO OpenServer Release 5 versions of commands.

Graphics:

Internationalization:
If you specify an SCO OpenServer Release 5 long name as the locale, UnixWare 7 applications will not work properly.

Networking:
The file system suffixes used by the NetWare UNIX Client Auto-Mounter (NUCAM) are different from those used on SCO OpenServer Release 5. Applications that make assumptions about the format of the file system names mounted automatically by the NUCAM under /.NetWare may fail.

Printing:
The SCO OpenServer Release 5 version of the lpr command is not available. The lpr(1bsd) command on UnixWare 7 is the BSD version. SCO OpenServer Release 5-style printer filters can't be delivered by third parties.

Driver interfaces:

Filesystems:
No direct access to SCO OpenServer Release 5 filesystems. Data must be archived and/or copied over to the UnixWare 7 system.

System files:
Applications that attempt to access SCO OpenServer Release 5-specific administrative data files, either directly or indirectly through SCO OpenServer Release 5 libraries brought forward to UnixWare 7, are not supported.

Applications that attempt to access SCO OpenServer Release 5 system data files directly or indirectly may experience problem if these files also exist in UnixWare 7 with a different format (for example, utmp).

Security:

Application compatibility

Compatibility for SCO OpenServer Release 5 applications on UnixWare 7 is provided by the UnixWare 7 kernel, and the runtime libraries, command executables, and system files provided in standard system directories or in the /OpenServer directories.

Compatibility features for SCO OpenServer Release 5 applications include the following:

Application (or binary) compatibility is designed to be automatic. The UnixWare 7 kernel recognizes SCO OpenServer Release 5 applications installed with custom(1M) (as well as pkgadd(1M) installed packages) and can detect applications compiled for use on SCO OpenServer Release 5. As such, you should use the same instructions that were provided with your SCO OpenServer Release 5 application to install and run your application on UnixWare 7.

Some applications may experience minor problems, due to implementation differences on the two systems. If your SCO OpenServer Release 5 application does not install or run correctly on UnixWare 7, try one or more of the steps listed below.

General Steps:
Try setting the following switches:

Installation failures:
If your application has problems detecting your System Type, System Release, or executing installation and/or shell scripts:

Application tuning:
Though uncommon, if the application fails while kernel tunable parameters are being set, try setting the equivalent UnixWare 7 tunable(s) by hand and then installing or running the application again.

Terminal behavior:
If your application is a console or ``character-based'' application and it doesn't display correctly on your screen:

Application compatibility exceptions

The following is a list of general compatibility exceptions:

For shell scripts and commands, see ``UnixWare 7 and SCO OpenServer Release 5 runtime commands'' for lists of the SCO OpenServer Release 5 commands provided with UnixWare 7, and command equivalents that are not provided with UnixWare 7.

For binaries, differences in interfaces that could not be taken care of either in the kernel, native libraries, or ported /OpenServer libraries are listed in the compatibility tables for the appropriate library or system call. See ``Base kernel compatibility'' and ``API compatibility'' in the UnixWare 7 online documentation for details.

Source code compatibility

The UnixWare and OpenServer Development Kit can be installed on SCO OpenServer Release 5.0.4, and UnixWare 7. It can be used to compile source code that meets the UnixWare 7 APIs.

Source compatibility in the context of UnixWare 7 and SCO OpenServer Release 5 means how much effort it takes to change existing SCO OpenServer Release 5 source code to use the UnixWare 7 APIs and compile with the UnixWare and OpenServer Development Kit.

The resulting executables can be installed and run successfully on UnixWare 7, SCO OpenServer Release 5.0.0, SCO OpenServer Release 5.0.2, SCO OpenServer Release 5.0.4, SCO OpenServer Release 5.0.5, if they do not use any interfaces indicated by a No or -- entry in the compatibility tables for UDK compatibility, or otherwise called out as being specific to either SCO OpenServer Release 5 or UnixWare 7. The Binary Compatibility Module (BCM) for SCO OpenServer Release 5 must also be installed on the target system to run UDK binaries.

An example of an interface that cannot be used in an application intended for SCO OpenServer Release 5 is the libsocket endtosent routine, which is supported only on SCO OpenServer Release 5.

See ``Base kernel compatibility'' and ``API compatibility'' in the UnixWare 7 online documentation for the kernel and API compatibility tables.

© 1999 The Santa Cruz Operation, Inc. All rights reserved.