Differences between revisions 11 and 12
Revision 11 as of 2012-05-14 01:58:57
Size: 3425
Editor: thog
Comment:
Revision 12 as of 2012-05-14 02:13:30
Size: 3427
Editor: thog
Comment:
Deletions are marked like this. Additions are marked like this.
Line 52: Line 52:
setup .startrc as required setup .controlrc as required

Creating New Company on sam

  1. Change to relevant version - gorel nn (nn - version number)
  2. Move to relevant directory - cd $CCDIR
  3. Create Company directory and copy data to it by doing - cp -a standard <COMPANYNAME>

  4. Create a link to company maintenance program - ln -s /u/cc/std/binl/coaad contrl
  5. Set up Company using program contrl - that will set Company license number according to the number enetered. Make sure that you only license them for number of workstations they paid for. If for a demo, put 2.
  6. remove the link - rm contrl
  7. Create Locations by linking braad as follows: ln -s /u/cc/std/binl/braad brctrl
  8. Execute brctrl and set up locations - License number will be assigned at that time.

Creating a new company on SAAS server (Abe)

  1. Follow directions for creating new company on sam
  2. Create a test company, also using the above procedure.
  3. Conset into each company (live and test) and make sure they have a company group set (on page 2):
    Is Company a DEMO Company (stop send emails)....... :
    Backend type (File or Database name)............... : File
    Company Group...................................... : COMPANY
    In the above example, we called the company group "COMPANY". It is important you set this to a unique value. It determines what company they can change to. The above has changed. We need to set up an allowable company prefix in empxaad.
  4. Remove the contrl symbolic link.
  5. Follow [:addusr:these directions] in order to add as many users as required.
  6. Check the /etc/inittab file and make sure none of the vnc sessions exceed 99. If it does, manually make the corrections.
  7. Update the vnc details and password in the ccll company (debtor notes).
  8. 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
  9. Make sure lp and ccc are members of this new group. Add all the users created in step 5 to this entry.
  10. Make sure the company directory for both the live and test companies belong to this group and is not world readable:
    cd $CCDIR
    chgrp company COMPANY COMPTEST
    chmod 770 COMPANY COMPTEST
    This ensures that no one else from another company in the same server will be able to access their company directory.
  11. Set up their printers by following [:InstallingPrinter:these directions]. In system-config-printer (or printconf), under access control tab:

    Access control
    _ Allow printing for everyone except these users:
    X Deny printing for everyone except these users:
    ______________________________________________________
    |@company_______________________________________|_ADD_|
    Place their company group after the at sign (@). This tells cups to only let members of this group print on this printer. It prevents another company from printing on their printers.
  12. Test connecting into the connections you created and make sure they all work.
  13. Set up [:OpenVPN:] on the server and on the client computer.
  14. Set up winscp on the client computer and save the session on it.

setup .controlrc as required

Create_new_company (last edited 2021-08-23 00:01:45 by 60-240-170-244)