This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: mintty startup message: /sbin/nologin: No such file or directory
- From: Linda Walsh <cygwin at tlinx dot org>
- To: cygwin at cygwin dot com
- Date: Mon, 23 Mar 2015 12:04:16 -0700
- Subject: Re: mintty startup message: /sbin/nologin: No such file or directory
- Authentication-results: sourceware.org; auth=none
- 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>
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