X-Recipient: archive-cygwin@delorie.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:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=tT9sDSL/FjLbJuARlz1GPnpEcBBK8rbTySjlkETJCFiS5CHtG0yNL
	4/ZqBIVRUaqy/v5qcC/ySs+lHPQ9EpMjaFPwaV1tyoz1M+YjzFug4/YW0VRuZbFB
	BkNtgvjwvOy5bAO140qMGML39lnzsTFmDXgpLJcq1EeTvdteFpBxuM=
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:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=8XXN8fxYiVlUSegvIsJFaNd51TM=; b=Cof3fpO9k8SGHaI+tYFv1OIjBIPe
	HPaPdX7VrfthQfpZNufVkX8uIl6v5byiPD2eX/EsZEtirCSqrod6e2aOK9Y+e0cF
	BtQSJf2G0zdYStw6OZrH/8zEwg3RrRw4KyqHBLz7qlBcfdrK9fcv+KlCBuBpNOlF
	CX9TE15lojWUdWs=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.2 required=5.0 tests=AWL,BAYES_05 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 23 Mar 2015 20:38:42 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: update trouble 1.7.35
Message-ID: <20150323193842.GM3017@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <33EC3398272FBE47B64EE3B3E98F69A76C40CC25@DE011520.schaeffler.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;	protocol="application/pgp-signature"; boundary="81JctsDUVPekGcy+"
Content-Disposition: inline
In-Reply-To: <33EC3398272FBE47B64EE3B3E98F69A76C40CC25@DE011520.schaeffler.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

--81JctsDUVPekGcy+
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mar 23 16:39, Lemke, Michael  ST/HZA-ZSW wrote:
> I just upgraded my cygwin installation to 1.7.35 or what the latest is.
> After that I got an awful bash shell instead of my standard tcsh.  So=20
> I read up on that very long https://cygwin.com/cygwin-ug-net/ntsec.html=
=20
> manual (needs an executive version)

Feel free to contribute one.  My major concern was to get a complete
description in the documentation.  It's hard (for me) to condense this
to a shorter versions without knowing at all what people need and not
need.  Ultimatly there won't be a condensed version which matches
everybody's needs anyway.

> and came up with=20
>=20
> $ cat /etc/nswitch.conf
> passwd: files
> group: files

Try this instead:

  passwd: db
  group: db
  db_shell: /bin/tcsh

This should work for you without any passwd and group files, provided
you're the only user of your machine anyway.

> Now I can't start cygwin at all:
>=20
> This account is currently not available.
> /sbin/nologin: Exit 1

As outlined in https://cygwin.com/ml/cygwin/2015-03/msg00380.html
this is certainly not a desired result, so I'd like to see how
this occurs and how we can avoid this in the next Cygwin version.

So, *before* you make the above suggested change, can you please provide
the following information:

- In a CMD shell, cd to C:\cygwin{64}\bin, call the following two
  commands, and paste the output into your reply:

    getent passwd %USERNAME%
    id

- Please provide your /etc/passwd file content, or at least the
  passwd entry of your account.=20

> So how do I get my shell back without messing with the AD?  That's
> off limits here.

The https://cygwin.com/cygwin-ug-net/ntsec.html document explains
how not to mess with AD, if that's not desired.  See the above
suggestion.


Thanks and HTH,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--81JctsDUVPekGcy+
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJVEGvCAAoJEPU2Bp2uRE+g9oIP/1lA9CWGermVhQ/7eelCJnBn
SzvAy4e1xC1rTAMKXXmAU0zneAcex+e5ObSUYJY4gXObY7f/sGjRITmJC7cHv72r
RQwVUhmWGI54xmqR9jkfNeYlYOYRDxcXbe4V6iqvNYpXgPcmUQbsqOs0gT0U79Um
WWr0gMzjaLwjDiL4v/FBe7XB6W8w5uJqi2YbDx7FT9JaAfXsHv5reaO/of0jy4rR
4HAwZb4DwKrZ4BIygKCaTdfaOx5ebqMaeoFjbFbfDyxlj4DhK8M+85t9xYI9NoNk
FjZvTOhwOTF7vFDv8g2Ayv2R+5fYz5KHgz8Xs54DoZHqwVnNT6THipl+ynU4PUfx
mVrxNg4zHZsbzhw9NFukrdu4GDBVRzzxkFsSdBJ96YgRnZT2NbRt7EUDN7FCa0Si
DfVfM0BafUpkUGZrMwPFynpYpDwlCa6JnT0hLEwxuI7avx8uAsajz/s8P7L4idZ1
k6IGFq+1jpsdFDzH1pEeQcpP+0azVLG8gyd5JCFHclCYAZpyxaMlXlFJcbW+ilWn
+kN+9l3i935zZZL0He1bUjQR2mf4FHkCcaR/DPyNlqKQj9wKnpNHc7/xeWXKcbVD
1C7/+xW53TyMpxOa+WYbpYxlws5939742IoBJ8gklk4OJnYKd367DBOt3buAMArL
27CIuzzjbWEa5pGL/x1B
=2QIT
-----END PGP SIGNATURE-----

--81JctsDUVPekGcy+--
