startup daemon as unpriviliged user
Louis LeBlanc
freebsd at keyslapper.org
Sat Feb 14 08:55:26 PST 2004
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" <freebsd at keyslapper.org>
> To: "FreeBSD Questions" <freebsd-questions at FreeBSD.org>
> 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 at 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 at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
> >
>
>
--
Louis LeBlanc leblanc at 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"
More information about the freebsd-questions
mailing list