Ubuntu Servers :: Public - Anonymous FTP With Vsftpd

May 19, 2010

In my house I have a small computer running ubuntu karmic that works as a server/media center.

I would like to have a folder (my ~/public folder) openly available to the entire world via anonymous ftp.

I have read somewhere that the defauld vsftpd config is basically this: no local user login, anon only and sharing a folder called /home/ftp, but I can't get this to work.

Here is my /etc/vsftpd.conf file:

Code:

View 9 Replies


ADVERTISEMENT

Ubuntu Servers :: Add Files (and Where) For Anonymous Download - Vsftpd

Jan 17, 2011

how to add files (and where) for anonymous download. I installed vsftpd and configure /etc/vsftpd.conf file...just few common options like allowing anonymous,download,upload. And now i can login with anonymous. But i dont know what to do next, i want to try to download and upload files.

View 9 Replies View Related

Fedora :: Installed Vsftpd By "yum -y Install Vsftpd",disabled Anonymous Login And Set?

Feb 5, 2010

I have installed vsftpd by "yum -y install vsftpd",disabled anonymous login and set .When I use a linux client's file browser to login using a user account "ftpacc" by ftp://ip_address, its location is "/" instead of /home/ftpacc".When I use a window client to login, its location is "/home/ftpacc"

View 1 Replies View Related

Server :: Vsftpd Access Allow For Anonymous?

Sep 4, 2010

vsftpd is working fine in my network with anonymous user but i need to access that from out-side all the setting is done on the router. I am getting page to access ftp form out-side but only for ftp users not anonymous user how i will give permeation to access ftp to anonymous user ?

View 26 Replies View Related

Ubuntu Security :: Allowing Non-anonymous Uploads With Vsftpd?

Feb 2, 2010

Hope you can help me out. I'm trying to setup a "drop-box" on ubuntu 9.10 server with vsftpd. I'm able to login and land in the /home/user directory, however I cannot write anything.

View 5 Replies View Related

Security :: Vsftpd Anonymous Write To Anon_root?

Mar 24, 2011

obviously it's at least difficult but I'm interested in knowing if it's theoretically possible to allow anonymous users of vsftpd to upload to the same directory that anon_root is set to. If it's not then it's no big deal, I'm just trying to get a sense of the range of possibilities.

View 1 Replies View Related

Software :: VsFTPd Anonymous Read / Write Configuration?

Mar 13, 2011

I just want to configure Vsftpd to allow users to have total access to the FTP server. The server and users are all on a private LAN behind a router with no access from the Net, so I don't need any security. The following basic configuration doesn't allow uploading files after I log on as anonymous/whatever:

/etc/vsftpd/vsftpd.conf
Code:
listen=YES
anonymous_enable=YES
local_enable=YES
write_enable=YES
xferlog_file=YES

#anonymous users are restricted (chrooted) to anon_root
#anon_root=/home/ftp/incoming
anon_root=/var/ftp
anon_upload_enable=YES
anon_mkdir_write_enable=YES

#chroot_local_user=NO
#chroot_list_enable=YES
#chroot_list_file=/etc/vsftpd.chroot_list

Here's what happens when I log on as anonymous/whatever and try to upload a file:
> ftp server
Connected to server.
220 (vsFTPd 2.0.5)
Name (server:root): anonymous
331 Please specify the password.
Password:<whatever>
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.

ftp> ls -al
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
drwxr-xr-x 3 0 0 4096 Mar 13 11:19 .
drwxr-xr-x 3 0 0 4096 Mar 13 11:19 ..
drwxr-xr-x 2 0 0 4096 May 25 2010 pub
226 Directory send OK.

ftp> put /var/tmp/ftp
local: /var/tmp/ftp remote: /var/tmp/ftp
200 PORT command successful. Consider using PASV.
553 Could not create file.

View 4 Replies View Related

CentOS 5 Networking :: Can't Get Vsftpd To Accept Anything But Anonymous Connections

Jun 5, 2010

This is on Centos 5.3 by the way..... I had a DVD and, well, just wanted to test some things.. I'm aware that this is not the latest release.

And, by the way (I just read an earlier post) I've added the username and password with which I'm trying to login (..hello?).

I'm at work and I don't have a copy of my Vsftpd configuration file (don't wanna edit this whole thing - actually there is a copy, below). I've used Slackware for years and never had any issues with Vsftpd - it just works. I am trying Centos because I need help with upgrading my mail server (qmail) and there's not much help for Slackware users. Also, I used to run RHEL3 and had vsftpd working fine (had to copy some file to /etc/pam.d) but it worked famously. I compiled all my web server stuff (just don't like these default things where I have no idea how things are integrated) and I'm hung up on - of all things - vsftpd.

Anyway....When I try to log into my ftp server I get "KERBEROS_V4 rejected as an authentication type" and only the anonymous account works. Any other logins produce an error (incorrect login - see ya' later). I have SE Linux and the firewall OFF. I don't recall the directive, precisely, but my vsftpd.conf file is set allow local users to connect. I installed with yum and it added some lines at the bottom (one was about a user list and the other was about PAM). I've got a chroot list and a user list although it's not clear to me precisely where the user list should be placed. I actually uninstalled the RPM and compiled, too. I've done everything but call an exorcist. And I've found tons of posts regarding this on the net and none of the fixes worked. Man - on slackware you type "make" and "make install" (I build it with tcp_wrappers) and you're off to the races.

Actually - I did upload the vsftpd.conf file to work (where I'm at, now). Minus lines that were commented out it looks like this:

Could it, possibly, be something about how I am adding the user, the shell type, etc? I know that in Redhat I used to type "/usr/sbin/useradd -d /home/someuser joe". I've done it that way and I've also done it like so: "useradd -d /home/schmoe -s /bin/bash schmoe".

View 2 Replies View Related

CentOS 5 Server :: VSFTPD - Unable To Authenticate As Anonymous User

May 4, 2010

I am attempting to configure vsftpd to allow anonymous users to PUT files into a shared incoming directory. This would be like a dropbox for my customers. Ideally, the incoming directory's contents would not be viewable by the users.

I believe that refused connection is due to the PAM configuration for vsftpd.

May 4 08:03:16 WSVM-S1-1 sshd[1512]: Invalid user anonymous from xxx.xxx.xxx.xxx
May 4 08:03:16 WSVM-S1-1 sshd[1513]: input_userauth_request: invalid user anonymous
May 4 08:03:16 WSVM-S1-1 sshd[1512]: pam_unix(sshd:auth): check pass; user unknown

[Code].....

View 3 Replies View Related

Fedora Networking :: Getting Vsftpd Running With Both Anonymous And Local User Access To The Same Folder

Aug 14, 2009

I'm trying to get vsftpd running with both anonymous and local user access to the same folder. The directory I'm using is /tftp with the following permissions:

dr-srwxrwx 7 root root 12288 2009-08-14 15:54 tftp

My vsftpd.conf is this:

anonymous_enable=YES
local_enable=YES
write_enable=YES

[code]....

I set the default "ftp" user's home directory to /tftp (was /var/ftp).

View 4 Replies View Related

Ubuntu Servers :: Make An Anonymous Email Service Like Dodgeit , Com?

Jan 20, 2010

Does anyone know how to make an anonymous email service like Dodgeit,com? Basically where users can go thru a web login to check any mailbox name they want at yourdomain.com.

I know you can do it thru Postfix, what other setup is needed? Any easy way of going about this?

View 4 Replies View Related

Ubuntu Servers :: Create Anonymous User ("ftp") With Password?

Dec 1, 2010

I configured a server with vsftpd, and what I want to do is force local users to use SSL (which I have done), and allow anonymous users on the "ftp" username to access the server with only a password and no SSL. Here is my configuration file:

Code:
# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.

[Code]....

View 2 Replies View Related

Ubuntu Servers :: Can't Get VSFTPD To Work With 9.10?

Sep 24, 2010

I am building a new server on Rackspace Cloud. When they create an instance, it is a raw install. I have several other instances running Ubuntu 10.04 with vsftpd running just fine.But I have an app that doesn't like php 5.3 so I created a new server instance with Ubuntu 9.1 and php 5.2.Here is my problem... I install vsftpd EXACTLY the same way I've installed it dozens of times on Ubuntu 10.04. But when I try to access it, I get an ERROR 500 "vsftpd: cannot locate user specified in 'ftp_username':ftp. I'm SURE I'm using a valid username & password.

View 1 Replies View Related

Ubuntu Servers :: Ssh -i Public-key On Same Box Still Asking For Password

Jun 18, 2011

I'm on Natty Narwhal and wanted to play with ssh but I can't seem to get ssh to work without having to specify a password. I've installed openssh-server. I've generated a public/private key pair:

ssh-keygen

I can see my id_rsa and id_rsa.pub and known_hosts.

am logged in as user pgroarke and simply trying to run ssh on the same box.
Regardless of whether I specify either localhost or hostname I still get asked for a password:

ssh -i ~/.ssh/id_rsa.pub pgroarke@spock date
pgroarke@spock's password:
Here is the relevant contents of my /var/log/auth:
Jun 18 16:21:37 spock sshd[30357]: last message repeated 2 times

[Code]....

View 4 Replies View Related

Ubuntu Servers :: Vsftpd - Users Can't Download?

Apr 14, 2010

I'm using vsftpd on my server. When I connect (using file-zilla) from other computers on the same network I can't download any files. I can upload, create directories, and delete stuff, but I can't download. I've disabled anonymous access and enabled local user log-in. My /etc/vsftpd.conf

Code:
# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.

[Code]...

View 3 Replies View Related

Ubuntu Servers :: VSFTPD Server Acces From WAN?

Feb 18, 2011

I made a "test" server recently, put a samba + apache + vsftp server on it. The first 2 work but the VSFTP server is troubling me. On my lan it works. but on a wan: My ISP blocks port 21 so I changed it to 2200, my friend tried to connect earlier (With "ftp://myip:2200") and he had to type in a name and password, he did that (I made him an account)he got 425 failed to establish connection. Now I Re-installed vsftpd again, did the exact same thing and now it just wouldn't connect. saying the webpage can't be found. Question 1: What should I do to let a user acces from outside of my LAN? I think it's because of passive mode: but I have no idea what ports I should open for passive mode? My ftp port is 2200.

FileZilla tells me.
Entering passive mode
Command: List
And than that it can't find directory's

View 9 Replies View Related

Ubuntu Servers :: VsFTPd - Connection Refused

May 29, 2011

Connecting remotely through FileZilla works ok, but I can't connect from localhost (FWIW I'm running WordPress and would like to be able to upload plugins from the dashboard).

I've got vsFPTPd installed and - I think - running:

Code:

# service vsftpd start
vsftpd start/running, process 25782

All ok so far... however I can't see it on any of my ports:

Code:

# nmap localhost
Not shown: 995 closed ports
PORT STATE SERVICE
22/tcp open ssh

[code]....

And of course if I

Code:

telnet localhost:21
That's 'Connection refused...'
Nothing in 'netstat --listen' either.

The odd thing is, I can connect fine using FileZilla.

To confirm, I have

Code:

local_enable=YES
set in my vsftpd.conf.

View 6 Replies View Related

Ubuntu Servers :: Unable To Boot Vsftpd?

Aug 4, 2011

I'm running ubuntu 11.04 on two computers, and I had two ftp-servers running fine and well. But then, after a computer reboot, I'm not able to boot the servers anymore.

Code:
root@kjellern-lima:~# service vsftpd start
vsftpd start/running, process 2552

It says it starts running, but if I try to connect to it, or run:

Code:
root@kjellern-lima:~# netstat -a | grep ftp
nothing happens

View 8 Replies View Related

Ubuntu Servers :: What Is Difference Between Filezilla And Vsftpd?

Aug 12, 2011

I have some questions:

1) I want when someone trying to access my ftp domain(not from my home network) ,to ask him for username and password.

2) What is the difference between filezilla and vsftpd?They do the same job?(Ok,i added a user with vsftpd and now,what?)(Filezilla works and i can upload files)

3) When someone tries to connect to my domain(outside of my home network) it shows the "It works" page.When i access my domain from my pc it shows me the files i uploaded!How can i fix this???

4) When i try to connect via another pc (in my home) ,it shows the routers interface!

5) Filezilla works with SSH but when i try with FTP or when i use the wizard connection manger it shows the "connection timed out".I use shorewall and in the shorewall/rules i have "HTTP..SSH...FTP".

View 9 Replies View Related

Ubuntu Servers :: Multiple Domains With One Public IP?

Jun 21, 2010

I would like to set up an ubuntu server to forward outside requests directed to different domains to different computers on my local network. The bind is I only have ONE public IP.

Here's an example of what I want to do.

- if a request is sent to www.first-domain.com, I want to forward it to a local server (say 192.168.0.10)

- if a request is sent to www.second-domain.com, I want to forward it to a local server (say 192.168.0.20)
and so on...

I will need to forward these requests not only for web sites but for other services such as SSH, mail, RDP, VNC, etc etc PS Once it hits those local servers, I know how to use iptables to forward them as desired.

View 7 Replies View Related

Ubuntu Servers :: Set Up A VPN That Is Secure Using Public WiFi ?

Jul 19, 2010

I am going to be away semi permanently and want to create a VPN that will allow me to act as if my laptop was connected to my home network.

All I want is for the drives to be accessible so I can use them for primary access as if they are in the laptop.

Questions:

1. Can I set up a Linux VPN that is secure using public WiFi (or however I connect to the net) when I am on the road?

2. I will be using a desktop (32 bit) as the server, what version of Linux would be best for this?

3. If my server is linux and the server drives are NTFS will they be accessible using a windows machine? (I will be double booting the laptop)

4. I would like to set up a pass-code that is stored on the laptop so that only that machine can get access.

This can be up to 255 characters and encrypted so it would be very hard to break. Even I would not know what it is. (I would store it on a pen drive and be able to recover it from there.)

One more. I might want to add separate users that only have access to their one drive, not the server drive. Is that OK?

View 5 Replies View Related

Ubuntu Servers :: NAS Public Folder Not Getting Mounted?

Sep 21, 2010

We have an Iomega StorCenter ix4-200d in our office. for past two days the shared public folder is not getting mounted. but it's working fine through the web interface i.e user can upload/download.that rules out the permissions problems.

I am providing the output of mount command:

t227@t227:/var/log$ sudo mount -t cifs --verbose //192.100.100.37/public /mnt/public/ -o username=shrey
[sudo] password for t227:
Password:

[Code]....

in fact i can't access any of the folder which I am having permissions to rw.but it's working fine through the web interface.

P.S:- On windows also I can't mount the folder.

View 1 Replies View Related

Ubuntu Servers :: Unable To SSH From Outside LAN (Public IP Address)

May 2, 2011

Basically I am trying to set up my own server so that I can ssh into it from anywhere. I am able to SSH into my server when I use the LAN IP of my server but I am not able to SSH into it if I use the public IP address. I have read many threads and in my opinion I've tried almost all of the common fixes suggested. One possibility may be that my ISP has blocked port 22. I have taken this into consideration and sent them an email and I'm presently waiting for a reply. However, I highly doubt that my ISP has restricted acess to port 22. I would really like to be able to SSH into my server from anywhere.

1). I installed openssh client/server using the following commands:
Code:
sudo apt-get install openssh-client
sudo apt-get install openssh-client

2). I forwarded port 22 on my router. (see attachment for the settings)

3). I modified /etc/ssh/sshd_config such that my server has a static LAN address.
contents of sshd_config file:
Code:
# Package generated configuration file
# See the sshd_config(5) manpage for details
# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to .....
I then entered the command:
Code:
sudo /etc/init.d/ssh restart

4). I turned off the firewall using the command:
Code:
sudo ufw disable

5). Here is the output of the IP tables:
Code:
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination

View 9 Replies View Related

Ubuntu Servers :: GPG Error: Public Key 40976EAF437D05B5

Jun 23, 2011

GPG error: [URL]... hardy-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 Tried this with no luck:

sudo bash
apt-get clean
cd /var/lib/apt
mv lists lists.old
mkdir -p lists/partial
apt-get clean
apt-get update

View 3 Replies View Related

Ubuntu Servers :: Vsftpd And User Specific Settings?

Jan 24, 2010

I just set up my own server and basically my folder is on say /media/disk1/ and my girlfriends is on /media/patato/ is there a way i can set it so that if i log in it goes to my folder and if she does it goes to hers.... I've currently got it set up as /media/ that it goes to but i cant get it to change it for each user (we can also browse each others drive and we dont want that, we want to be tied into /media/ourdirectory and all of its subdirectories) problem is that it is running on a computer that use to be functional (same install because I cant find my disk drive) so it cant use home folders....

View 1 Replies View Related

Ubuntu Servers :: Vsftpd -- Stop It Asking For Username / Pasword?

Mar 19, 2010

I have installed vsftpd and would like it to be completely accessible to the world, but each time I test connect it propts for username / password. config:

#
# Sample anonymous FTP server configuration
#

[code]....

View 9 Replies View Related

Ubuntu Servers :: Can't Connect To FTP Server Running Vsftpd

May 29, 2010

I just made a Ubuntu Server install in a virtual machine and am having trouble setting up FTP to transfer files. I've installed LAMP and vsftp. The web server works great, but FTP gives a connection refused error locally and remotely from the host machine. 'Connection attempt failed with "ECONNREFUSED - Connection refused by server".' nmap localhost doesn't list FTP as open even though I have vsftpd set to listen. I've tried restarting vsftpd with no luck.

View 9 Replies View Related

Ubuntu Servers :: Script To Return Value In Vsftpd Config?

Aug 16, 2010

I've been searching around for a way to add a value to an attribute of the /etc/vsftpd.conf by script.

Such as:
Code:
/etc/vsftpd.conf
local_root= /scripts/userpath.sh $USER
//Artheus

View 9 Replies View Related

Ubuntu Servers :: Vsftpd - Can't Access Files/folders?

Sep 26, 2010

1- I've set up 3 virtual users,one of them is a system one (with a different password) and writes on his own home folder. With this one I haven't found any problems yet, but with the other 2 users I can't access files/folders created by them. It's a permissions problem for sure, but I'm not sure how to correct it.With these users I can upload files, create files and create folders. The problem is I can't access what I create (I can't enter a folder I created but it is there and I can upload files into it).

2- Whenever I turn on ssl_enable=YES I can't access the server (even from the server itself when I connect to localhost, It's a regular Ubuntu installation).Here's the config file for the users:

Code:
write_enable=YES
anon_mkdir_write_enable=YES
anon_other_write_enable=YES[code].....

View 7 Replies View Related

Ubuntu Servers :: Vsftpd (+apache2) Permissions Configuration

Oct 13, 2010

how to configure vsftpd server, to enable users upluoad files with right permisions. I create user like this:

Code:
cp /etc/apache2/sites-available/default /etc/apache2/sites-available/<newUser>.domain.com
a2ensite <newUser>.domain.com
/etc/init.d/apache2 restart

[Code].....

So, in summary, how to make ftp to create files with permisions e.g. +rwxrwxr-x or smth more clever..

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved