Red Hat LINUX VIRTUAL SERVER 4.6 - ADMINISTRATION Manuale di Installazione Pagina 85

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 296
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 84
Chapter 4. Installing and configuring z/VM 65
4.9.5 Changing passwords in USER DIRECT
Changing the passwords can be done manually in XEDIT. However, this is both tedious
and error-prone. An XEDIT macro named CHPW610 XEDIT can be used. The source code
for this can be found at:
http://www.vm.ibm.com/devpages/mikemac/SG247932.tgz
This macro changes all z/VM passwords to the same value, which may still not be adequate
security given the different function of the various user IDs. If you want different passwords,
you have to modify the USER DIRECT file manually, either with or without using the CHPW52
XEDIT macro.
To modify all user ID and minidisk passwords to the same value, perform the following steps:
1. Log on to MAINT.
2. Link and access the LNXMAINT 192 disk to pick up the CHPW610 XEDIT macro:
==> vmlink lnxmaint 192
DMSVML2060I LNXMAINT 192 linked as 0120 file mode Z
3. Make a backup copy of the USER DIRECT file and first be sure the password that you want
to use is not a string in the file. For example, if you want to change all passwords to
lnx4vm, then perform the following steps:
==> copy user direct c = direwrks = (oldd
==> x user direct c
====> /lnx4vm
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 good candidate for a password.
4. Edit the USER DIRECT file with the parameter (profile chpw610) followed by the new
password. Rather than invoking the default profile of PROFILE XEDIT, this command
invokes the XEDIT macro named CHPW610 XEDIT and passes it the new password. For
example, to change all passwords to lnx4vm, enter the following command:
==> x user direct c (profile chpw610) lnx4vm
Changing all passwords to: LNX4VM
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 want 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 6 RELEASE 1.0
EOJ DIRECTORY UPDATED AND ON LINE
HCPDIR494I User directory occupies 43 disk pages
Your new directory is online. Do not forget the new password!
Vedere la pagina 84
1 2 ... 80 81 82 83 84 85 86 87 88 89 90 ... 295 296

Commenti su questo manuale

Nessun commento