ports/50739: Maintainer update: astro/setiathome (nobody->setiathome)

Cyrille Lefevre cyrille.lefevre at laposte.net
Sat Apr 12 12:39:02 UTC 2003


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 at laposte.net



More information about the freebsd-ports-bugs mailing list