Date: Sat, 12 Apr 2003 14:37:53 +0200 From: Cyrille Lefevre <cyrille.lefevre@laposte.net> To: cjclark@alum.mit.edu Cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/50739: Maintainer update: astro/setiathome (nobody->setiathome) Message-ID: <20030412123752.GA60423@gits.dyndns.org> In-Reply-To: <20030411205245.GA84569@blossom.cjclark.org> References: <200304090512.h395CGrJ014714@freefall.freebsd.org> <20030411200506.GA36868@gits.dyndns.org> <20030411205245.GA84569@blossom.cjclark.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 11, 2003 at 01:52:45PM -0700, Crist J. Clark wrote: > 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. I'll try this way. Cyrille. -- Cyrille Lefevre mailto:cyrille.lefevre@laposte.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030412123752.GA60423>