public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* ftpd 'F_SETOWN: invalid argument'.  sshd works though.
@ 2001-02-09  2:56 Seth Delackner
  2001-02-09 10:49 ` Seth Delackner
  0 siblings, 1 reply; 2+ messages in thread
From: Seth Delackner @ 2001-02-09  2:56 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ftpd 'F_SETOWN: invalid argument'.  sshd works though.
  2001-02-09  2:56 ftpd 'F_SETOWN: invalid argument'. sshd works though Seth Delackner
@ 2001-02-09 10:49 ` Seth Delackner
  0 siblings, 0 replies; 2+ messages in thread
From: Seth Delackner @ 2001-02-09 10:49 UTC (permalink / raw)
  To: Seth Delackner; +Cc: cygwin

Needless to say, a single typo can ruin your whole day.

/etc/shells:

bin/bash
^
|----Missing slash!!!!


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-02-09 10:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-09  2:56 ftpd 'F_SETOWN: invalid argument'. sshd works though Seth Delackner
2001-02-09 10:49 ` Seth Delackner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).