This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: serious problem in current CVS
- From: "Richard Campbell" <richard dot campbell at air2web dot com>
- To: <cygwin at cygwin dot com>
- Date: Fri, 18 Mar 2005 15:38:06 -0500
- Subject: RE: serious problem in current CVS
> In case this is not already known, the current CVS has a serious
problem -- attempts to rsh or
> ssh in to a machine running a cygwin1.dll compiled from it fail with
an error message regarding
> a failed setgid() call.
If the user logging into the machine is listed in /etc/passwd with a
primary group not present
in /etc/group, yes. This is not new to the current CVS.
With openssh 3.9p1-2 and cygwin 1.5.12-1:
campbe_r@area51 $ cat /etc/passwd | grep campbe_r
campbe_r:unused_by_nt/2000/xp:11178:10513:Richard
Campbell,U-ATL\campbe_r,S-1-5-21-1060284298-1336601894-682003330-1178:/h
ome/campbe_r:/bin/bash
campbe_r@area51 $ cat /etc/group | grep 10513
Domain Users:S-1-5-21-1060284298-1336601894-682003330-513:10513:
campbe_r@area51 $ cat /etc/group | grep -v 10513 >/tmp/group2
campbe_r@area51 $ mv /tmp/group2 /etc/group
campbe_r@area51 $ ssh campbe_r@localhost
campbe_r@localhost's password:
Last login: Fri Mar 18 15:35:19 2005 from localhost
Fanfare!!!
You are successfully logged in to this server!!!
setgid: Invalid argument
Connection to localhost closed.
campbe_r@area51 $ mkgroup -l -d >/etc/group
campbe_r@area51 $ cat /etc/group | grep 10513
Domain Users:S-1-5-21-1060284298-1336601894-682003330-513:10513:
campbe_r@area51 $ ssh campbe_r@localhost
campbe_r@localhost's password:
Last login: Fri Mar 18 15:36:59 2005 from localhost
Fanfare!!!
You are successfully logged in to this server!!!
campbe_r@area51 $ logout
Connection to localhost closed.
campbe_r@area51 $
Summary: run mkgroup -l -d >/etc/group
-Richard Campbell.
--
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/