[SLUG] Masquerading as another user on boot

From: Paul M Foster (paulf@quillandmouse.com)
Date: Mon Aug 10 2009 - 22:09:32 EDT


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.



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