|
Posted by Cosmic Cruizer on March 9, 2008, 3:20 pm
Please log in for more thread options
I can get most of the registry info I need by using Win32::TieRegistry, but
I cannot figure out how to get the permissions for the keys. Is it possbile
to get the key permissions using TieRegistry? If not, is there a different
way to use Perl to get the registry key permissions?
Thanks
|
|
Posted by Thomas Kratz on March 10, 2008, 8:20 am
Please log in for more thread options
Cosmic Cruizer wrote:
> I can get most of the registry info I need by using Win32::TieRegistry, but
> I cannot figure out how to get the permissions for the keys. Is it possbile
> to get the key permissions using TieRegistry? If not, is there a different
> way to use Perl to get the registry key permissions?
Win32::Perms is your friend.
Try:
ppm install http://www.roth.net/perl/packages/win32-perms.ppd
Thomas
--
$/=$,,$_=<DATA>,s,(.*),$1,see;__END__
s,^(.*3),,mg,@_=mapsplit;{#>J~.>_an~>>e~......>r~
$_=$_[$%][$"];y,<~>^,-++-,?{$/=--$|?'"':#..u.t.^.o.P.r.>ha~.e..
'%',s,(.),$$/$1=1,,$;=$_}:/\w/?{y,_, ,,#..>s^~ht<._..._..c....
print}:y,.,,||last,,,,,,$_=$;;eval,redo}#.....>.e.r^.>l^..>k^.-
|
|
Posted by Cosmic Cruizer on March 11, 2008, 9:55 pm
Please log in for more thread options
> Cosmic Cruizer wrote:
>> I can get most of the registry info I need by using
>> Win32::TieRegistry, but I cannot figure out how to get the
>> permissions for the keys. Is it possbile to get the key permissions
>> using TieRegistry? If not, is there a different way to use Perl to
>> get the registry key permissions?
>
> Win32::Perms is your friend.
>
> Try:
>
> ppm install http://www.roth.net/perl/packages/win32-perms.ppd
>
> Thomas
>
Thank you for the suggestion, but I'm not seeing how this will read the
permissions on a registry entry. It looks like it's geared towards file
permissions.
But thanks for letting me know about another useful tools.
|
|
Posted by Thomas Kratz on March 12, 2008, 6:17 am
Please log in for more thread options Cosmic Cruizer wrote:
>
> Thank you for the suggestion, but I'm not seeing how this will read the
> permissions on a registry entry. It looks like it's geared towards file
> permissions.
To quote directly from the Readme:
Currently the following objects are supported:
files
directories
registry keys
network shares
printer shares
Take a look at the example scripts, there are examples of getting and
setting registry permissions.
Thomas
--
$/=$,,$_=<DATA>,s,(.*),$1,see;__END__
s,^(.*3),,mg,@_=mapsplit;{#>J~.>_an~>>e~......>r~
$_=$_[$%][$"];y,<~>^,-++-,?{$/=--$|?'"':#..u.t.^.o.P.r.>ha~.e..
'%',s,(.),$$/$1=1,,$;=$_}:/\w/?{y,_, ,,#..>s^~ht<._..._..c....
print}:y,.,,||last,,,,,,$_=$;;eval,redo}#.....>.e.r^.>l^..>k^.-
|
|
Posted by Cosmic Cruizer on March 16, 2008, 11:26 pm
Please log in for more thread options $bb690d87@news.main-rheiner.de:
> Cosmic Cruizer wrote:
>>
>> Thank you for the suggestion, but I'm not seeing how this will read the
>> permissions on a registry entry. It looks like it's geared towards file
>> permissions.
>
> To quote directly from the Readme:
>
> Currently the following objects are supported:
> files
> directories
> registry keys
> network shares
> printer shares
>
> Take a look at the example scripts, there are examples of getting and
> setting registry permissions.
>
> Thomas
>
Well Thomas... you're right, it does return the perms on the registry.
Thanks for suggestion.
Now all I need to do is to try and make heads-and-tails out of what's being
returned. But that will be for a different thread after I work with it a
bit.
|
| Similar Threads | Posted | | Win32::TieRegistry | March 3, 2006, 7:53 am |
| Win32::TieRegistry Logon User Name | March 9, 2005, 12:56 am |
| Win32::TieRegistry -- replace string in the whole HKLM | November 21, 2006, 4:57 am |
| use Win32::TieRegistry if ($^O =~ /win32/i) | June 1, 2006, 12:58 pm |
| Permissions to Run StartService/StopService from Web Interface? (Win32::Service) | September 14, 2005, 9:00 am |
| TieRegistry with IPConfig | April 1, 2008, 10:17 pm |
| TieRegistry Overlapped Error | March 8, 2008, 11:42 am |
| Retrieving a registry data type using TieRegistry | April 19, 2006, 5:59 am |
| Permissions | February 1, 2006, 10:08 pm |
| Need help with CGI/ DBI error (permissions?) | February 18, 2005, 10:56 pm |
|