delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/03/23/15:04:42

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=jJT1vVe3RpZSREpaHHftAgH2mEtMW02wnAJLowBtqwZ
BaKR3aEw6P5JUQdzblS8bFeKdCU6applPucyR8WxayHRi11dEgz0km4tz7iTBXkt
8jIQW6eS8igU4pUggBRFj5KH1v84WQGaLi+nEbWiPg1Zd9DNSlJovOmF5IqIRI3E
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=H3WU8sZPxpmg94AnBbGYTyORnW4=; b=iWZzdMY/708i5mxSx
AjN0rTwR4yI63DAP9a94rakUIikkdvyfjZ6WXMU/LjnWNTs/CYbQmFp0Ut/FXBRI
o/+l+plQJ/O02KfH1R38ffGGBCZqnXFVzAR9wB+t8qKcE+9/13vF+Mgwp/Kep3Ls
Bd+uRQ3Ibn940gJdC4vTNBsRVs=
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: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: Ishtar.hs.tlinx.org
Message-ID: <551063B0.8070108@tlinx.org>
Date: Mon, 23 Mar 2015 12:04:16 -0700
From: Linda Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: mintty startup message: /sbin/nologin: No such file or directory
References: <CAO73BABq1D5fUhJYcdc1J5-gP_0NRu3Z5LBcR6NKPbk0bpuc2g AT mail DOT gmail DOT com> <C9D37D92E903B347A31B9CF82643BA28074B1ED6 AT 046-CH1MPN1-042 DOT 046d DOT mgd DOT msft DOT net> <20150321164125 DOT GB15431 AT calimero DOT vinschen DOT de>
In-Reply-To: <20150321164125.GB15431@calimero.vinschen.de>
X-IsSubscribed: yes

Corinna Vinschen wrote:

> 
> As for /sbin/nologin itself, I'm not sure why I did that without
> providing an /sbin/nologin executable.  This is very clearly an oversight
> on my part.
> In theory it should be part of the util-linux package, but it isn't for
> some reason.  Yaakov, any idea why?  Is it a problem to add it?
---
	This works on a linux machine:

uuencode /bin/nologin </bin/nologin
begin 664 /bin/nologin
M(R$O8FEN+V)A<V@*96-H;R!4:&ES(&%C8V]U;G0@:7,@8W5R<F5N=&QY(&YO
5="!A=F%I;&%B;&4N"F5X:70@,0H*
`
end
---
(FYI: cat /bin/nologin:
#!/bin/sh
echo This account is currently not available.
exit 1

---
A binary version is listed as being in util-linux-2.23.2, FWIW.



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