From tim@robbins.dropbear.id.au  Wed Jul  9 07:13:31 2003
Return-Path: <tim@robbins.dropbear.id.au>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9BFA637B401
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  9 Jul 2003 07:13:31 -0700 (PDT)
Received: from smtp01.syd.iprimus.net.au (smtp01.syd.iprimus.net.au [210.50.30.52])
	by mx1.FreeBSD.org (Postfix) with ESMTP id EEF2643F85
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  9 Jul 2003 07:13:30 -0700 (PDT)
	(envelope-from tim@robbins.dropbear.id.au)
Received: from mail.robbins.dropbear.id.au (210.50.84.211) by smtp01.syd.iprimus.net.au (7.0.015)
        id 3EF6A74E003EBBC0 for FreeBSD-gnats-submit@freebsd.org; Thu, 10 Jul 2003 00:13:29 +1000
Received: by mail.robbins.dropbear.id.au (Postfix, from userid 1000)
	id DAE30C96E; Thu, 10 Jul 2003 00:13:25 +1000 (EST)
Message-Id: <20030709141325.DAE30C96E@mail.robbins.dropbear.id.au>
Date: Thu, 10 Jul 2003 00:13:25 +1000 (EST)
From: Tim Robbins <tim@robbins.dropbear.id.au>
Reply-To: Tim Robbins <tim@robbins.dropbear.id.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: su/csh job control problem
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         54263
>Category:       bin
>Synopsis:       su/csh job control problem
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 09 07:20:12 PDT 2003
>Closed-Date:    Tue Nov 04 18:35:52 PST 2003
>Last-Modified:  Tue Nov 04 18:35:52 PST 2003
>Originator:     Tim Robbins
>Release:        FreeBSD 5.1-RELEASE
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD 5.1-RELEASE

>Description:
After su'ing root and suspending the shell with the csh "suspend" command,
it's no longer possible to get back to the csh with "fg". This bug is not
present in RELENG_4.

>How-To-Repeat:
$ su
Password:
bunyip# suspend
[1] + Stopped (signal)     su 
$ fg
su 
[1] + Stopped (tty output) su 
$ fg
su 
[1] + Stopped (tty output) su 
$ fg
su 
[1] + Stopped (tty output) su 

>Fix:
Not known.
>Release-Note:
>Audit-Trail:

From: Bob Bishop <rb@gid.co.uk>
To: freebsd-gnats-submit@FreeBSD.org, tim@robbins.dropbear.id.au
Cc:  
Subject: Re: bin/54263: su/csh job control problem
Date: Wed, 09 Jul 2003 15:48:10 +0100

 I've seen this too, and variations ranging from losing the underlying login 
 shell (forced logout) to no problem at all.
 
 --
 Bob Bishop		    +44 (0)118 977 4017
 rb@gid.co.uk		fax +44 (0)118 989 4254
 

From: Kris Kennaway <kris@obsecurity.org>
To: freebsd-gnats-submit@FreeBSD.org, tim@robbins.dropbear.id.au
Cc:  
Subject: Re: bin/54263
Date: Sat, 12 Jul 2003 23:08:31 -0700

 This problem was determined to only occur when the su'ing user is
 using the pdksh shell, and it does not occur from sh or csh.
 
 Kris
 
State-Changed-From-To: open->closed  
State-Changed-By: davidxu 
State-Changed-When: Tue Nov 4 18:34:35 PST 2003 
State-Changed-Why:  
Fixed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=54263 
>Unformatted:
