diff options
Diffstat (limited to 'sites/pmikkelsen.com/mainframe/adding-users.md')
-rw-r--r-- | sites/pmikkelsen.com/mainframe/adding-users.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sites/pmikkelsen.com/mainframe/adding-users.md b/sites/pmikkelsen.com/mainframe/adding-users.md new file mode 100644 index 0000000..70c5aa2 --- /dev/null +++ b/sites/pmikkelsen.com/mainframe/adding-users.md @@ -0,0 +1,20 @@ +# 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 `SUBMIT` on the `Command ===>` line and hit enter). +* Navigate to `SYS1.SECURE.CNTL(USERS)` and add a new line with the contents `TAGE USER ABCD N` (the fields must line up with the rest of the file, and `ABCD` is 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). |