Subject: Guest Account's Problems

From: "Maxim V. Tulyuk" <[email-masked]>
Date: Wed, 10 Feb 1999 19:35:53 +0200

Hi All
I set this configurations:

uname -r -s
FreeBSD 2.2-971129-SNAP

/etc/passwd:
ftptest:*:1009:1008:Test WU FTP:/var/virtualweb/test/./:/ftponly

/etc/group:
ftpusers:*:1008:ftptest

ls -l /var/virtualweb/test/(~/):
d--x--x--x  2 root  daemon      512 10 ЖЕЧ 18:15 bin/
d--x--x--x  2 root  daemon      512 10 ЖЕЧ 18:34 etc/

ls -l /var/virtualweb/test/bin(~bin):
---x--x--x  1 root  bin  155648 10 ЖЕЧ 18:15 ls*

ls -l /var/virtualweb/test/etc(~etc):
-r--r--r--  1 root  daemon   40 10 ЖЕЧ 18:43 group
-r--r--r--  1 root  daemon  175 10 ЖЕЧ 18:33 passwd

cat /var/virtualweb/test/etc/passwd(~etc/passwd):
root:*:0:0::/:/etc/ftponly
ftptest:*:1009:1008::/var/virtualweb/test/./:/etc/ftponly

cat /var/virtualweb/test/etc/group(~etc/group):
root::0:root
ftpusers::1008:ftptest

cat /usr/local/etc/ftpaccess:
class   local   real,guest,anonymous *.domain 0.0.0.0
class   remote  real,guest,anonymous *

# specify which group of users will be treated as "guests".
guestgroup ftpusers

But if I connect to the machine via FTP and login as "ftptest":
> pwd
/var/virtualweb/test/
>ls
d--x--x--x  2 root  daemon      512 10 ЖЕЧ 18:15 bin/
d--x--x--x  2 root  daemon      512 10 ЖЕЧ 18:34 etc/
>cd /
>ls
show my root directory

BUT WHY? WHERE MY MISTAKE?

-- 
bye, Max
mailto: [email-masked]
http://www.svitanok.com/~mt
ICQ: 21134222

---

From: Gregory A Lundberg <[email-masked]>
Date: Wed, 10 Feb 1999 12:57:05 -0500 (EST)

On Wed, 10 Feb 1999, Maxim V. Tulyuk wrote:

> ls shows my root directory BUT WHY? WHERE MY MISTAKE?

Which version of the daemon are you running?  Your question is probably
answered in the FAQ, please check it first.  Aslo, I have an example site
at ftp://ftp.vr.net/pub/wu-ftpd/examples/ which may help.

wu-ftpd Resource Center:  http://www.landfield.com/wu-ftpd/
wu-ftpd FAQ:              http://www.cetis.hvu.nl/~koos/wu-ftpd-faq.html
wu-ftpd list archive:     http://www.landfield.com/wu-ftpd/mail-archive/

-- 

Gregory A Lundberg		Senior Partner, VRnet Company
1441 Elmdale Drive              [email-masked]
Kettering, OH 45409-1615 USA    1-800-809-2195