SUMMARY : ftpd problem ...

From: TSI-Juan Calderon (jcalder@tsi.com.pe)
Date: Thu Aug 06 1998 - 15:34:57 CDT


Thank's to all of you who sent your suggestions :
Sanjaya Srivastava
Matti Siltanen
Jeffrey Keyser
Benjamin Cline
Jeff Kennedy
Heidi Burgiel
David Thorburn-Gundlach
Marco Greene

Some suggested me to use rsh, but i didn't want the user to login, just
restrict its ftp access to its home directory.
Also suggested to use chroot, but it's supposed that the ftpd should
work just like in the case of an anonymous ftp.

I missed in my mail that i already use wu-ftpd, and that the entry in
the /etc/passwd corresponding to the user's home directory already
finished in /./ (eg /home/Juan/./)

Finally, i found that with wu-ftpd in the ftpaccess file there must be a
line like this :

guestgroup <name of the group to wich the user belongs to>

and with that line everything worked.

Thanks to all of you again.

here's the original mail:

Hi, i'm having troubles setting up an account that only has
to do ftp
and that must be restricted to its ftp home (it should not
cd to any
other directory).
I've already made it's shell /bin/false, created a directory
structure
like the anonymous ftp user has, but the user still can cd
to any
directory in the server.
Am i missing something?

PD : If i change the login of this user to ftp everything
works, but if
i change it's login name it can cd to any directory.

-- 

Microsoft is not the answer. Microsoft is the question. The answer is no.

Juan Jose Calderon Medina Telefonica Servicios Internet



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:45 CDT