This is the mail archive of the
mailing list for the Cygwin project.
Re: Multiple users in fetchmail
- From: "Jim.George" <jim dot george at blueyonder dot co dot uk>
- To: cygwin at cygwin dot com
- Date: Tue, 13 Aug 2002 22:22:48 +0100
- Subject: Re: Multiple users in fetchmail
- Reply-to: jim dot george at blueyonder dot co dot uk
On Tue, 13 Aug 2002, Jason Tishler wrote:
> 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:
> 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.
the user dani is a member of Administrators.
She is in-fact the second user that I'm trying to run ther service
for, the first being Administrator.
How do I grant the 'logon as service' right to the user dani?
Thanks for your continued help.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html