X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=3.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT X-Spam-Check-By: sourceware.org Date: Fri, 14 Oct 2011 14:04:40 +0400 From: Andrey Repin Reply-To: Andrey Repin Message-ID: <864630202.20111014140440@mtu-net.ru> To: Corinna Vinschen Subject: Re: Where is /bin/nologin In-Reply-To: <20111014083252.GB12878@calimero.vinschen.de> References: <32647652 DOT post AT talk DOT nabble DOT com> <20111013212001 DOT GB7035 AT jethro DOT local DOT lan> <32649084 DOT post AT talk DOT nabble DOT com> <20111014083252 DOT GB12878 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Greetings, Corinna Vinschen! > Or what about creating your own /sbin/nologin, something like this: > $ cat > /sbin/nologin < #!/bin/sh > if [ -f /etc/nologin.txt ] > then > cat /etc/nologin.txt > else > echo "This account is currently not available." > fi > exit 0 > EOF > $ chmod +x /sbin/nologin I would advice against giving any clues about account status, for security reasons. -- WBR, Andrey Repin (anrdaemon AT freemail DOT ru) 14.10.2011, <14:03> 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