62 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2
DMSXDC546E Target not found
====> quit
The Target not found message shows that the string lnx4vm is not used in the USER
DIRECT file, so it is a useful candidate for a password.
4. Edit the USER DIRECT file with a parameter of (profile chpw540) followed by the new
password. Rather than invoking the default profile of PROFILE XEDIT, this command will
invoke the XEDIT macro named CHPW540 XEDIT and pass it the new password. For
example, to change all passwords to lnx4vm, enter the following command:
==> x user direct c (profile chpw540) lnx4vm
Changing all passwords to: LNX4VM
DMSXCG517I 1 occurrence(s) changed on 1 line(s)
DMSXCG517I 1 occurrence(s) changed on 1 line(s)
DMSXCG517I 1 occurrence(s) changed on 1 line(s)
...
5. When the profile finishes you are left in the XEDIT session with all passwords modified. You
may wish to first examine the changes. Then save the changes with the FILE
subcommand:
====> file
6. Bring the changes online with the DIRECTXA command:
==> directxa user
z/VM USER DIRECTORY CREATION PROGRAM - VERSION 5 RELEASE 4.0
EOJ DIRECTORY UPDATED AND ON LINE
HCPDIR494I User directory occupies 43 disk pages
Your new directory is online. Remember the new password.
Note that this XEDIT macro will only work on a vanilla USER DIRECT file because it searches for
the original user IDs next to passwords. If you want to change your password again, it should
be much easier because you can use the XEDIT CHANGE subcommand. For example, to change
all passwords from lnx4vm to vm53nx, invoke the following commands:
==> x user direct c
====> c/LNX4VM/VM4LNX/* *
DMSXCG517I 798 occurrence(s) changed on 345 line(s)
At this point, your z/VM system is now customized and ready for Linux. We recommend that
you back up your system to tape.
4.10 Backing up your z/VM system to tape
Your system is now customized with a running TCP/IP stack, a highly available
VSWITCH, a startup and shutdown process, and a user ID for shared files. You have
changed the passwords. This would be an appropriate time to back up the system to tape.
There are five system volumes that should be backed up: 540RES, 540SPL, 540PAG, 540W01 and
540W02 (or just the first three, if you are using 3390-9s). You also have configured a sixth
volume that is important to Linux; that is, the first 320 cylinders of the volume with LNXMAINT
on it.
Comentarios a estos manuales