This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: ftp: can't set gid


I'm not sure I'm replying to the same person (with the same problem), but
if I am:
The UID/GID values of 400/401 are used by Cygwin when the current user's
name or SID cannot be found in /etc/passwd.  Since id tells you that you
log in as "Administrator", you must have that entry in /etc/passwd to be
able to use that login in telnet.

As for not being able to log in as "insite", are you able to log in into
Windows with that name?  BTW, from the presence of SIDs I'm assuming
you're running an NT/2k/XP system.
	Igor
P.S. You could try checking whether sshd works, too...

On Fri, 25 Jul 2003, George Njoku wrote:

> I did a cat /etc/passwd
> And my gid isn't the same as that of Administrator or Administrators
> And I do have the same priveledges as admin.
>
> Ps : I install so that only I can use cygwin.
>
> George
>
> -----Original Message-----
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf Of
> Igor Pechtchanski
> Sent: Friday, July 25, 2003 7:14 PM
> To: Menon, Girish (MED, WIPRO-GE MED)
> Cc: cygwin@cygwin.com
> Subject: Re: ftp: can't set gid
>
> 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]