| View previous topic :: View next topic |
| Author |
Message |
destuxor l33t

Joined: 01 Mar 2004 Posts: 803 Location: Honolulu, HI, USA
|
Posted: Thu Mar 24, 2005 7:20 am Post subject: |
|
|
| 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 |
|
 |
Mighty3k n00b

Joined: 26 Feb 2005 Posts: 49 Location: Sweden
|
Posted: Fri Mar 25, 2005 5:41 pm Post subject: |
|
|
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 |
|
 |
destuxor l33t

Joined: 01 Mar 2004 Posts: 803 Location: Honolulu, HI, USA
|
Posted: Sun Mar 27, 2005 10:57 pm Post subject: |
|
|
| Made any progress? This sounds like a firewall/router problem not a software configuration issue. |
|
| Back to top |
|
 |
Mighty3k n00b

Joined: 26 Feb 2005 Posts: 49 Location: Sweden
|
Posted: Mon Mar 28, 2005 1:58 am Post subject: |
|
|
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 |
|
 |
destuxor l33t

Joined: 01 Mar 2004 Posts: 803 Location: Honolulu, HI, USA
|
Posted: Tue Apr 19, 2005 4:27 am Post subject: |
|
|
| Were you ever able to get this working? |
|
| Back to top |
|
 |
Mighty3k n00b

Joined: 26 Feb 2005 Posts: 49 Location: Sweden
|
Posted: Tue Apr 19, 2005 12:48 pm Post subject: |
|
|
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 |
|
 |
destuxor l33t

Joined: 01 Mar 2004 Posts: 803 Location: Honolulu, HI, USA
|
Posted: Tue Apr 19, 2005 5:36 pm Post subject: |
|
|
| 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 |
|
 |
Mighty3k n00b

Joined: 26 Feb 2005 Posts: 49 Location: Sweden
|
Posted: Wed Apr 20, 2005 11:35 am Post subject: |
|
|
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 |
|
 |
destuxor l33t

Joined: 01 Mar 2004 Posts: 803 Location: Honolulu, HI, USA
|
Posted: Wed Apr 20, 2005 4:18 pm Post subject: |
|
|
| 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 |
|
 |
Mighty3k n00b

Joined: 26 Feb 2005 Posts: 49 Location: Sweden
|
Posted: Thu Apr 21, 2005 2:17 pm Post subject: |
|
|
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 |
|
 |
Mighty3k n00b

Joined: 26 Feb 2005 Posts: 49 Location: Sweden
|
Posted: Sun Apr 24, 2005 9:08 am Post subject: |
|
|
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 |
|
 |
destuxor l33t

Joined: 01 Mar 2004 Posts: 803 Location: Honolulu, HI, USA
|
Posted: Sun Apr 24, 2005 8:39 pm Post subject: |
|
|
| Maybe local_enable=YES has been deprecated or something...see man vsftpd.conf |
|
| Back to top |
|
 |
Mighty3k n00b

Joined: 26 Feb 2005 Posts: 49 Location: Sweden
|
Posted: Mon Apr 25, 2005 10:41 pm Post subject: |
|
|
I just rewrote the file and it worked, weird..
However I think it works now!
Thank you for all your help!!! _________________ ---
Mighty |
|
| Back to top |
|
 |
CosminG Apprentice


Joined: 19 Jan 2005 Posts: 166
|
Posted: Wed Apr 04, 2007 9:05 pm Post subject: |
|
|
| 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 |
|
 |
destuxor l33t

Joined: 01 Mar 2004 Posts: 803 Location: Honolulu, HI, USA
|
|
| Back to top |
|
 |
|