delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/30/22:39:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Thu, 30 Sep 2004 22:34:25 -0400
From: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>
To: cygwin AT cygwin DOT com
Cc: kitz AT mit DOT edu
Subject: Re: group name problem
Message-ID: <20041001023425.GA540069@hpn5170>
References: <loom DOT 20041001T001036-979 AT post DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <loom.20041001T001036-979@post.gmane.org>
User-Agent: Mutt/1.4.1i

On Thu, Sep 30, 2004 at 10:16:46PM +0000, Jacob Kitzman wrote:
> Hi,
> 
> This cygwin stuff is pretty slick!  I'm hitting one snag, though, as I am trying
> to setup sshd for remote access by limited users.
> 
> I've made a user "dnr" which is a member of the group "Limited SSHD users" (gid
> 1006).  After mkpasswd -l and mkgroup -l'ing, I've manually set the gid of user
> dnr to 1006 in /etc/passwd.  Running as Administrator, id yields the expected
> result:
> 
> Administrator AT walz-bemaster ~
> $ id dnr
> uid=1004(dnr) gid=1006(Limited SSHD users) groups=1006(Limited SSHD users)
> 
> However, when I ssh in to dnr AT localhost, cygwin doesn't seem to be able to find
> a group with gid 1006.  (And I get the message upon login that your group is
> currently "mkgroup")
> 
> dnr AT walz-bemaster ~
> $ id dnr
> uid=1004(dnr) gid=1006(mkgroup) groups=1006(mkgroup)
> 
> Is there some local policy I need to set for the group "Limited SSHD users"? 
> Any ideas for a workaround?

What are the permissions of /etc/group ?

Pierre

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