From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6929 invoked by alias); 14 Oct 2011 10:05:17 -0000 Received: (qmail 6918 invoked by uid 22791); 14 Oct 2011 10:05:15 -0000 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 Received: from mr0.ht-systems.ru (HELO mr0.ht-systems.ru) (78.110.50.55) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 14 Oct 2011 10:05:01 +0000 Received: from [91.76.225.169] (helo=darkdragon.lan) by mr0.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1REedN-0007ge-4e for cygwin@cygwin.com; Fri, 14 Oct 2011 14:04:57 +0400 Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Fri, 14 Oct 2011 10:04:40 -0000 Date: Fri, 14 Oct 2011 10:05:00 -0000 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.post@talk.nabble.com> <20111013212001.GB7035@jethro.local.lan> <32649084.post@talk.nabble.com> <20111014083252.GB12878@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-10/txt/msg00248.txt.bz2 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@freemail.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