Ubuntu Servers :: Bash Seem To Block Vsftpd Conf Command
Mar 16, 2011
I am new on ubuntu and I really don't have any background on making a server. To be frank is I am still a student learning ubuntu server, how to make and configure them.
My problem is that whenever I type the command:
/etc/vsftpd.conf
an error message says that:
-bash /etc/vsftpd.conf: Permission Denied
I am still discovering what are the commands on the vsftpd server. By the way I am using the server on VMware.
View 3 Replies
ADVERTISEMENT
Jul 14, 2010
I've been searching the web, without finding any sollution to my problem.vsFTPd is acting really weird. I've never seen this problem before, and I've been using vsftpd for some years nowWell.. The thing is, I've made a user that chroots to the folder /var/www on my server. And when I then try to chmod the file /var/www/htdocs/testsite/index.html through my ftp-client, I only get the error "550 SITE CHMOD command failed.", and when I then check in my /var/log/vsftpd.log it says
Code:
FAIL CHMOD: Client "192.168.50.58", "/htdocs/testsite/index.html 777"
Which I think would mean that it tries to chmod the file "/htdocs/testsite/index.html" instead of chmod the
[code]....
View 7 Replies
View Related
Jun 14, 2011
I'm running vsftpd on a Ubuntu 10.4 server and noticed that my ftp server is getting brute force attacked. I usually check for the IP address and manually add it to my Smoothwall firewall but I was wondering if there is a way for vsftpd to automatically block denied access after certain number of attempts. Let's say 5.
View 2 Replies
View Related
Dec 16, 2009
I cant open the VSFTPD.conf When I open it says "The file is of an unkown type" what to do?
View 1 Replies
View Related
Jun 2, 2010
i am having problem with
"/etc/vsftpd/vsftpd.conf"
the rule in file(/etc/vsftpd/user_list) says that if "userlist_enable=NO" is set in vsftpd.conf then only users which are listed in
[code]....
View 5 Replies
View Related
Dec 3, 2009
I use vsftpd, i disabled anonymous users. sometimes i look at the log-files. and there are much entries from bots. they try to connect to the ftp with users like apache or tomcat. they try it 10, 20, 30 or more times. can i block them with vsftpd after 5 failed logins for 1 hour or something like this?
View 3 Replies
View Related
Oct 8, 2010
Bash acts weird in 10.04 server. Whenever I try to run .sh scripts, every empty line in the script results in "command not found". Then on even simple scripts I get syntax errors, but the same exact scripts work on my 9.10 desktop installation. There's also another problem, I'm not really sure if it's bash-related. After setting the proxy using
[Code]...
View 5 Replies
View Related
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
Jun 5, 2011
I got a problem with terminal, since i'm really a noob with terminal i don't know how to fix it.Everytime i type in a command it shows for example:
-bash: ls: command not found
Even the basic commands don't work... just cd <directory> and those things works
View 9 Replies
View Related
May 21, 2010
I've got a new server and have vsftpd setup there , when i login using filezilla :
Response:230 Login successful.
Command:OPTS UTF8 ON
Response:200 Always in UTF8 mode.
Status:Connected
[Code]....
View 7 Replies
View Related
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
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
View Related
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
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
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
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
Sep 10, 2010
If I run this as su I get the same thing. If I log on as root user It is the same as well
View 5 Replies
View Related
Feb 13, 2009
I'm setting up a machine that's going to be used to test randomly connected tape drives one at a time, and as such, I'm writing the test routine using mt in a bash script, for user-friendliness. The problem is the block device name changes on occasion as tape drives are swapped out and busses are rescanned, so I can't "hard code" a block name into the script.
I know programs like lsscsi and hwinfo will give you block device names as part of their output, but I can't seem to grep anything in such a way as to have the final output be just the block name (ie /dev/st2, or optimally 'st2'), so that I can just have the script read said output, and drop it into the necessary variable.
View 2 Replies
View Related
Nov 29, 2010
I create a bash script that writes another bash file. But in the generated bash file I want to write a bash command in the file and not executing it.Here's my bash file:
Code:
#!/bin/bash
cat > ~/generateGridmix2data.sh << END
[code]...
View 6 Replies
View Related
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
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
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
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
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
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
Nov 27, 2010
I recently installed vsftpd on my system and it was running fine for my system users. Now I wanted to add virtual users so I googled it, I found this tutorial: [URL]
I did what they've been saying over there but when I restarted the vsftpd I couldn't login with the virtual user and also not with the system user anymore. This is the error ( with the system user who could login before ):
Code:
Status:Verbinden met 109.230.234.21:21...
Status:Verbinding aangemaakt, welkomstbericht afwachten...
Antwoord:220 (vsFTPd 2.2.2)
[Code]...
View 9 Replies
View Related
Nov 29, 2010
On a whim vsftpd seems to stop working randomly and any attempted connection times out while waiting for the welcome message.It'll take a couple reboots and a couple "sudo service vsftpd restart" 's and it'll eventually start working again.AFIIK everything is at the most currant version. It just started doing this a few weeks ago.Here is my config file:
Code:
# Example config file /etc/vsftpd.conf
#
[code]...
View 9 Replies
View Related
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
Feb 21, 2011
I have used for a long time Filezilla FTP Server on a windows server, for multiple users in my company around the country.Lately the windows box died and I said let's try ubuntu server 9.10. I configured to my best as a Samba file server and from a speed point of view it works even faster than the Winbox.Now getting to FTP setup, I had the following problem when setting vsftpd.How can I enable more directories for the user, each with its own rights. By example, in Filezilla I had two folders for each user: one was a specific folder in which he could also write, and the other was read-only. They were setup with aliases, so that when user login, he sees one continous list of folders.I tried with symlink, but couldn't do it. Also I searched through the man page but also did not find something specific for this task I would appreciate any help you guys could give me in order to solve this issue, using the best practice for vsftpd. Also note that I am open to other FTP servers as well.
View 1 Replies
View Related
Apr 11, 2011
I installed Ubuntu 10.04 64bit server on DELL R710 server recently.
The basic:
[System Model] --- PowerEdge R710
[Ubuntu] ---
root@pek-mcbuild2:~# cat /proc/version
Linux version 2.6.32-21-generic (buildd@yellow) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC 2010
root@pek-mcbuild2:~# uname -ar
[Code]...
View 1 Replies
View Related