From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Apr 11 13:52:49 2003 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7D1837B401 for ; Fri, 11 Apr 2003 13:52:49 -0700 (PDT) Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDDCA43FB1 for ; Fri, 11 Apr 2003 13:52:48 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: from blossom.cjclark.org (12-234-159-107.client.attbi.com[12.234.159.107]) by sccrmhc03.attbi.com (sccrmhc03) with ESMTP id <2003041120524800300fd0aje>; Fri, 11 Apr 2003 20:52:48 +0000 Received: from blossom.cjclark.org (localhost. [127.0.0.1]) by blossom.cjclark.org (8.12.8p1/8.12.3) with ESMTP id h3BKqkki084738; Fri, 11 Apr 2003 13:52:46 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: (from cjc@localhost) by blossom.cjclark.org (8.12.8p1/8.12.8/Submit) id h3BKqjEQ084737; Fri, 11 Apr 2003 13:52:45 -0700 (PDT) X-Authentication-Warning: blossom.cjclark.org: cjc set sender to crist.clark@attbi.com using -f Date: Fri, 11 Apr 2003 13:52:45 -0700 From: "Crist J. Clark" To: cyrille.lefevre@laposte.net, freebsd-ports-bugs@FreeBSD.org Message-ID: <20030411205245.GA84569@blossom.cjclark.org> References: <200304090512.h395CGrJ014714@freefall.freebsd.org> <20030411200506.GA36868@gits.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030411200506.GA36868@gits.dyndns.org> User-Agent: Mutt/1.4.1i X-URL: http://people.freebsd.org/~cjc/ Subject: Re: ports/50739: Maintainer update: astro/setiathome (nobody->setiathome) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: cjclark@alum.mit.edu List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2003 20:52:50 -0000 On Fri, Apr 11, 2003 at 10:05:06PM +0200, Cyrille Lefevre wrote: [snip] > Hi, > > someone reports me that the newer wrapper don't work w/ an account > using the csh as the login shell such as the default root account. > I don't see this problam since my root account uses a bourne like > shell. > > so, could you replace 'su -fm' by 'SHELL=/bin/sh su -fm' in > files/setiathome.sh. That will not fix the problem. The shell spawned by su(1) will still be the user's login shell. At least that's what my understading of su(1) and some quick tests show. How about, ( echo "\ cd ${seti_wrkdir}/${i} || exit; \ . . . done > /dev/null" | su -fm ${seti_user} /bin/sh ) & Not pretty, but it should do what you want. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org