LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-07-2006, 08:43 PM   #1
cyb3r_w0rld
LQ Newbie
 
Registered: Jul 2006
Posts: 1

Rep: Reputation: 0
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!
 
Old 07-11-2006, 09:08 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 03:37 PM
Set group id,set user id? JAKK Slackware 3 06-15-2006 11:16 PM
FTP access to home folder deWin Linux - Networking 5 04-26-2004 02:45 AM
How to view set-user-ID and set-group-ID Xris718 Linux - General 7 01-10-2004 02:44 PM
[alert] (22) Invalid argument : setgid : unable to set group id to Group 4294967295 Niraj Linux - Networking 1 12-13-2001 07:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration