ftp: can't set gid

Igor Pechtchanski pechtcha@cs.nyu.edu
Sat Jul 26 01:59:00 GMT 2003


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/



More information about the Cygwin mailing list