Re: [SLUG] Masquerading as another user on boot

From: Chris Mathey (slug@mathey.org)
Date: Mon Aug 10 2009 - 22:45:48 EDT


Paul M Foster wrote:
> I just set up a centralized mailserver for our network. As configured, a
> fetchmail process runs as a daemon for each user. (Fetchmail run as a
> single, central daemon dumps email into /var/mail/fetchmail, instead of
> the individual spool files.) If I have to restart that system for some
> reason, I'd like a way to restart the individual fetchmail daemons (all
> two of them). But they run under the UID of the individual users who
> issue the fetchmail command. Rather than having to ssh into that server
> as each user and issue a fetchmail command, I'd like a way (preferably a
> script) which will lauch the two fetchmail instances as the individual
> users without my intervention. I know, tall order.
>
> Any ideas?
>
> Paul
>
>
If you are running fetchamil in daemon mode then all you need is
/etc/fetchmailrc. Add "poll" for each user.
If a users wants to set up an individual one then they can create their
own file in ~/

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 13:22:50 EDT