public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: Mirko Vukovic <mirko.vukovic@gmail.com>, cygwin@cygwin.com
Subject: Re: mintty startup message: /sbin/nologin: No such file or directory
Date: Sat, 21 Mar 2015 06:45:00 -0000	[thread overview]
Message-ID: <186391325.20150321065714@yandex.ru> (raw)
In-Reply-To: <CAO73BABq1D5fUhJYcdc1J5-gP_0NRu3Z5LBcR6NKPbk0bpuc2g@mail.gmail.com>

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@yandex.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

  reply	other threads:[~2015-03-21  4:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-21  4:05 Mirko Vukovic
2015-03-21  6:45 ` Andrey Repin [this message]
2015-03-21 16:41 ` Habermann, David (D)
2015-03-21 16:47   ` Corinna Vinschen
2015-03-23  7:40     ` Habermann, David (D)
2015-03-23 19:17     ` Linda Walsh
2015-03-21 20:03 ` Corinna Vinschen

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=186391325.20150321065714@yandex.ru \
    --to=anrdaemon@yandex.ru \
    --cc=cygwin@cygwin.com \
    --cc=mirko.vukovic@gmail.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).