3) We have to create an account. To do this we need User mgtmt UI first:
A) run 'mmc'
B) Menu 'File -> Add/remove snap-in'
C) Button 'Add'
D) Choose 'Local Users and Groups'
E) Add, Finish, Close, OK
Now you may add an account the system will run on.
F) Right-click on 'Users', choose 'New user…'. Give all the details - we 
used 'scm' name. Leave it only in the default Users group. In case you want 
to log on this account to setup some additional services, add this account 
to 'Remote Desktop users'.

4) Now we have to allow this account to run a service. 
A) Follow the steps 3.A-C.
B) Choose 'Group Policy Object Editor'.
C) Add, Finish, Close, OK
D) Go to mmc tree 'Local Computer Policy\Computer Configuration\Windows 
Settings\Security Settings\Local Policies\User Rights Assignment'
E) Find 'Log on as a service' entry and add your account here

5) Let's install a service now. This needs a Windows 2003 Server Resource 
Kit utilities. Check the guide for the tools below (included in the 
installation). It has quite comprehensive instructions to follow.
A) run 'cmd.exe'
B) cd c:\program files\Windows Resource Kits\Tools
C) instsrv SCM "C:\Program Files\Windows Resource Kits\Tools\srvany.exe"
D) sc description scm "SourceControl system runner"
E) Now run 'services.msc'
F) Go to SCM service and change the account to the one created in step 3 
(scm).
G) Run regedit.exe
H) Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SCM
I) Create new key named 'Parameters'
J) Under this new key create String Value named 'Application' and set it to 
'c:\windows\system32\cmd.exe'
K) Create String Value named 'AppParameters' and set it to '/c "C:\Program 
Files\Scmbug\etc\init.d\scmbug-server.bat"'
L) Create String Value named 'AppDirectory' and set it to 'C:\Program 
Files\Scmbug\etc\init.d'
M) Make sure scm user has the necessary to the directory above
N) Start the service (using services.msc). To test it earlier (and see the 
potential problem) you may run cmd.exe on scm account using runas command.

_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to