SUMMARY: ksh bug using su?

From: SIMEONE, Allan J. <Allan.SIMEONE_at_rp-rorer.com>
Date: Tue, 01 Sep 1998 12:13:37 -0400

Hi,

Here is the summary for the su problem with sh and ksh.
The official response from Compaq is this problem will be fixed in a future
release and will be documented in the release notes when fixed.

The temporary fix for me was to change the root's shell to ksh.

Allan

> ----------
> From: SIMEONE, Allan J.
> Sent: Thursday, August 20, 1998 10:11AM
> To: 'alpha-osf-managers_at_ornl.gov'
> Subject: FW: ksh bug using su?
>
> Hello All,
>
> I thought I would give an update to the problem I am having with su-ing
> to a ksh user and getting logged out as there seems to be an interest with
> several users from the list. The original question is at the bottom of
> the
> message.
>
> This is just an update, and not a summary. Basically, the response I
> have received has been, "yeah, me too" and I also found out through
> this list that it happens on DU4.0D and DU4.0B patch kit 5 also
> (we are running patch kit 6 and 7). I have called "compaq" services
> and they are still looking into the problem at this time and I have no
> solution.
>
> This was first noticed on our system when scripts in init.d using
> #!/bin/ksh
> with the su command further down in the script would just exit out and
> stop
> the rest of the init.d scripts from running.
>
> We thought the system came up, but found some processes were not started
> at boot up. This happens if root is using /bin/sh and the scripts or
> users are
> using /bin/ksh or /usr/bin/ksh.
>
> I'll provide a summary when/if there is a fix.
>
> Allan
> ----------
> From: SIMEONE, Allan J.
> Sent: Tuesday, August 11, 1998 6:23PM
> To: 'alpha-osf-managers_at_ornl.gov'
> Subject: ksh bug using su?
>
> Hello,
>
> I have just run into a problem that I think is a bug with ksh on DU 4.0b.
> We are
> running DU 4.0b with patch kit 6.
>
> If I su to a user and run a command (with the default shell of that
> user as ksh), it will log me out after the command is run. For example:
>
> as root:
>
> su - username -c ls
>
> then after doing the ls, it will log me completely out.
>
> This does not happen on my workstation that runs DU 4.0c.
>
> If the users shell is bash or sh (haven't tested csh), it will do the ls
> command
> and then bring me back to the prompt on the DU4.0b system.
>
> Any ideas on this?
>
> thanks,
> Allan
>
>
>
Received on Tue Sep 01 1998 - 16:16:18 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT