Date: Sat, 01 Jun 1996 18:23:33 +0100 From: "Gary Palmer" <gpalmer@FreeBSD.ORG> To: David Hedley <David.Hedley@bristol.ac.uk> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: weird problem with su Message-ID: <4749.833649813@palmer.demon.co.uk> In-Reply-To: Your message of "Sat, 01 Jun 1996 11:48:16 BST." <398.833626096@inferno.cs.bris.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
David Hedley wrote in message ID <398.833626096@inferno.cs.bris.ac.uk>: > ( > if [ -x /home/users/bbsadmin/bootup ]; then > echo -n 'BBS: ' > echo bootup | su -l bbsadmin > fi > if [ -x /home/users/mud/bootup ]; then > echo -n 'TNT: ' > echo bootup | su -l mud > fi > ) >/tmp/bootup 2>&1 & > Both 'su' commands exit on signal 11 and the following is found in > /tmp/bootup: > > BBS: Memory fault > TNT: Memory fault Try doing that without the `-l' flag to `su'. -l attempts to simulate a full login, which during /etc/rc.local could cause problems. I've certainly seen other stuff working in /etc/rc.local using `su user'. Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4749.833649813>