[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ip-up for each user?



On Mon, Apr 05, 1999 at 10:19:13PM +0100, Oliver Elphick wrote:
> This is in /etc/diald/ip-up:
> ===================================================================
> #!/bin/sh
> 
> # Set the time and date
> ntpdate  -s -t 5 ntp2c.mcc.ac.uk ntp4.strath.ac.uk &
> 
> # Get mail
> fetchmail  mail.enterprise.net
> 
> # Run the mail queue
> runq
> ===================================================================
> 
> I presume you could do the same in /etc/ppp/ip-up/<something>.
> 
> fetchmail won't allow 2 copies of itself to run, so you don't need to
> worry about that.

So how does fetchmail know who to run as? I'm supposing as the user who
called pppd, right? If that's the case, then my problem can be solved
simply. Otherwise more hacking will be necessary.

Thanks,
Robbie


Reply to: