Changes between Version 10 and Version 11 of ClientSetupLogicWinSix


Ignore:
Timestamp:
Sep 26, 2007, 9:04:11 AM (17 years ago)
Author:
romw
Comment:

More Updates

Legend:

Unmodified
Added
Removed
Modified
  • ClientSetupLogicWinSix

    v10 v11  
    2020Two user accounts will be created, one to execute boinc.exe, and one that boinc.exe can use to launch science applications.
    2121
    22 NOTE: Including the computer name avoids name collisions when BOINC is installed on domain controllers.
    23 
    2422Users:
    2523
    2624{{{
    27 boinc_<ComputerName>
    28 boinc_project_<ComputerName>
    29 }}}
    30 
    31 Both `boinc_<ComputerName>` and `boinc_project_<ComputerName>` will be setup so that their passwords never expire.
     25boinc
     26boinc_project
     27}}}
     28
     29Both 'boinc' and 'boinc_project' will be setup so that their passwords never expire.
    3230
    3331A file will be created by the installer in the BOINC data directory called client_init.xml which contains the username and base64 encoded password for `boinc_project_<ComputerName>`. The first time the client starts up after install it will read the file and store an encrypted form of the data in a new file using !CryptProtectData/CryptUnprotectData. After reading in the client_init.xml file it will be deleted.
    3432
    3533Each time an installation occurs, both of the account passwords will be reset and a new randomly generated password will be used.
     34
     35NOTE: If the computer being installed upon is a domain controller, then the account names will have the computer name appeneded on to them.
    3636
    3737Groups:
     
    4444Each group will contain the following members:
    4545
    46 || boinc_administrators  || Administrator [[BR]] <Installing User> [[BR]] `boinc_<ComputerName>` ||
    47 || boinc_project || `boinc_project_<ComputerName>` ||
     46|| boinc_administrators  || Administrator [[BR]] <Installing User> [[BR]] 'boinc' ||
     47|| boinc_project || 'boinc_project' ||
    4848
    4949== Data Directory ==
     
    9696Two radio buttons, graphics compatible installation and secure installation, will be displayed with the secure installation being the default.
    9797
    98 The advanced configuration button will be disabled if the graphics compatible installation is selected.
     98Graphics compatible installatons will be the same as the single-user installation of the v5 generation of clients. The manager will be responsible for launching the core client, and all applications will be launched in the same security context as the user who logged into the system. Choose this option if you would like to see graphics from older science applications, or projects who have long running tasks which won't complete for awhile.
     99
     100Secure installations will install BOINC as a service on Windows, and will be executed using the 'boinc' user account security context. BOINC science applications will be executed as the 'boinc_project' security context. Choose this option if you are concerned about security.
     101
     102Descriptions for both installation methods should appear underneith each installation option.
    99103
    100104==== Options ====
     
    106110A button will be displayed, Advanced Configuration, which when pressed will save the current configuration options, and switch to the advanced configuration screen.
    107111
     112NOTE: The advanced configuration button will be disabled if the graphics compatible installation is selected.
     113
    108114=== Advanced Configuration ===
    109115
    110 This configuration page will allow the user to change the default data directory, the default executable directory, as well as which user accounts and passwords the installer will use to setup BOINC.
     116A text box will be displayed for the default data directory, a browse button will appear to the right of the text box. Clicking on the browse button will display the directory chooser dialog.
     117
     118A text box will be displayed for the executable directory, a browse button will appear to the right of the text box. Clicking on the browse button will display the directory chooser dialog.
     119
     120A text box will be displayed requesting which user account should be used as the 'boinc' account. A password text box should be displayed to the right of the 'boinc' username text box.
     121
     122A text box will be displayed requesting which user account should be used as the 'boinc_project' account. A password text box should be displayed to the right of the 'boinc_project' username text box.
     123
     124Both the 'boinc' and 'boinc_project' accounts should be validated before the user is allowed to proceed to the next screen. If the user specifies an account to use for the 'boinc' account, then automatic account creation will be disabled for the 'boinc' account. If the user specifies an account to use for the 'boinc_project' account, then automatic account creation will be disabled for the 'boinc_project' account.
    111125
    112126=== Confirmation Screen ===
     
    232246
    233247strComputerName = GetComputerName()
     248bIsDomainController = IsDomainController()
    234249
    235250GetProperty("BOINC_USERNAME", strBOINCUsername)
    236 IF strBOINCUsername IS NULL THEN
    237     strBOINCUsername = "boinc_" + strComputerName
    238 END IF
    239 
    240251GetProperty("BOINC_PROJECT_USERNAME", strBOINCProjectUsername)
    241 IF strBOINCProjectUsername IS NULL THEN
    242     strBOINCProjectUsername = "boinc_project_" + strComputerName
     252
     253IF bIsDomainController THEN
     254    IF strBOINCUsername IS NULL THEN
     255        strBOINCUsername = "boinc_" + strComputerName
     256    END IF
     257    IF strBOINCProjectUsername IS NULL THEN
     258        strBOINCProjectUsername = "boinc_project_" + strComputerName
     259    END IF
     260ELSE
     261    IF strBOINCUsername IS NULL THEN
     262        strBOINCUsername = "boinc"
     263    END IF
     264    IF strBOINCProjectUsername IS NULL THEN
     265        strBOINCProjectUsername = "boinc_project"
     266    END IF
    243267END IF
    244268
     
    269293{{{
    270294
     295strComputerName = GetComputerName()
     296bIsDomainController = IsDomainController()
     297
    271298GetProperty("BOINC_USERNAME", strBOINCUsername)
    272 IF strBOINCUsername IS NULL THEN
    273     strBOINCUsername = "boinc_" + strComputerName
    274 END IF
    275 
    276299GetProperty("BOINC_PROJECT_USERNAME", strBOINCProjectUsername)
    277 IF strBOINCProjectUsername IS NULL THEN
    278     strBOINCProjectUsername = "boinc_project_" + strComputerName
     300
     301IF bIsDomainController THEN
     302    IF strBOINCUsername IS NULL THEN
     303        strBOINCUsername = "boinc_" + strComputerName
     304    END IF
     305    IF strBOINCProjectUsername IS NULL THEN
     306        strBOINCProjectUsername = "boinc_project_" + strComputerName
     307    END IF
     308ELSE
     309    IF strBOINCUsername IS NULL THEN
     310        strBOINCUsername = "boinc"
     311    END IF
     312    IF strBOINCProjectUsername IS NULL THEN
     313        strBOINCProjectUsername = "boinc_project"
     314    END IF
    279315END IF
    280316
     
    303339== Reverting to a previous version of BOINC ==
    304340
    305 A seperate tool will be written to migrate the data from the data directory back into the installation directory, the previous BOINC installer will take care of setting permissions of the installation directory.
     341Instructions will be provided on the website for copying the data files from the new location back to the old location, and how to delete the newly created users and groups.