On icaclc you can use shoter form:
system("icacls * /T /grant \"*S-1-5-32-544:F\"");
or:
system("icacls * /Q /T /grant \"*S-1-5-32-544:F\"");

"echo y|" is unnecessary, but I don't tested it yet.

-- 

--- 
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