anonymous ftp

From: Tom Linden <tom_at_kednos.com>
Date: Tue, 01 May 2001 07:17:27 -0700

I am running 4.0d and I was setting up ftp access using the recommendations
in the man page on ftpd, wrt ownership and premissions. but when I try it,
I get the following:


D:\>ftp thor
Connected to thor.
220 thor.kednos.com FTP server (Digital UNIX Version 5.60) ready.
User (thor:(none)): anonymous
331 Guest login ok, send ident as password.
Password:
530 Login incorrect.
Login failed.
ftp>

For passwd I put in an email address, but I think you can put in anything.

thor/tom 259 > ls -al
total 13
drwxr-xr-x 7 root guest 512 Apr 30 19:31 ./
drwxr-x--- 10 root uniprise 512 Jul 7 1999 ../
-rwxrwxr-x 1 ftp guest 1499 Dec 29 1997 .cshrc*
-rwxrwxr-x 1 ftp guest 1668 Dec 29 1997 .login*
-rwxrwxr-x 1 ftp guest 1606 Dec 29 1997 .profile*
drwxr-xr-x 2 ftp guest 512 Jan 23 2000 .tmp/
drwxr-xr-x 2 root guest 512 Apr 30 19:20 bin/
drwxr-xr-x 2 root guest 512 Apr 30 19:23 etc/
drwxrwxr-x 2 root guest 512 Apr 30 19:31 misc/
drwxrwxrwx 6 ftp guest 512 Apr 30 19:28 pub/
thor/tom 260 > pwd
/usr/users/ftp

thor/ROOT 266 > grep ftp /etc/passwd
ftp::206:35::/usr/users/ftp:/bin/sh

thor/ROOT 268 > grep ftp /etc/group
guest:*:35:ftp,tom

Now if I change permission of .. (i.e. /usr/users ) to 751 it works, but
then this gives too broad access because now I can telnet to the machine as
user, ftp, and move around.

TIA
Tom
Received on Tue May 01 2001 - 14:18:35 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT