delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/10/13/14:37:44

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <32647652.post@talk.nabble.com>
Date: Thu, 13 Oct 2011 11:37:19 -0700 (PDT)
From: gwodus <gwodusx AT xsmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Where is /bin/nologin
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

I am missing /bin/nologin. 

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 ...). 

On Linux I would set the login shell in /etc/passed to /sbin/nologin. But I
can't find it on cygwin.

Is there a certain cygwin package I need to install?

Thanks in advance, 
gwodus.
-- 
View this message in context: http://old.nabble.com/Where-is--bin-nologin-tp32647652p32647652.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019