Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. zeevam

    Adding User Script?

    Yes can you please post a code example. I am not familiar with expect. Thanks.
  2. zeevam

    Adding User Script?

    I'm sorry, I am looking to have a flat file with usernames and passwords. Upon running a script we want to be able to add those usernames and password to our server. Basically we rebuilt our development server and want to create a user account for each user that is on our production box. Instead...
  3. zeevam

    Adding User Script?

    Where does the passwd command get called?
  4. zeevam

    Adding User Script?

    Is there a way to create a unix user/passwd script that reads from a flat file? I am unsure if it would be possible to add the passwd since you are prompted to add the new password and then confirming the new password. For example the flat text file would have a user and password column...
  5. zeevam

    Executing java in Perl script

    I am invoking the java command in a perl script. So: my $command = "java MyClass"; sysyem $command; I am unfamiliar with the DISPLAY command. I am not sure what I need to pass into the display. Would it be the IP of the server or the IP of the user's PC? Thanks....
  6. zeevam

    Executing java in Perl script

    I am having problems getting a java window to come up from a Perl script. When I open an x-window I am able to execute to java command and the window shows up, but when I try and execute the java command in the perl script I get the following error: Exception in thread "main&quot...
  7. zeevam

    Opening X Window session in Perl .ipl script

    I am trying to write an ipl script that opens up an X window seesion so a java module can be run in a Perl based application. I am relatively new to Perl and am not sure how to do this. Thanks... - Marc
  8. zeevam

    Using login/password with Net::SFTP

    I have read through the sftp documentation and I am not finding any login methods such as in ftp. The big issue is trying to get the if the login fails, then throw an error part. I tried using Net::SSH::Perl to check the login/password but that didn't work properly. Let me know if you have any...
  9. zeevam

    Using login/password with Net::SFTP

    Here is the ftp code that I currently use: my $ftp =''; $ftp = Net::FTP->new("$target_server", timeout => 999999999999); if ($ftp->login("$login_name","$password")) { $ftp->cwd("$initial_dir"); $ftp->put("/var/tmp_tar/$tar_filename&quot...
  10. zeevam

    Using login/password with Net::SFTP

    I am having problems with the following pseudocode: if user's remote server login/password valid{ sftp file to remote server }else{ throw an error } Basically my application uses ftp currently to do this. The user enters in his/her login and password to copy a file from the local server...
  11. zeevam

    SCP file transfer in Perl using UNIX login/password

    I am trying to use scp to tranfer files from server a to server b. In the GUI, the user selects the file to transfer, specifies the remote server name, and enters their unix username and password. How do I code this in Perl so that the scp command is executed at the command line followed by the...

Part and Inventory Search

Back
Top