From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21058 invoked by alias); 13 Oct 2011 21:20:23 -0000 Received: (qmail 21030 invoked by uid 22791); 13 Oct 2011 21:20:21 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-wy0-f171.google.com (HELO mail-wy0-f171.google.com) (74.125.82.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 13 Oct 2011 21:20:06 +0000 Received: by wyh13 with SMTP id 13so2919531wyh.2 for ; Thu, 13 Oct 2011 14:20:05 -0700 (PDT) Received: by 10.227.25.197 with SMTP id a5mr1916915wbc.71.1318540805070; Thu, 13 Oct 2011 14:20:05 -0700 (PDT) Received: from localhost (218.Red-79-153-5.dynamicIP.rima-tde.net. [79.153.5.218]) by mx.google.com with ESMTPS id g20sm9356788wbp.13.2011.10.13.14.20.03 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 13 Oct 2011 14:20:04 -0700 (PDT) Date: Thu, 13 Oct 2011 21:20:00 -0000 From: David Sastre To: cygwin@cygwin.com Subject: Re: Where is /bin/nologin Message-ID: <20111013212001.GB7035@jethro.local.lan> References: <32647652.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="MW5yreqqjyrRcusr" Content-Disposition: inline In-Reply-To: <32647652.post@talk.nabble.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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/msg00231.txt.bz2 --MW5yreqqjyrRcusr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 580 On Thu, Oct 13, 2011 at 11:37:19AM -0700, gwodus wrote: >=20 > I am missing /bin/nologin.=20 >=20 > I need to disable shell access for a user. But it still needs to be able = to > accept ssh connects for tunnel only for that user (ssh -N ...).=20 >=20 > On Linux I would set the login shell in /etc/passed to /sbin/nologin. But= I > can't find it on cygwin. >=20 > Is there a certain cygwin package I need to install? >=20 > Thanks in advance,=20 > gwodus. Does /bin/false serve that purpose? --=20 Huella de clave primaria: AD8F BDC0 5A2C FD5F A179 60E7 F79B AB04 5299 EC56 --MW5yreqqjyrRcusr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline Content-length: 230 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EAREIAAYFAk6XVgEACgkQ95urBFKZ7FYzXwD9Eaw+E23/goHl5+WmcyHno4oL 9tCNiou3pGQGzRy9oIMA/im3KHILSvxU1vqZrfWzTjz1oe8cYI80+9WZcQyqhKg3 =wnEw -----END PGP SIGNATURE----- --MW5yreqqjyrRcusr--