Kbase P142505: OpenEdge keeps launching new shell session under Unix when performing OS-COMMAND related operations.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  3/6/2009 |
|
Status: Unverified
SYMPTOM(s):
OpenEdge keeps launching new shell session under Unix when performing OS-COMMAND related operations.
OpenEdge keeps launching new shell session under Unix when performing OS-DIR related operations.
OpenEdge keeps launching new shell session under Unix when performing OS-PRINTrelated operations.
Problem does not happen for all users.
FACT(s) (Environment):
Progress/OpenEdge Product Family
UNIX
/etc/passwd for specific users has been configured to launch into tailored shell script not the normal shell.
CHANGE:
Modification was made to how specific users log in to the machine.
CAUSE:
Changes were made to the default shell used by specific users. This change was made to the /etc/passwd file.
The change immediately launch Progress / OpenEdge when the user logged into the system.
Due to this change, any operation by the user to perform an operation which tried to shell out to the OS would end the session and begin a new session.
FIX:
Changes were made to the script used to launch the Progress / OpenEdge sessions.
Additional coding was added to look if the -c option was passed to the script.
The -c option directs the shell to execute a command.
The script was altered to pass any invocations using the -c directly to an exec command which preserved the original command.