The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Win32::SysPrivilege - Perl extension for Adjusting Privileges

SYNOPSIS

        use Win32::SysPrivilege;
        #create a super shell (command prompt with SYSTEM Privilege),
        #all the thingy it execute can inherited to get the SYSTEM Privilege.
        SysRun('cmd.exe');
        #SysRun also support running a process with args too
        SysRun('taskkill.exe','/F','/IM taskmgr.exe');
        AdjustPrivilege(SeImpersonatePrivilege());    #See demo/demo2.pl

DESCRIPTION

Executing others executableslike system(), but execute it with "SYSTEM" privilege

EXPORT

        SysRun()
        AdjustPrivilege()
        and Privileges Names

SEE ALSO

        demo/Demo1.pl
        demo/Demo2.pl
        My Mail: rootkwok <AT> cpan <DOT> org

AUTHOR

        Baggio, Kwok Lok Chung rootkwok <AT> cpan <DOT> org

COPYRIGHT AND LICENSE

Copyright (C) 2009 by Baggio, Kwok Lok Chung

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.