From owner-freebsd-questions@FreeBSD.ORG Sat Feb 14 08:55:26 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 6EF3D16A4CE for ; Sat, 14 Feb 2004 08:55:26 -0800 (PST) Received: from out010.verizon.net (out010pub.verizon.net [206.46.170.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AAB143D1D for ; Sat, 14 Feb 2004 08:55:26 -0800 (PST) (envelope-from leblanc@keyslapper.org) Received: from keyslapper.org ([151.203.33.188]) by out010.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040214165525.ZCBV26012.out010.verizon.net@keyslapper.org> for ; Sat, 14 Feb 2004 10:55:25 -0600 Received: from keyslapper.org (localhost [127.0.0.1]) by keyslapper.org (8.12.8p1/8.12.8) with ESMTP id i1EGtRHX063930 for ; Sat, 14 Feb 2004 11:55:27 -0500 (EST) (envelope-from leblanc@keyslapper.org) Received: (from leblanc@localhost) by keyslapper.org (8.12.8p1/8.12.8/Submit) id i1EGtQBH063929 for freebsd-questions@FreeBSD.org; Sat, 14 Feb 2004 11:55:26 -0500 (EST) Date: Sat, 14 Feb 2004 11:55:26 -0500 From: Louis LeBlanc To: freebsd-questions@FreeBSD.org Message-ID: <20040214165526.GB56805@keyslapper.org> Mail-Followup-To: freebsd-questions@FreeBSD.org References: <20040214004739.GD650@keyslapper.org> <000a01c3f296$7f60eaa0$0200000a@redline> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <000a01c3f296$7f60eaa0$0200000a@redline> User-Agent: Mutt/1.5.6i X-Authentication-Info: Submitted using SMTP AUTH at out010.verizon.net from [151.203.33.188] at Sat, 14 Feb 2004 10:55:25 -0600 Subject: Re: startup daemon as unpriviliged user X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2004 16:55:26 -0000 Bingo! Thanks a bunch! I'll check out gettytab too, but the @reboot is exactly what I needed for this. Lou On 02/13/04 08:04 PM, Craig Reyenga sat at the `puter and typed: > 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" > > > > -- Louis LeBlanc leblanc@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ ignisecond, n: The overlapping moment of time when the hand is locking the car door even as the brain is saying, "my keys are in there!" -- Rich Hall, "Sniglets"