Converting a company on SAAS server (Abe) - from old /u/ccr.xx to new version - with it's own environment

  1. Perform everything from here as root (su -) until notified to exit.
  2. Edit the file /etc/group and add an entry (use their company name in lower case) at the bottom. Increment the last used GID by 1.
    sarissa:x:3239:ccc,lp,monavale,annan,mos
    zebra:x:3240:ccc,lp,zebra1,zebra2,zebra3,zebra4,zebra-canberra,zebra-tracey urban:x:3241:ccc,lp,uclp,ucmt,uclk,ucho temples:x:3242:ccc,lp,temples1,temples2,temples3 company:x:3243:ccc,lp,john,luke,matthew
  3. Make sure lp, ccc, cc2 and jon are members of this new group.
  4. Create company environment directory under /u

    mkdir cc<company>
  5. Under new directory create links to relevant revision directories: std, binl, binx11, lib, manual, pixmap, standard
    cd /u/cc<company>
    ln -s /u/ccr.nn/{std,binl,binx11,lib,manual,pixmap,standard} ./
  6. Copy Company directories (including test company) and adm directory from its original source (this is important so they retain all their terminal numbers)
    cp -a /u/ccr.nn/{<COMPANY>,<COMPANY>TEST,adm} ./
    mkdir LOG
    mkdir usr
    cp /u/ccr.nn/usr/common.sh usr/
  7. As root enter the following commands
    #cd /u/cc{company}
    #chgrp -R {company} .
    #find . -type d -exec chmod 770 {} \;
  8. Change environment to new company:
    . /u/cc{company}/usr/common.sh
  9. Conset to <COMPANYNAME>

    conset -c <COMPANYNAME>
  10. Create directory usr. Copy /u/ccr.xx/usr/common.sh into this directory. Edit it so that CCDIR is set to /u/cc{company} .
  11. Conset to <COMPANY>

  12. add user via addusr
  13. Modify ~username/.vnc/xstartup to call /u/cc{company}/usr/common.sh