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

#!/fellow/monks.pl

NTRights.exe in the W2k Resource Kit allows you to set NT Permissions like "Log on Locally" and so forth to different users, however, it doesn't allow you to see which permissions are assigned to which user. I'd like to do a perl script to just that. Any idea where I could go? I've looked at 'use win32' and it doesn't seem to support that.

Thanks!

#!/massyn.pl The early worm gets caught by the bird.

Replies are listed 'Best First'.
Re: NTRights in Perl?
by BrowserUk (Patriarch) on May 14, 2003 at 11:46 UTC

    Take a look at Win32:NetAdmin. I think it will do what you want.


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller