public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
To: Cygwin List <cygwin@cygwin.com>, cygwin@cygwin.com
Subject: Re: fetchmail pops up console windows
Date: Tue, 13 Jan 2009 22:21:00 -0000	[thread overview]
Message-ID: <496D11EB.8050704@cygwin.com> (raw)
In-Reply-To: <20090113220427.GA2344@KCJs-Computer>

Gary Johnson wrote:
> On 2009-01-13, Jason Tishler wrote:
>> Gary,
>>
>> On Tue, Jan 13, 2009 at 09:55:36AM -0800, Gary Johnson wrote:
>>> On 2009-01-13, Jason Tishler wrote:
>>>> FWIW, I don't have this problem when running fetchmail as a service.
>>> I saw that in an earlier post and tried to follow the instructions in
>>> /usr/share/doc/Cygwin/fetchmail-6.3.9.README, but I get this result:
>>>
>>> [snip]
>>>
>>>     $ cygrunsrv -S fetchmail
>>>     cygrunsrv: Error starting a service: StartService:  Win32 error 1069:
>>>     The service did not start due to a logon failure.
>>>
>>> I have both cron and sshd running as services, so that much works,
>>> but they may be running as the system user (whatever it's called).
>>> I don't know how to diagnose this sort of failure.
>> Did you heed the following from the README?
>>
>>     o the $USERDOMAIN\\$USERNAME account must have the "Log on as a
>>       service" user right for Cygwin fetchmail to start as a NT service
> 
> I heeded it in the sense that I read it and understood that it might
> be the problem.  I did go searching in the Control Panel for likely
> utilities, but I couldn't find anything in User Accounts or anywhere
> else that would let me set user rights or that even told me what
> they were.  I did not search Windows Help and Support.  That sort of
> cluelessness was meant to be implicit in the statement, "I don't
> know how to diagnose this sort of failure," but I suppose I should
> have been more clear.
> 
> So how does one set that right?

'/usr/share/csih/cygwin-service-installation-helper.sh' has this:

editrights -u "${user}" -t SeServiceLogonRight

Try that, substituting the appropriate user for your situation and
Windows version.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

  reply	other threads:[~2009-01-13 22:15 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-22 14:38 Dr. Volker Zell
2008-02-22 15:03 ` Corinna Vinschen
2008-02-22 18:03   ` Christopher Faylor
2009-01-13  7:36 ` Gary Johnson
2009-01-13 15:10   ` Jason Tishler
2009-01-13 18:25     ` Gary Johnson
2009-01-13 19:51       ` Jason Tishler
2009-01-13 22:15         ` Gary Johnson
2009-01-13 22:21           ` Larry Hall (Cygwin) [this message]
2009-01-14  2:36             ` Gary Johnson
2009-01-14 16:55           ` Jason Tishler
2009-01-14 18:05             ` Gary Johnson
2009-01-14 18:31               ` Jason Tishler
2009-01-13 17:02   ` Buchbinder, Barry (NIH/NIAID) [E]
2009-01-13 18:45   ` Dr. Volker Zell
2009-01-14  0:49     ` Gary Johnson
2009-01-14  1:37       ` Gary Johnson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=496D11EB.8050704@cygwin.com \
    --to=reply-to-list-only-lh@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).