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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change FTP Password Every 30 Days

Status
Not open for further replies.

DPAKEN

Technical User
Jan 10, 2009
3
US
As I am new to this forum, I'm not certain as to the protocol. Here is my dilemma. I have a number of EDI processes that connect to an z/OS via FTP. The ISO of the system requires us to change our password every 30 days. Short of manually logging on with the old password/new password/newpassword, I've not been able to create a script that will:

1. Get the current password
2. Input new password twice(password is required to be 8 characters...we've developed a standard based on month and year...i.e. ABMMYYYY.

If any one can point in the right direction, I would be extremely grateful. If I am unable to create this script, I will be unable to automate the numerous processes that rely on FTP to this site.

Many Thanks,

Ken
 
Also, does anyone have experience scripting to a z/OS (MVS)system? I'm having difficulty using a wild card for part of the data set name.

Again, any assistance will be appreciated.
 
So you want to programmatically determine what the current password is? Doesn't that seem like something of a security issue to you?

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 
No..not at all. Basically, I log onto the MVS ftp site with user name and password. Every 30 days, we are required to change our password. We set the password, therefore the security risk is only based on admins who have access to our servers.

In order to change our password, I need to logon to the site with following:
Username:
Password: currentpassword/newpassword/newpassword

My thoughts are to keep a file that I read in the current password, then based on the abMMYYYY convention, create a new password (write it to the password text file) and pass it to the password field.

Again, I'm open to suggestions but, last month, one of my co-workers neglected to manually change the password and all our jobs failed. In addition, the multiple failures locked out our account.

I see 2 choices: Manually using an FTP client or find a way to script it. It doesn't have to be completely automated; I could be prompted, before the jobs run, to enter in a new password. However, I only need to change the password once per month.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top