Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vsftpd help
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
destuxor
l33t
l33t


Joined: 01 Mar 2004
Posts: 803
Location: Honolulu, HI, USA

PostPosted: Thu Mar 24, 2005 7:20 am    Post subject: Reply with quote

Ugh. Now I don't know. Can you tell me if there's anything in /var/log/vsftpd/vsftpd.log of interest? Also, perhaps those users can't be members of the ftp group. Just a thought. Maybe create a new group (say, ftpers) and change those users' group with the usermod -g command?
Back to top
View user's profile Send private message
Mighty3k
n00b
n00b


Joined: 26 Feb 2005
Posts: 49
Location: Sweden

PostPosted: Fri Mar 25, 2005 5:41 pm    Post subject: Reply with quote

Ok. This is wierd. Maybe?
I have access to "do" stuff if I login from my local network. However, if someone from outside logs in they can't even list the directory...
_________________
---
Mighty
Back to top
View user's profile Send private message
destuxor
l33t
l33t


Joined: 01 Mar 2004
Posts: 803
Location: Honolulu, HI, USA

PostPosted: Sun Mar 27, 2005 10:57 pm    Post subject: Reply with quote

Made any progress? This sounds like a firewall/router problem not a software configuration issue.
Back to top
View user's profile Send private message
Mighty3k
n00b
n00b


Joined: 26 Feb 2005
Posts: 49
Location: Sweden

PostPosted: Mon Mar 28, 2005 1:58 am    Post subject: Reply with quote

Yeah!

It must be..

I get some "500 OOPS" erroer something when I try to do something from outside my network...
_________________
---
Mighty
Back to top
View user's profile Send private message
destuxor
l33t
l33t


Joined: 01 Mar 2004
Posts: 803
Location: Honolulu, HI, USA

PostPosted: Tue Apr 19, 2005 4:27 am    Post subject: Reply with quote

Were you ever able to get this working?
Back to top
View user's profile Send private message
Mighty3k
n00b
n00b


Joined: 26 Feb 2005
Posts: 49
Location: Sweden

PostPosted: Tue Apr 19, 2005 12:48 pm    Post subject: Reply with quote

No.. :S
I could log in from outside my network, but I didn't have any privs. Which I had if I logged in from my local network.
However my computer totaly freaked out and started rebooting shortly after and it still does.. So I haven't had any chance to try anymore..
_________________
---
Mighty
Back to top
View user's profile Send private message
destuxor
l33t
l33t


Joined: 01 Mar 2004
Posts: 803
Location: Honolulu, HI, USA

PostPosted: Tue Apr 19, 2005 5:36 pm    Post subject: Reply with quote

Mighty3k wrote:
No.. :S
I could log in from outside my network, but I didn't have any privs. Which I had if I logged in from my local network.
However my computer totaly freaked out and started rebooting shortly after and it still does.. So I haven't had any chance to try anymore..

Ummm wow. Is there any error message when it reboots? If not I'd blame hardware.
Also, is it possible that your ISP has blocked port 21?
Back to top
View user's profile Send private message
Mighty3k
n00b
n00b


Joined: 26 Feb 2005
Posts: 49
Location: Sweden

PostPosted: Wed Apr 20, 2005 11:35 am    Post subject: Reply with quote

There is no time to see, it just goes black, instantly. So I guess it's the hardware.

No, I don't think so. I used to tun FTP on my mac before without any problems.
_________________
---
Mighty
Back to top
View user's profile Send private message
destuxor
l33t
l33t


Joined: 01 Mar 2004
Posts: 803
Location: Honolulu, HI, USA

PostPosted: Wed Apr 20, 2005 4:18 pm    Post subject: Reply with quote

Well for the hardware...I guess the first thing would be ensure it is a hardware problem by booting Knoppix, or, better, running memtest. You might want to open the case and make sure there isn't a bunch of dust on the RAM or something. I know it sounds stupid, but I've encountered problems with that before.
Back to top
View user's profile Send private message
Mighty3k
n00b
n00b


Joined: 26 Feb 2005
Posts: 49
Location: Sweden

PostPosted: Thu Apr 21, 2005 2:17 pm    Post subject: Reply with quote

Everything seems to be ok inside the case.. Nothing visual.. My guess though, is that the CPU is overheated..
It's almost always when doing heavy stuff like merging apps it reboots.. But it's kinda weird though, that it started rebooting like hell for a while.. then I could merge som apps.. after a few days it started rebooting again.. and some apps could easily be merged, and some would come half way.. ^^
_________________
---
Mighty
Back to top
View user's profile Send private message
Mighty3k
n00b
n00b


Joined: 26 Feb 2005
Posts: 49
Location: Sweden

PostPosted: Sun Apr 24, 2005 9:08 am    Post subject: Reply with quote

I've gotten another computer up'n runnting now.
Installed gentoo from stage 3 and installed vsftpd, followed your instructions.
However when I try to start vsftpd I get the error "Unrecognized variable local_enable" - I've triple checked that I've written everything correctly.. what could be wrong then? ^^
_________________
---
Mighty
Back to top
View user's profile Send private message
destuxor
l33t
l33t


Joined: 01 Mar 2004
Posts: 803
Location: Honolulu, HI, USA

PostPosted: Sun Apr 24, 2005 8:39 pm    Post subject: Reply with quote

Maybe local_enable=YES has been deprecated or something...see man vsftpd.conf
Back to top
View user's profile Send private message
Mighty3k
n00b
n00b


Joined: 26 Feb 2005
Posts: 49
Location: Sweden

PostPosted: Mon Apr 25, 2005 10:41 pm    Post subject: Reply with quote

I just rewrote the file and it worked, weird..

However I think it works now! :D
Thank you for all your help!!!
_________________
---
Mighty
Back to top
View user's profile Send private message
CosminG
Apprentice
Apprentice


Joined: 19 Jan 2005
Posts: 166

PostPosted: Wed Apr 04, 2007 9:05 pm    Post subject: Reply with quote

destuxor wrote:
See if this works for /etc/vsftpd/vsftpd.conf:
Code:
# /etc/vsftpd/vsftpd.conf - destuxor - 3/20/2005
local_enable=YES
write_enable=YES
anonymous_enable=NO
xferlog_enable=YES
xferlog_file=/var/log/vsftpd/vsftpd.log
idle_session_timeout=600
data_connection_timeout=120
ascii_upload_enable=NO
ascii_download_enable=NO
nopriv_user=ftp
ftpd_banner=Mighty Movies :)
chroot_list_enable=NO
chroot_local_user=YES
background=YES
listen=YES
ls_recurse_enable=NO

And enter these commands:
Code:
mkdir /home/movies
useradd -d /home/movies -s /bin/false -g ftp downloader
useradd -d /home/movies -s /bin/false -g ftp uploader
chown upload:ftp -R /home/movies
chmod 750 -R /home/movies
passwd downloader
passwd uploader
rc-update add vsftpd default

That work? You'll have to give people the login for the downloader account, but I think this is what you want. What I've written is thinking along the same lines as what I wrote earlier. This'll create two user accounts who share a home directory. I don't know if this works or not -- if it doesn't I'd make one home directory a subdirctory of the other. Anyrate, one has rwx access to "his" home directory, the other has only r-x. Should work. Just make sure you do this after a file's been uploaded: chmod -R 750 /home/movies/ (I'm not sure what the permissions VSFTPD sets are).


Thanks man that helped me too ;)
Back to top
View user's profile Send private message
destuxor
l33t
l33t


Joined: 01 Mar 2004
Posts: 803
Location: Honolulu, HI, USA

PostPosted: Sun Apr 08, 2007 7:34 pm    Post subject: Reply with quote

Wow I never updated the link: http://wjholden.com/vsftpd-help.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum