This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Multiple users in fetchmail


Jim,

On Mon, Aug 12, 2002 at 10:00:57PM +0100, Jim George wrote:
> On Mon, 12 Aug 2002 09:15:01 -0400 Jason Tishler wrote:
> > The following (untested and ugly) workaround should work:
> > [snip]
>
> when ever I try the following I get the subsequent error.
> 
> I have set the user 'dani' to be a member of Users, Power Users, and
> Administrators (I did this progressively trying to install fetchmail
> at each every change).
> 
> cygrunsrv --install "fetchmail for dani" --path /usr/bin/fetchmail --env HOME=/home/dani --user "GATEWAY\\dani" --args '--daemon 300 --nodetach' --shutdown
> cygrunsrv: Error installing a service: OpenSCManager:  Win32 error 5:
> Access is denied.
> 
> Do you have any ideas?

Is the account that is executing the above cygrunsrv command a member of
the local Administrators group?  If not, then that would explain the
"Access is denied" error.  If so, then I have no idea why cygrunsrv is
failing for you.

BTW, the dani account must have the "Log on as a service" user right in
order for the service to successfully start.  I forgot to add this to my
README.  I have just updated the README which can be found at:

    http://www.tishler.net/jason/software/fetchmail/fetchmail-5.9.13.README

Now back to my workaround.  My suggestion was to just install fetchmail
as a service multiple times -- once for each user.  This is just
temporary until I finish porting the setuid aspects of fetchmail to
Cygwin.  However, you will have to determine why you can't install
fetchmail as a NT service for a single user, before you can attempt to
use this workaround.

Jason

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]