Starting the Operations Center with non privileged account on Windows
You can use the non-privileged account to start or stop the Operations Center service on Windows.
Procedure
- As an administrator, create a new user with the name
opscenter. Do not add it in Administrators group. - Open the Administrator Command Line console.
- As an administrator, get
security descriptor id (sid)of the useropscenter:wmic useraccount where name='opscenter' get sidoutput:S-1-5-21-YZYZYZYZYZ-XYXYXYXYXYXY-XZXZXZXZXZXZX-1002 - As an administrator, add the
sidfrom previous step to the access control entry (ACE) as following :(A;;RPWPCR;;;<sid>)-
A is for allowing various permission mentioned in ACE.
-
RP represents Read Permission, permitting to read the object's security descriptor.
-
WP represents Write Permission, permitting to modify the object's security descriptor.
-
CR represents Control Permissions, permitting to change ownership, which includes rights to modify or delete the object.
-
The resulting ACE in current example looks like:
A;;RPWPCR;;;S-1-5-21-YZYZYZYZYZ-XYXYXYXYXYXY-XZXZXZXZXZXZX-1002)
-
- As an administrator, get existing Security Descriptor Definition Language (SDDL) for
Operations Center service :
sc sdshow <SERVICE_NAME>sc sdshow “IBM Storage Protect Operations Centeroutput:D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)S:(AU;FA;CCDCLC SWRPWPDTLOCRSDRCWDWO;;;WD)-
D represents the Discretionary Access Control List (DACL), which specifies who is allowed or denied access to the object.
-
S represents the System Access Control List (SACL), which defines auditing rules for the object.
-
Insert the ACE obtained from previous step in to DACL section of SDDL.
-
The resulting SDDL (DACE and SACL ) looks like:
D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)(A;;RPWPCR;;;S-1-5-21-YZYZYZYZYZ-XYXYXYXYXYXY-XZXZXZXZXZXZX-1002)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD).
-
- As an administrator, use the final DACL and SACL obtained from previous step for setting
desired security descriptor (command
sc sdset) for the operations center service as following:sc sdset "IBM Storage Protect Operations Center" "D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)(A;;RPWPCR;;;S-1-5-21-543652947-2383888226-3926862946-1002)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)The command should result in success as following:
[SC] SetServiceObjectSecurity SUCCESS - Logout from the Administrator account.
- Log in as
opscenter-
Open Service console.
-
Look for the service IBM Storage Protect Operations Center.
-
Start / Stop this service.
-