This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: group name problem
- From: "Pierre A. Humblet" <pierre dot humblet at ieee dot org>
- To: cygwin at cygwin dot com
- Cc: kitz at mit dot edu
- Date: Thu, 30 Sep 2004 22:34:25 -0400
- Subject: Re: group name problem
- References: <loom.20041001T001036-979@post.gmane.org>
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@walz-bemaster ~
> $ id dnr
> uid=1004(dnr) gid=1006(Limited SSHD users) groups=1006(Limited SSHD users)
>
> However, when I ssh in to dnr@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@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/