delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/08/16/16:47:54

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:date:message-id:from:reply-to:to:subject
:references:in-reply-to:content-type; q=dns; s=default; b=uDfqcD
QC5fEu1GmXrH8LTnViDzz1H4jN5Ooc/Y1t4JobcoV5yNIewIwpQD4nSlW2IGiBpe
iMyJd4tMVmRZKKj6O+2pJ1qIKrsE0EPV+qgLcjMLEszFXOYkJ1m38e+tvuGB9yHK
kaCvsTlUMrS1yb2GDskuOqdYx3HZT4GlJmZss=
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:date:message-id:from:reply-to:to:subject
:references:in-reply-to:content-type; s=default; bh=gJZwLujjup9L
8svbBn2j8Ax+MM4=; b=X/WFpqs/RVJ310PRP+3EEiGnlNuUU3ay9X5BkHsiMZTx
DeZYn7OWUSMOoeJmySQrTl6gLIlPnq9KhQlTr3Zd5REsrPnh9t6oFj5NlB6UE/nP
tDDJcmgu+dQVAC8hwVDndsjqCRa9t2zxQYajLwTeFonYhPNr1n76w6yymXrnb8w=
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-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammy=interactive
X-HELO: lb3-smtp-cloud7.xs4all.net
Date: Fri, 16 Aug 2019 22:46:56 +0200
Message-ID: <4c35f87b7ff04103a9a865fb5af60d66@smtp-cloud7.xs4all.net>
From: Houder <houder AT xs4all DOT nl>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: Win7 system update hosed something in Cygwin
References: <CAA5t8VocmswTXD4Y7QLxe1NkbZ0Jj+Nt40dFXjHF+9cTP8zW3A AT mail DOT gmail DOT com> <0b92f093cce0c8b0f1b43c9ed6dabac9 AT smtp-cloud8 DOT xs4all DOT net> <CAA5t8VqBgrOwWN6KJyqm+72wtWDu8QY=t3F5kHKEODH-qVHiJQ AT mail DOT gmail DOT com> <177b39dbb95fb07000da6880d83c1db1 AT smtp-cloud9 DOT xs4all DOT net> <CAA5t8VrGhT+5uoOSheci9Su0g7m4KPCCMwbnD2ugzeUxnndd0Q AT mail DOT gmail DOT com>
In-Reply-to: <CAA5t8VrGhT+5uoOSheci9Su0g7m4KPCCMwbnD2ugzeUxnndd0Q@mail.gmail.com>
User-Agent: mua.awk 0.99

On Fri, 16 Aug 2019 11:43:22, David Karr  wrote:
> On Fri, Aug 16, 2019 at 7:58 AM Houder wrote:
> 
> > On Fri, 16 Aug 2019 06:40:28, David Karr  wrote:
[snip]

> > > Any other ideas?
> >
> >  1. cygcheck -srv? (include the compressed output to your reply)
> >
> >  2. getent passwd? (what home directory for your id?)
> >
> 
> The first line of this output is this (with some minor elisions):
> 
> <mydomain>+User(1944941):*:2993517:2993517:U-<mydomain>\User(1944941),S-1-5-21-2057499049-1289676208-1959431660-1944941:/:/sbin/nologin

Really? /sbin/nologin for "shell" ?????

grepping winsup/cygwin/* for "/sbin/nologin"

results in

2777     __small_sprintf (linebuf, "%W:%s:%u:",
2778                      posix_name, sid.string ((char *) sidstr), uid);
2779   /* For non-users, create a passwd entry which doesn't allow interactive
2780      logon.  Unless it's the SYSTEM account.  This conveniently allows to
2781      logon interactively as SYSTEM for debugging purposes. */
2782   else if (acc_type != SidTypeUser && sid != well_known_system_sid)
2783     __small_sprintf (linebuf, "%W:*:%u:%u:U-%W\\%W,%s:/:/sbin/nologin",
2784                      posix_name, uid, gid,
2785                      dom, name,
2786                      sid.string ((char *) sidstr));
2787   else

(pwdgrp::fetch_account_from_windows() in uinfo.cc)

Mmmh, ... I think you will need advice from Corinna ... (IF I am correct!).

Henri


--
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