LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   wu-ftpd configuration: guestgroup directive (http://www.linuxquestions.org/questions/linux-networking-3/wu-ftpd-configuration-guestgroup-directive-83331/)

deepika 08-18-2003 10:40 PM

wu-ftpd configuration: guestgroup directive
 
Hi,

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
ftpchroot:x:503:deepika,pawan

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 (127.0.0.1).
220 localhost.localdomain FTP server (Version wu-2.6.2-8) ready.
Name (localhost:deepika): deepika
331 Password required for deepika.
Password:
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.
ftp>
-------------------------------------------------------------------------------------
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,
Deepika


All times are GMT -5. The time now is 08:02 PM.