Technical article 109667

How do I create a private, non-root link kit for development and testing purposes?

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5

Written · Last revised

Problem

The SCO UNIX link kit is a set of files and utilities beneath /etc/conf that provides configuration, tuning and relinking of the UNIX kernel and the kernel environment.

How do I create a private, non-root link kit for development and testing purposes?

Solution

Take these steps:

1. Create a user on the SCO UNIX system who will own the private link kit.

2. Log in as that user and create these directories:

$HOME/etc
$HOME/etc/conf

3. Log in as the superuser root.

4. Copy the contents of /etc/conf to the newly created user directory:

copy -mvr /etc/conf $HOME/etc/conf/

5. Change the owner and group of the directories and files to the appropriate values:

find $HOME/etc/conf -exec chown <user> {} \;
find $HOME/etc/conf -exec chgrp <group> {} \;

6. Log in as the user and set the ROOT environment variable to the user's home directory (assuming Bourne shell (sh)):

ROOT=$HOME
export ROOT

The user can now use the private link kit.

See also

link_unix(ADM)

From the Xinuos technical article database, record 109667. Reproduced with permission. The original is at www.sco.com/ta/109667, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.