X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; q=dns; s=default; b=V+ q6yJGdYu2OqVnvJUe8ZjSrjqafHfmqhIoSjjk7OAsyiPfsWY5e2S2IDtLGVBpH5Q fqqXpq0kX65uZ29M3209CSOx5uITs4Nq7W383ipyA5DHbfccEITpjOSvvfVWLFoD y7nX6HSZoLEqUBn3jBfZpLy0LPvOfgPwHxxRkNP7c= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; s=default; bh=R3xUWcAV IU3ON4XOqTGN13fUZ8M=; b=uzpVJXKstH4T1zAZAW+xmo76BN4bT3sT9wHR3YCj gCnXCx+cuX07hnQYG+IiQsUpcO2qMOb9TktfzqwyMUIsf6dfvg/nEihcKRwdebyG o7DG250EZNt9JIYtsFF9K3Gqns5ND7WbLKy0M4zvSmPEYcYs6KjEaPoFLYW+76ZT a+8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=4.4 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,LIKELY_SPAM_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=ErikSoderquist AT gmail DOT com, ErikSoderquistgmailcom, eriksoderquistgmailcom, eriksoderquist AT gmail DOT com X-HELO: mail-yk0-f176.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=q9Y5TR9JaPLpyYBLUXAcdFCLawr68Nd4a1r/8lqxIG0=; b=hnHNEoyOk3vqJ4EUpCrJ3D2h6gtEITMO6bqJgRWNmnuccI4I63SAGfQiT4khR3bbUz Vo8epKUDAdOVXuLFxgmv2UsmEq2wl5yTOTr1F50n8xhTkNWS0OvW7fvidVNE9yMNewOf /+TRq2zYvywSFyFql2+wNnQISTey9NPWmg50BLBM7A3WK6XJfaUPvod3QbvQwFgiAZZE iXZW8qbaagDSNrv9nH3hM/7XnhBh6GHkJqHbAtg38Bk7AUjXU4SG/ezXlsfhL63GWNLI GXziQInmnxGDWWuQNLl7i56P6HXQItp9T/L83mWEpcFj0/+4Th6E5oOMj1b+ARO5dd8R lw8g== X-Gm-Message-State: AD7BkJKL9G3FMp30fAPYD4wDunsZnKri5Z2aJ70TqRyVwOF8HD/CQ2vUtHUqJZ4SETHu47zfPDmGKcWOkbM+7w== MIME-Version: 1.0 X-Received: by 10.37.95.7 with SMTP id t7mr5173197ybb.82.1457704027385; Fri, 11 Mar 2016 05:47:07 -0800 (PST) In-Reply-To: References: <14810543544 DOT 20160311022206 AT yandex DOT ru> Date: Fri, 11 Mar 2016 08:47:07 -0500 Message-ID: Subject: Re: passwd -R? From: Alex P To: Erik Soderquist , cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 I do have cygserver running as "Local System". My original issue is that cron stopped working after domain user password reset. Stopped as - it worked fine before. My first stop was to reset password with "passwd -R", but it did not fix my cron problem - not running as user (member of local Administrators group - getting error in Event Viewer), not elevated ("As Administrator"). I suspect some security policies were modified (machine is part of domain), but I don't know what to check. Thanks for weighing in. AlexP. On Thu, Mar 10, 2016 at 7:11 PM, Erik Soderquist wrote: > On Thu, Mar 10, 2016 at 6:22 PM, Andrey Repin wrote: >> Greetings, Alex P! >> >>> How do I check that "passwd -R" worked correctly? >>> I get error messages in Event Viewer when I run it as user (vs "As >>> Administrator"). >> >> You must use it with elevated privileges. Else it wouldn't work at all. > > From https://cygwin.com/cygwin-ug-net/passwd.html > > "If normal, non-admin users should be allowed to enter their passwords > using passwd -R, it's required to run cygserver as a service under the > LocalSystem account before running passwd -R. This only affects > storing passwords. Using passwords in privileged processes does not > require cygserver to run." > > So without the cygserver running, 'passwd -R' is expected to fail > unless it is running in a privileged shell; if you want it to work > without a privileged shell, you have to have the cygserver running as > a service under the LocalSystem account. > > -- Erik -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple