Re: anonymous ftp

From: Arthur Taylor <Arthur.Taylor_at_**********.***>
Date: Tue Dec 04 2001 - 12:59:35 EST

> > Maybe I didn't initialize the anonymous ftp stuff correctly... according to
> > man ftpd, I need:
> > 1) a ftp account in /etc/passwd. <check>
> > 2) not ftp or anonymous in /etc/ftpuser <check>
> > 3) user must have a standard shell <check> (using /bin/bash)
> >
> > Am I missing something?
> >
> > I did add a directory /home/ftp owned by SYSTEM, group SYSTEM
>
> Hmm. If you run the daemon with -d -d parameters, do you get more
> information as to why it's not working. (Stop running it as a service;
> run ftpd -d -d in a bash shell, From somewhere else, run ftp )
>
> Another useful tool in the cygwin environment is strace
> strace ftpd -d -d
> should produce reams of output. If you can read source, you
> will find this useful, as it will print out the system calls
> as it makes them.
>
> Does stopping and restarting the service make any difference to
> it's behaviour. (I had one case where sshd would not work if started
> too soon. Restarting it after boot made the problem go away.)

Turned out to be much simpler than all this...

The win 2K ftp user has to have a specific password. If you had to pick a
password for ftp what would you pick? Answer: ""

----------------

New Question:

mkpasswd is not working correctly. It works fine for the local domain, but not
for the one most users are part of. I have figured out how to detect the user's
ID number, which means that I can add that part to /etc/passwd manually. The only
problem is that if I try to ssh in as that user, it can't resolve stuff. So I
need the SID of the other Domain.

Any ideas as to how to find out the SID of the domains you are part of?

Arthur

--
List Information: http://tech.erdelynet.com/maillist-ssh-l.asp
List Archives:    http://erdelynet.com/archive/ssh-l/
Received on Tue Dec 4 13:03:08 2001

This archive was generated by hypermail 2.1.8 : Fri Jul 29 2005 - 17:33:31 EDT