delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/03/11/08:47:29

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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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: <CACoZoo21tHaXren41wFqmQMWU-cu6d9qyJGdQ5yBUr32eQkLxw@mail.gmail.com>
References: <CA+KYG0H60fK7MFBgAtcmgGWk2yL4_TvUT0r+XtUACgskZ31QtQ AT mail DOT gmail DOT com> <14810543544 DOT 20160311022206 AT yandex DOT ru> <CACoZoo21tHaXren41wFqmQMWU-cu6d9qyJGdQ5yBUr32eQkLxw AT mail DOT gmail DOT com>
Date: Fri, 11 Mar 2016 08:47:07 -0500
Message-ID: <CA+KYG0EA4ESECS+rU8iCBoi=OEuLjRF85UsoAh+KpRuSfwzaSQ@mail.gmail.com>
Subject: Re: passwd -R?
From: Alex P <student00x AT gmail DOT com>
To: Erik Soderquist <ErikSoderquist AT gmail DOT com>, cygwin AT cygwin DOT com

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
<ErikSoderquist AT gmail DOT com> wrote:
> On Thu, Mar 10, 2016 at 6:22 PM, Andrey Repin <anrdaemon AT yandex DOT ru> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019