Local policy

delphi package - easy access to security apis

Local policy

Postby humantool » Mon May 22, 2006 12:40 pm

hi,
i've got a delphi-made service. When i install it on a new computer, i assign it an account In delphi all i have to do, is to assign the properties ServiceStartName and Password, launch my service with the argument /INSTALL and the account used is granted with 'Open session as a service' right.
The problem is when i want to do it automatically in my install program this didn't work !
My question is if your security solution allow me to grant this kind of right by code (see Control panel/Administrative tools/Local policies/Local policy if you don't get what i mean)


Thanks
HumanTool
humantool
 
Posts: 2
Joined: Mon May 22, 2006 12:22 pm

Postby madshi » Mon May 22, 2006 7:52 pm

I'm sorry, I've no idea what exactly needs to be entered into the policy or how that would work. Maybe by accessing the ADS interfaces somehow. I don't think my security units can help you much in this situation.
madshi
Site Admin
 
Posts: 9719
Joined: Sun Mar 21, 2004 5:25 pm

Postby humantool » Tue May 23, 2006 12:51 pm

ok, thanks by the way ! :cry:
i'm going search through my installation program :confused:

regards
Humantool
humantool
 
Posts: 2
Joined: Mon May 22, 2006 12:22 pm


Return to madSecurity

Who is online

Users browsing this forum: No registered users and 1 guest