Adding a new user
Let's add a user called TAGE (named after the guy from the "Dage med Tage" sketch), with the password linie.
-
Login as someone who has rights to do this sort of thing, such as
HERC01 -
Navigate to
SYS2.JCLLIB(ADDUSER) -
Tweak it as needed, so the last line is
//ADDUSER EXEC ADDUSER,HLQ=TAGE,UTYPE=USER
The username is specified after HLQ, and the user type here is USER, but it could also have been SYSP.
-
Submit the job (write
SUBMITon theCommand ===>line and hit enter). -
Navigate to
SYS1.SECURE.CNTL(USERS)and add a new line with the contentsTAGE USER ABCD N(the fields must line up with the rest of the file, andABCDis the password).
Changing password
To change your password, connect to the mainframe and at the Logon ===> prompt, type your username. Instead of replying with your password, reply with linie/snaps, where linie is your current password, and snaps is your new password.
/s rakfuser (IMPORTANT)
To make any of the changes effective, you must run /s rakfuser on the mvs console (the linux terminal session where ./mvs is running).