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 Thu Aug 20 1998 - 14:14:25 NZST