summaryrefslogtreecommitdiff
path: root/sites/pmikkelsen.com/mainframe/adding-users.md
diff options
context:
space:
mode:
authorPeter Mikkelsen <petermikkelsen10@gmail.com>2025-09-24 20:03:08 +0200
committerPeter Mikkelsen <petermikkelsen10@gmail.com>2025-09-24 20:03:08 +0200
commite2fdb3b662c3b85bb98c7739a10dfba10435cbde (patch)
tree8219a29c293e7428fcf184505aca34cbadd13310 /sites/pmikkelsen.com/mainframe/adding-users.md
parent2619bffe262fb81d5d189a2d6a96d7a584f9549b (diff)
Sync
Diffstat (limited to 'sites/pmikkelsen.com/mainframe/adding-users.md')
-rw-r--r--sites/pmikkelsen.com/mainframe/adding-users.md20
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).