public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Houder <houder@xs4all.nl>
To: cygwin@cygwin.com
Subject: Re: Win7 system update hosed something in Cygwin
Date: Fri, 16 Aug 2019 21:01:00 -0000	[thread overview]
Message-ID: <4c35f87b7ff04103a9a865fb5af60d66@smtp-cloud7.xs4all.net> (raw)
In-Reply-To: <CAA5t8VrGhT+5uoOSheci9Su0g7m4KPCCMwbnD2ugzeUxnndd0Q@mail.gmail.com>

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

  reply	other threads:[~2019-08-16 20:47 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-16  1:28 David Karr
2019-08-16  9:01 ` Houder
2019-08-16 14:48   ` David Karr
2019-08-16 15:16     ` Houder
2019-08-16 18:31       ` Houder
2019-08-16 18:47         ` David Karr
2019-08-16 18:45       ` David Karr
2019-08-16 21:01         ` Houder [this message]
2019-08-16 21:46         ` Andrey Repin
2019-08-16 22:33           ` David Karr
2019-08-16 21:20 ` L A Walsh
2019-08-17  1:23   ` David Karr
2019-08-17  5:31     ` David Karr
2019-08-18  6:04       ` L A Walsh
2019-08-17  7:11   ` Achim Gratz
2019-08-19 12:34   ` Andrey Repin
2019-08-20 18:02     ` Win7 update may create confusing Cygwin changes L A Walsh

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=4c35f87b7ff04103a9a865fb5af60d66@smtp-cloud7.xs4all.net \
    --to=houder@xs4all.nl \
    --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).