group name problem

Pierre A. Humblet pierre.humblet@ieee.org
Fri Oct 1 02:38:00 GMT 2004


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/



More information about the Cygwin mailing list