system command

Discussion in 'Perl Misc' started by David Williams, Apr 5, 2007.

  1. Hello everyone,
    I am writing a script that runs a command which needs a password.
    I don't want the user to have to enter the password, I want the script
    to supply it. I think the system command will allow me to do this.
    Does anyone have any examples of how to do this and can I somehow also
    prevent the password from being seen clear text?

    Thanks

    --
    David Williams
    Georgia Institute of Technology, Atlanta Georgia, 30332
    Email:
     
    David Williams, Apr 5, 2007
    #1
    1. Advertising

  2. David Williams

    J. Gleixner Guest

    David Williams wrote:
    > Hello everyone,
    > I am writing a script that runs a command which needs a password.
    > I don't want the user to have to enter the password, I want the script
    > to supply it. I think the system command will allow me to do this.
    > Does anyone have any examples of how to do this and can I somehow also
    > prevent the password from being seen clear text?


    perldoc IPC::Open2
     
    J. Gleixner, Apr 5, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. San Diego Guy
    Replies:
    0
    Views:
    584
    San Diego Guy
    Aug 7, 2003
  2. Lucas Cowald
    Replies:
    4
    Views:
    1,139
    Tohid
    Oct 23, 2003
  3. Bernd Oninger
    Replies:
    1
    Views:
    842
    Martin Honnen
    Jul 7, 2004
  4. Irmen de Jong
    Replies:
    2
    Views:
    449
    =?ISO-8859-1?Q?Gerhard_H=E4ring?=
    Aug 12, 2003
  5. boriq
    Replies:
    4
    Views:
    628
    Tim Golden
    Jun 12, 2008
Loading...

Share This Page