Re: [SLUG] Masquerading as another user on boot

From: Antonio De Leon (aldleonm@gmail.com)
Date: Mon Aug 10 2009 - 22:30:41 EDT


could use sudo but before edit /etc/sudoers and give permission to the group
of those having fetchmail run then just run fetchmail. Around those lines i
bet.

On Mon, Aug 10, 2009 at 10:09 PM, Paul M Foster <paulf@quillandmouse.com>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
>
> --
> Paul M. Foster
> -----------------------------------------------------------------------
> 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.
>

-- 
Antonio De Leon

----------------------------------------------------------------------- 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:48 EDT