Thanks AcidHawk, the only thing is I don't think that module has any ability to actually create groups and modify the userlist associated to the groups. My deal is that I am tasked with migrating a old web app from a old server to a new one. I do not have access to the source code for the application and it relies heavily on local groups and users to provide access restrictions. To gauge the scope of the application it has close to 3500 groups and 900 users. the users may belong to multiple groups and depending on the groups they have access to different parts of the site. My plan was to use a program I have that dumps user/passhash to a file and then reload it to the new machine. then run a perl script that takes username/group relationships and creates an interim file that I can then transfer to the new box and use to recreate the groups. I also have to do the same thing at the filesystem level to set permissions / groups on a ton of files. This is turning out to be a mess -- it would have taken me like 5 minutes on a unix box. Do you have any ideas on modules that can be used to not only get group names but also membership on 2k boxes?
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|