delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/03/21/00:05:33

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:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=qgs33iltfQ7B9F1E
xcny6zwORWN4RkWJKAM1idcMjfKRBkvfhNhdRM6wGbBbczUumLu/E2HBVk/rpsMR
8sbHox8bYsvyfqibH2S7YzXLC62+aBzjKeCn2ibUzHMj9qH3RVPG3Q+TIpYUQujX
Y8Xiz3ZWxV4NRzeSjQSFfy6+fjg=
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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=iKKxqBiXlp74gupqQbLdi/
VYH9s=; b=nRRxXS0f814ukZgTqmvISFMVeAcVNDoiWBkzEsJ/GhF2cEk/aP60cg
vBnanmmCWXYtjvUywcalU5ahn3fEEQ0UP129jGgoSVKP34PMShdJOc9Io3KMKLgw
8dArOgjFlCWpG4VwIpn0W7b3Ef5QFeDJ9yJAHNdEs+wjCXFNVrGAA=
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: Yes, score=6.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_BODY_URIBL_PCCC,KAM_FROM_URIBL_PCCC,KAM_THEBAT,SPAM_BODY1,SPF_SOFTFAIL autolearn=spam version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Sat, 21 Mar 2015 06:57:14 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <186391325.20150321065714@yandex.ru>
To: Mirko Vukovic <mirko DOT vukovic AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: mintty startup message: /sbin/nologin: No such file or directory
In-Reply-To: <CAO73BABq1D5fUhJYcdc1J5-gP_0NRu3Z5LBcR6NKPbk0bpuc2g@mail.gmail.com>
References: <CAO73BABq1D5fUhJYcdc1J5-gP_0NRu3Z5LBcR6NKPbk0bpuc2g AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Mirko Vukovic!

> after upgrading cygwin64 on my company laptop, mintty gives the following
> message *when connected to the network from home*:

Does that mean you're logged into your work domain?

> /sbin/nologin: No such file or directory

> Pressing enter closes the window.

This screams of the Cygwin schema applied to your AD at work, but incorrectly
recognized at home.

> I can start bash from Windows' command window.  From there, I see that there
> is no /sbin/nologin file, heck there is no /sbin either.

> A couple of data points:
> - After the upgrade, I renamed away the /etc passwd and group files.
> - I was able to open mintty while connect to the network at work

Did you do any changes to the /etc/nsswitch.conf ?
What running 'getent passwd' yield about your user when you are connected and
not connected to the network?

> I have an almost identical setup on my other windows 7 desktop (always
> connected to the network) that does not exhibit this problem.

> I saw some posts from 2011 about creating my own file but I am puzzled
> as to why I see this on my laptop and not on my desktop.

> I looked in Windows logs and saw nothing.  I saw nothing in /var/log


--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 21.03.2015, <06:53>

Sorry for my terrible english...


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