I have created pull request #1137. Thanks for researching that!

On Fri, Jun 2, 2017 at 9:04 AM,  <andrewm0...@gmail.com> wrote:
> Hi,
>
> I haven't got group "Administrators" on my non-English Windows.
> Ossec-agent for Windows is trying to execute command:
> echo y|cacls * /T /G Administrators:f
> or:
> echo y|cacls . /T /G Administrators:f
>
> Installation ends with an error becouse group Administrators doesn't exist.
>
> I think that this command is better:
> system("echo y|icacls * /T /grant \"*S-1-5-32-544:F\"");
> and:
> system("echo y|icacls . /T /grant \"*S-1-5-32-544:F\"");
>
> Lines 57 and 75 in win32/setup-win.c.
> Group Administrators should always has SID: S-1-5-32-544
> (https://support.microsoft.com/en-us/help/243330/well-known-security-identifiers-in-windows-operating-systems)
>
> I checked it on my: Windows 7 Prof, Win 10 Prof, Windows 2012 Std and
> everything looks good.
> I'm not sure if icacls is avaiable in Windows Home Edition....
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "ossec-list" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ossec-list+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ossec-list+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to