delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/09/05:57:30

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Fri, 9 Feb 2001 02:56:30 -0800
From: Seth Delackner <seth AT jtan DOT com>
To: cygwin AT cygwin DOT com
Subject: ftpd 'F_SETOWN: invalid argument'. sshd works though.
Message-ID: <20010209025630.A19935@io.jtan.com>
Mime-Version: 1.0
User-Agent: Mutt/1.2i

I've pored over the inetd readme, the login readme, and all the mailing list logs with any mention of 'ftpd' and 'login'.

I have inetd installed and running via the Administrator account, with all the required permissions.  sshd works quite happily this way.  This is all under win2k I should mention.

ftpd says:

User username access denied.
Login failed.

immediately after I enter any login name at all.

I used mkpasswd -l > /etc/passwd.
I did iu-config and ensured that /etc/passwd looks like:

Everyone:*:0:0:,S-1-1-0::
SYSTEM:*:18:18:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Administrator::500:513:,S-1-5-21-XXX-YYY-ZZZ-500::/usr/bin/bash
seth1::1000:513:Seth,S-1-5-21-XXX-YYY-ZZZ-1000:/home/seth1:/usr/bin/bash

shells has lines for every shell available, starting with /usr/bin/bash, which is why ssh happily works.

No, I checked and re-wrote my passwd file in vim using 'set ff=unix' to ensure no dos line brakes.  CYGWIN is 'ntsec tty'.

I'm going mad here!  Something that might help: This all started when I first installed ftpd and noticed that any user could login and get rwx on /.  So I opened the hard drive's permissions property page and removed the 'Everyone' group from having any access to the drive.  this killed inetd, because it reset all my permissions and ownerships.  Even now, if I try to run inetd as LocalSystem instead of as Administrator (with all the required privileges) no matter what user I chown /etc/* to, sshd can't read its files.  But I'm happy with sshd working using Administrator and /etc/* owned by administrator, that works...

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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