Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sources.redhat.com/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Fri, 25 Jul 2003 19:14:10 -0400 (EDT) From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> Reply-To: cygwin AT cygwin DOT com To: "Menon, Girish (MED, WIPRO-GE MED)" <Girish DOT Menon AT med DOT ge DOT com> cc: cygwin AT cygwin DOT com Subject: Re: ftp: can't set gid In-Reply-To: <EF3C4DA34DEFD411AE6200A0C9F2A358DD225A@uswaumsx06medge.med.ge.com> Message-ID: <Pine.GSO.4.44.0307251912110.26427-100000@slinky.cs.nyu.edu> Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 25 Jul 2003, Menon, Girish (MED, WIPRO-GE MED) wrote: > Hi, > > While trying to telnet, it works. > > But when I try to ftp I get the following error > > insite> ftp localhost > Connected to gravel. > 220 gravel FTP server (GNU inetutils 1.3.2) ready. > Name (localhost:Administrator): insite > 331 Password required for insite. > Password: > 550 Can't set gid. > ftp: Login failed. > Remote system type is UNIX. > Using binary mode to transfer files. > insite> > > The /etc/passwd file is as follows: > > insite> cat /etc/passwd > Administrators:*:544:544:,S-1-5-32-544:: > insite:unused_by_nt/2000/xp:1051:544:InSite Interactive User > Account,U-GRAVEL\insite,S-1-5-21-1659004503-963894560-725345543-1051:/c/ > insite:/bin/bash > insite> > > The /etc/group file is as follows: > insite> cat /etc/group > Everyone:*:0:0:,S-1-1-0:: > SYSTEM:*:18:18:,S-1-5-18:: > Administrators:*:544:544:,S-1-5-32-544:: > Backup Operators:*:551:551:,S-1-5-32-551:: > Guests:*:546:546:,S-1-5-32-546:: > Power Users:*:547:547:,S-1-5-32-547:: > Replicator:*:552:552:,S-1-5-32-552:: > Users:*:545:545:,S-1-5-32-545:: > iip:*:1049:1049:,S-1-5-21-1659004503-963894560-725345543-1049:: > iipdist:*:1001:1001:,S-1-5-21-1659004503-963894560-725345543-1001:: > nobody:*:1050:1050:,S-1-5-21-1659004503-963894560-725345543-1050:: > insite> > > Moreover, when I run the command "id", I get the following. > insite> id > uid=400(Administrator) gid=401(mkpasswd) groups=401(mkpasswd) > insite> > > Any suggestions on how to fix this? I checked in the cygwin > mailing lists, but found no answer. > > Thanks > Girish Looks like your /etc/passwd is not up to date -- does it really only contain 2 entries? It's missing the "Administrator" entry (as opposed to "Administrators"). Compare it with the output of "mkpasswd -l". Also, check that you have "ntsec" turned on (no "nontsec" in your CYGWIN variable). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- 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/