delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/30/18:31:05

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
To: cygwin AT cygwin DOT com
From: Jacob Kitzman <kitz AT mit DOT edu>
Subject: group name problem
Date: Thu, 30 Sep 2004 22:16:46 +0000 (UTC)
Lines: 28
Message-ID: <loom.20041001T001036-979@post.gmane.org>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: main.gmane.org
User-Agent: Loom/3.14 (http://gmane.org/)
X-Loom-IP: 66.188.85.217 (Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10)
X-IsSubscribed: yes

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?

Thanks a bunch!

Jacob Kitzman


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