Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 13 Aug 2002 22:22:48 +0100 From: "Jim.George" X-X-Sender: Administrator AT gateway DOT george DOT co DOT uk Reply-To: jim DOT george AT blueyonder DOT co DOT uk To: cygwin AT cygwin DOT com Subject: Re: Multiple users in fetchmail In-Reply-To: <20020813112050.GB2548@tishler.net> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" On Tue, 13 Aug 2002, Jason Tishler wrote: > 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 Jason, 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. Jim -- 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/