From owner-freebsd-questions@FreeBSD.ORG Fri Feb 13 17:04:23 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C27E916A4CE for ; Fri, 13 Feb 2004 17:04:23 -0800 (PST) Received: from craig.afraid.org (CPE0050bf78b8c6-CM000a739ac1da.cpe.net.cable.rogers.com [67.60.253.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F39E43D1F for ; Fri, 13 Feb 2004 17:04:21 -0800 (PST) (envelope-from craig@craig.afraid.org) Received: from craig.internal.lan ([10.0.0.2] helo=redline) by craig.afraid.org with smtp (Exim 4.30; FreeBSD) id 1AroEE-0001g7-Cx; Fri, 13 Feb 2004 20:04:18 -0500 Message-ID: <000a01c3f296$7f60eaa0$0200000a@redline> From: "Craig Reyenga" To: References: <20040214004739.GD650@keyslapper.org> Date: Fri, 13 Feb 2004 20:04:29 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 cc: freebsd-questions@FreeBSD.org Subject: Re: startup daemon as unpriviliged user X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2004 01:04:23 -0000 man 5 crontab -- check out "@reboot" Or, for something crazy, man gettytab; you can autologin on a tty and then use a shell script to do all kinds of fun things. I used to run X without xdm that way. Hope this helps. -Craig ----- Original Message ----- From: "Louis LeBlanc" To: "FreeBSD Questions" Sent: Friday, February 13, 2004 7:47 PM Subject: startup daemon as unpriviliged user > Hey everyone. Here's a general question for you. > > I have a FreeBSD 4.8 system that runs fetchmail for me as an > unprivileged everyday userid. The problem is that the machine isn't > on the most reliable powergrid one could hope for. > > So when the system comes back up after going down, I ALWAYS forget > that I have to get fetchmail restarted. If I forget for too long, > there's so much mail it blows the server that receives the mail into > oblivion (also FreeBSD 4.8, running Sendmail, Cyrus Imapd, and the > main culprit, Spamassassin - spamd). This is so bad that I often have > to reboot the receiving system. > > So, how can I get a process to run automatically on startup for an > unprivileged user? > > Thanks. > Lou > -- > Louis LeBlanc leblanc@keyslapper.org > Fully Funded Hobbyist, KeySlapper Extrordinaire :) > http://www.keyslapper.org ԿԬ > > The clearest way into the Universe is through a forest wilderness. > -- John Muir > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >