delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/19/05:30:06

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <8634c8c70707190212w23b26266y148c67b806292433 AT mail DOT gmail DOT com>
Subject: RE: mkpasswd question
Date: Thu, 19 Jul 2007 10:29:43 +0100
Message-ID: <004201c7c9e7$571a05a0$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <8634c8c70707190212w23b26266y148c67b806292433@mail.gmail.com>
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

On 19 July 2007 10:13, Daniel M wrote:

> Hi,
> 
> I'd like to create /etc/passwd only from a certain group in the domain,
> that way only that group will have ssh access.
> is that possible?


  Add all the allowed users to a (newly created) regular windows group in the
windows user account UI.  Call it ssh_users or something.  Update your
/etc/groups, and look up the "AllowGroups" option in "info sshd_config".

  (Untested, but it ought to do what you want).

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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