Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

regkeys audit settings

by anu_1 (Acolyte)
on Aug 18, 2010 at 09:16 UTC ( #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? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2022-05-16 16:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (63 votes). Check out past polls.

    Notices?