tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "SIMEONE, Allan J." <Allan.SIMEONE () rp-rorer ! com>
To: tru64-unix-managers
Subject: SUMMARY: ksh bug using su?
Date: Tue, 01 Sep 1998 16:13:37 +0000	[thread overview]
Message-ID: <96078721911536.tru64-unix-managers.marc@archive.invalid> (raw)

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@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@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
> 
> 
> 

                 reply	other threads:[~1998-09-01 16:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox