Upgrading your system to UnixWare 7

Upgrading users and groups

Before installing UnixWare 7, take a copy of your /etc/passwd, /etc/shadow, and /etc/group files from the system to be upgraded and store them in a safe place.

After you have installed UnixWare 7, perform the following steps as root,

  1. If the system has been installed with the audit package, the audit package must be removed before proceeding. This procedure will not work with the audit package installed.

  2. Make copies of your /etc/passwd, /etc/shadow, and /etc/group files in case something goes wrong.

  3. After the installation, the /etc/passwd file will look something like this.
     
    root:x:0:3:0000-Admin(0000):/:/sbin/sh 
    daemon:x:1:12:0000-Admin(0000):/: 
    bin:x:2:2:0000-Admin(0000):/usr/bin: 
    sys:x:3:3:0000-Admin(0000):/: 
    adm:x:4:4:0000-Admin(0000):/var/adm: 
    uucp:x:5:5:0000-uucp(0000):/usr/lib/uucp: 
    mail:x:6:6:Mail Processes:/etc/mail: 
    nuucp:x:10:10:0000-uucp(0000):/var/spool/uucppublic:/usr/lib/uucp/uucico 
    nobody:x:60001:60001:uid no body:/: 
    noaccess:x:60002:60002:uid no access:/: 
    lp:x:7:9:0000-LP(0000):/var/spool/lp:/usr/bin/sh 
    listen:x:37:4:Network Admin:/usr/net/nls:/usr/bin/ksh 
    mhsmail:x:61:6:MHS Admin Processes:/var/spool/smf:/usr/bin/ksh 
    owner:x:101:1:owner:/home/owner:/usr/bin/ksh 
    
    These entries should remain intact. Below the line beginning owner, lines from the /etc/passwd file of the upgraded system should be added. This is a cut and paste exercise with your favourite editor.

  4. After the installation, the /etc/shadow file will look something like this:
     
    root:nhQ.Mx5msjFzg:10141:::::: 
    daemon:NP:6445:::::: 
    bin:NP:6445:::::: 
    sys:NP:6445:::::: 
    adm:NP:6445:::::: 
    uucp:NP:6445:::::: 
    mail:NP:6445:::::: 
    nuucp:NP:6445:::::: 
    nobody:NP:6445:::::: 
    noaccess:NP:6445:::::: 
    lp:*LK*::::::: 
    listen:*LK*::::::: 
    mhsmail:*LK*::::::: 
    owner:wjMKLa1PCZsCs:10140:::::: 
    
    These entries should remain intact. Below the line beginning owner, lines from the /etc/shadow file of the upgraded system should be added. This is a cut and paste exercise with your favourite editor.

  5. After the installation, the /etc/group file will look something like this:
     
    root::0:root 
    other::1:root 
    bin::2:root,bin,daemon 
    sys::3:root,bin,sys,adm 
    adm::4:root,adm,daemon 
    uucp::5:root,uucp 
    mail::6:root 
    tty::7:root,adm 
    audit::8:root 
    nuucp::10:root,nuucp 
    daemon::12:root,daemon 
    cron::23:root 
    dtadmin::25:root 
    priv::47:root 
    nobody::60001: 
    noaccess::60002: 
    lp::9:root,lp 
    dos::100: 
    
    These entries should remain intact. Below the line beginning owner, lines from the /etc/group file of the upgraded system should be added. This is a cut and paste exercise with your favourite editor.

  6. Execute creatiadb(1M).

  7. Re-install the audit package if required.

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