delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
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 |
Date: | Thu, 13 Oct 2011 23:20:01 +0200 |
From: | David Sastre <d DOT sastre DOT medina AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Where is /bin/nologin |
Message-ID: | <20111013212001.GB7035@jethro.local.lan> |
References: | <32647652 DOT post AT talk DOT nabble DOT com> |
MIME-Version: | 1.0 |
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 AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
--MW5yreqqjyrRcusr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EAREIAAYFAk6XVgEACgkQ95urBFKZ7FYzXwD9Eaw+E23/goHl5+WmcyHno4oL 9tCNiou3pGQGzRy9oIMA/im3KHILSvxU1vqZrfWzTjz1oe8cYI80+9WZcQyqhKg3 =wnEw -----END PGP SIGNATURE----- --MW5yreqqjyrRcusr--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |