LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   cannot set home and group access on wu-ftp (https://www.linuxquestions.org/questions/linux-security-4/cannot-set-home-and-group-access-on-wu-ftp-461934/)

cyb3r_w0rld 07-07-2006 07:43 PM

cannot set home and group access on wu-ftp
 
Hi!
This is probably a very simple question but I cannot work out the answer.

Heres what I am trying to achieve:

I have redhat es 2.1 configured with wu-ftp 2.6.2 installed and working correctly.

Two issues I cannot resolve..

One:

I want to modify the ftpaccess file and settings to be able to change the path of the users home directory from /home/user to /local/user

if I add a new user with their home directory set to /local/user they cannot log onto ftp. All users in /home can without any problems.

Does any one know how to solve this problem?


Two:

I only want to allow ftp access to a single group of users and not all users. in the past i was able to restrict users based on the /etc/ftpusers file. however this is now depreciated and everything is based on

deny-uid %-99 %65534-
deny-gid %-99 %65534-
allow-uid ftp
allow-gid ftp

therefore am I correct in assuming I need to deny everyone except allow-gid ftpusers? if so how do I do this.

I'm sorry if this is a really silly question but I have tried various options with no conclusion.

Thanks in advance to anyone that can help me solve these issues!!

Much Appreciated!

unSpawn 07-11-2006 08:08 PM

Sorry, not an answer but Wu-ftpd 2.6.2 contained a vulnerability. Please fix that first. If you would rather use a FTP daemon that's easier to manage and way less vulnerable this seems a good time to switch to any of Muddleftpd, Vsftpd or even Proftpd.


All times are GMT -5. The time now is 11:05 AM.