Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

regkeys audit settings

by anu_1 (Acolyte)
on Aug 18, 2010 at 09:16 UTC ( [id://855720]=perlquestion: print w/replies, xml ) Need Help??

anu_1 has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to get the SACL for the registry key my( $Permreg ) = new Win32::Perms("HKEY_LOCAL_MACHINE\\SYSTEM\\Current +ControlSet\\Services\\W3SVC"); $Permreg ->Dump( \@List ); foreach $Acct ( @List ) { print "$Acct->{Entry} $nPath\n"; } ONLY DACL and owner,group is displayed. SACL entry is missing. Is ther +e any problem with the code. ** The SACL of this particular key is present as seen from suninacl Thanks for help

Replies are listed 'Best First'.
Re: regkeys audit settings
by Anonymous Monk on Aug 18, 2010 at 09:28 UTC
    What is the output?

      Here is the output

      DACL HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC DACL HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC DACL HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC DACL HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC DACL HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC DACL HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC DACL HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC DACL HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC DACL HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC Owner HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC Group HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC
        The problem is solved now . I had to pass win32 registry object

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://855720]
Approved by wfsp
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2024-04-23 08:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found