ITEM: E4926L
3.2.4 diag changes
Question:
3.2.4 (and 3.2.5) version of diag, ver 2.3, and 2.4, will not let you
execute commands. In earlier releases, you could run diag, select
Service Aids: Service Hints and then run a command at the :, by typing
!command_name.
Answer:
** Found FYI on AIXSERV TOOLSDISK that describes a work around.
------------------------------------------------------------------------
| 09/13/93
|
| Service Mode Prompt in AIX 3.2.4
|
| ----------------------------------------------------------------
|
| AIX version 3.2.4 does not allow the user to get to a command
| prompt either in service mode or from the diagnostic diskettes.
| This function is no longer allowed because it could possibly be
| a security hole.
|
| In previous levels of AIX, the user could boot in service mode,
| pick Service Aid and Service Hints, and, on the screen titled
| "MEMORANDUM TO CUSTOMER ENGINEER", type "!/bin/sh" at the colon
| prompt. This would give the user a command prompt.
|
| In AIX 3.2.4, the user IS allowed to get a command prompt after
| booting from bosboot diskettes or a mksysb tape. After booting,
| select choice \#4 to get a prompt. Then use the getrootfs
| command to get into service mode.
|
| It is also possible in AIX 3.2.4 to restore the ability to get
| a prompt in service mode with the following workaround. This
| workaround will cause "pg" to set the SHELL environment
| variable. If the SHELL variable is set, pg will allow a shell
| escape.
|
| 1. Enter the following commands:
|
| cd /bin
| mv pg pg.orig
|
| 2. Then create a shell script called "pg" with the following
| contents:
|
| \#!/bin/ksh
| export SHELL=/bin/ksh
| /bin/pg.orig $*
|
|
| 3. Enter the following commands:
|
| chmod 555 /bin/pg
| chown bin /bin/pg
| chgrp bin /bin/pg
|
------------------------------------------------------------------------
Support Line: 3.2.4 diag changes ITEM: E4926L
Dated: November 1993 Category: N/A
This HTML file was generated 99/06/24~13:30:54
Comments or suggestions?
Contact us