To change the mainframe password



IBM's Command List programming language & Restructured Extended Executor

To change the mainframe password

Postby talhoo » Mon Jun 02, 2014 8:35 pm

Hi,
Can someone direct me to a sample code where i can change the mainframe password using a rexx.
Bascially ask the user the old password and then the new password, and then change it.

Thank you
talhoo
 
Posts: 4
Joined: Sat Feb 08, 2014 12:33 am
Has thanked: 0 time
Been thanked: 0 time

Re: To change the mainframe password

 

Re: mainframe password

Postby steve-myers » Mon Jun 02, 2014 9:05 pm

In the RACF system there is a standard line mode command - PASSWORD - to do just that. Trying to put a Rexx shell around the PASSWORD command is foolish, probably dangerous, and unnecessary.

I don't know about CA-Top Secret and CA-ACF2. It has been 30+ years since I was an ACF2 user / administrator and my memories about it have faded. It has been just 6 years since I was a Top Secret user / administrator, but I don't recall anything like the RACF PASSWORD command.
steve-myers
Global moderator
 
Posts: 1886
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 197 times

Re: mainframe password

Postby enrico-sorichetti » Mon Jun 02, 2014 9:52 pm

Bascially ask the user the old password and then the new password, and then change it.


to change Your password You have to be logged on;
so no reason to ask for the old password again

but why ask on a forum rather than addressing the question to Your security support group.


if You have the business need to know/to do they will be glad to help You
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: To change the mainframe password

Postby prino » Mon Jun 02, 2014 10:33 pm

talhoo wrote:Hi,
Can someone direct me to a sample code where i can change the mainframe password using a rexx.
Bascially ask the user the old password and then the new password, and then change it.

Thank you

If I were Alan Sugar, and this was "The Apprentice", the simple answer would be: "You are fired!"

Changing a password using REXX and asking the user to enter it in your code smells, at least to me, very much like "I'm going to collect passwords from the "Dumb (expletive deleted)" who fall for this scheme"...
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 536
Joined: Wed Mar 11, 2009 12:22 am
Location: Oostende, Belgium
Has thanked: 3 times
Been thanked: 21 times

Re: mainframe password

Postby steve-myers » Mon Jun 02, 2014 11:47 pm

enrico-sorichetti wrote:... to change Your password You have to be logged on;
so no reason to ask for the old password again ...
Actually, the RACF PASSWORD command wants you to enter your current password. Obnoxious? Yes. But if you've walked away from your terminal, and some one else then tries to change the password ...
steve-myers
Global moderator
 
Posts: 1886
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 197 times

Re: To change the mainframe password

Postby enrico-sorichetti » Tue Jun 03, 2014 12:34 am

the RACF PASSWORD command wants you to enter your current password.
:oops: :oops: :oops:
fingers faster than the brain
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: To change the mainframe password

Postby Pedro » Tue Jun 03, 2014 12:42 am

I think the normal logon panel has a field for password and another field for new password. (at least, I think so. My site uses our own logon panel, so my recollection is foggy).

Just provide your user with instructions to change the password. As Enrico suggested, ask your security support group.
Pedro Vera
User avatar
Pedro
 
Posts: 569
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 39 times

Re: To change the mainframe password

Postby steve-myers » Tue Jun 03, 2014 7:00 am

My last job used a session manager, which is where we usually changed the password when we logged on to the session manager. For all intents and purposes the session manager was the only entry to the multitude of "real" systems. The updated password was (usually) sent to the "real" systems. The session manager usually logged us on to the "real" systems.
steve-myers
Global moderator
 
Posts: 1886
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 197 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post