As I mentioned in So you know Perl; but do you know programming? I was adding some functionality to the unix account creator script as well as re-writing some of the "extraneous" work that it did(ie 15 loops down to 5)

One aspect of the script was to create an NT account on your domain. The original author, set up a Telnet server on the domain controller and the Unix script would telnet into it and run a script there.

The one thing I don't like is the fact that he hard coded the account and the password!

I would like to eliminate the NT standalone script and be able to "feed" a routine to the domain controller.

Has anybody done something like this? Is there a better way or am I just being overly paranoid about security.

One person told me that XML should be able to do that? But from the preliminary scans I really don't see how>

Any suggestions on where to look would be appreciated


In reply to Unix Script to create NT accounts? by Marza

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.