-   Linux - Networking (
-   -   wu-ftpd configuration: guestgroup directive (

deepika 08-18-2003 09:40 PM

wu-ftpd configuration: guestgroup directive

I have installed wu-ftpd (v2.6.2) on RH8.0 and trying to configure it in different ways. I have my /etc/ftpaccess file containing following line

# Chroot all users to their home directory by default
# (comment this out if you don't want to chroot most of your users)
guestuser *
# If you wish to allow user1 and user2 to access other
# directories, use the line below:
# realuser user1,user2
realuser deepika

guestgroup ftpchroot

I have also added below line in my /etc/group

Now when I login as deepika it allows me to see entire system directory structure as shown below.

[deepika@localhost deepika]$ ftp localhost
Connected to localhost (
220 localhost.localdomain FTP server (Version wu-2.6.2-8) ready.
Name (localhost:deepika): deepika
331 Password required for deepika.
230 User deepika logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> pwd
257 "/home/deepika" is current directory.
ftp> cd ../..
250 CWD command successful.
ftp> pwd
257 "/" is current directory.
In other words it logs in deepika as a real user. I wanted to know if
guestgroup ftpchroot should cause 'deepika' to login as guest user as deepika is member of ftpchroot group which is a guest group.

Please tell me which configuration (real user or guest user) takes precedence over other if a user matches both clause?

Thanks & Regards,

All times are GMT -5. The time now is 09:30 AM.