From owner-freebsd-hackers Mon Oct 7 09:37:17 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA09994 for hackers-outgoing; Mon, 7 Oct 1996 09:37:17 -0700 (PDT) Received: from iafnl.es.iaf.nl (uucp@iafnl.es.iaf.nl [195.108.17.20]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id JAA09977 for ; Mon, 7 Oct 1996 09:36:59 -0700 (PDT) Received: by iafnl.es.iaf.nl with UUCP id AA21833 (5.67b/IDA-1.5 for freebsd-hackers@freebsd.org); Mon, 7 Oct 1996 18:36:17 +0200 Received: (from wilko@localhost) by yedi.iaf.nl (8.7.5/8.6.12) id XAA12312; Sun, 6 Oct 1996 23:44:47 +0100 (MET) From: Wilko Bulte Message-Id: <199610062244.XAA12312@yedi.iaf.nl> Subject: Re: su problem To: hasty@rah.star-gate.com (Amancio Hasty) Date: Sun, 6 Oct 1996 23:44:47 +0100 (MET) Cc: joerg_wunsch@uriah.heep.sax.de, freebsd-hackers@freebsd.org In-Reply-To: <199610061940.MAA00312@rah.star-gate.com> from "Amancio Hasty" at Oct 6, 96 12:40:00 pm X-Mailer: ELM [version 2.4 PL24 ME8a] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Amancio Hasty wrote... [del] > So it works... > > Now, in /etc/rc.local > su -l hasty -c /usr/home/hasty/foo > su -l hasty /usr/home/hasty/foo > > When the system boots up , it generates : > Oct 6 12:30:20 rah /kernel: pid 171 (su), uid 1000: exited on signal 11 > Oct 6 12:30:21 rah /kernel: pid 172 (su), uid 1000: exited on signal 11 > > No coredump gets generated , I guess I have to modify su to generate a > coredump when it gets a signal 11. I had the same problem when I wanted su to run some stuff as 'news' during rc.local This was on 205R (I think). Haven't tried it after that. Sounds similar tho. Wilko _ ____________________________________________________________________ | / o / / _ Bulte email: wilko@yedi.iaf.nl - Arnhem, The Netherlands |/|/ / / /( (_) Do, or do not. There is no 'try' - Yoda --------------------------------------------------------------------------