delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/25/21:59:32

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 21:59:21 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: George Njoku <gnjoku AT pegasus DOT rutgers DOT edu>
cc: cygwin AT cygwin DOT com
Subject: RE: ftp: can't set gid
In-Reply-To: <000001c35317$57fdcd30$0401a8c0@vaio>
Message-ID: <Pine.GSO.4.44.0307252153420.26427-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

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 AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of
> Igor Pechtchanski
> Sent: Friday, July 25, 2003 7:14 PM
> To: Menon, Girish (MED, WIPRO-GE MED)
> Cc: cygwin AT cygwin DOT 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 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019