Server :: Vsftp And Root Directories For Download?

Oct 11, 2010

I just setup a vsftpd server and I am baffled about one issue. I allow local login and have not chroot anybody and disallow anonymous login. When connected as a local user I can browse the servers file system including the root (/) directory. There I can download whatever file I want but not write to it.All permissions are untouched since installing the server.Looking at the file permissions they are in general rwxr-xr-x (root root)

Isn't this a security threat? If so it seems strange as these are the default permissions. I don't dare changing the permissions for the entire file system.

View 1 Replies


ADVERTISEMENT

Fedora :: Vsftp Installation - Login As Root And Have Access To '/' As Home Directory

Feb 1, 2011

1. yum install vsftpd
2. service vsftpd start [ok]
3. nmap from outside verifies tcp 21 is open for business
4. ftp myipaddress.com results in login failed for user root.

I want to login as root and have access to '/' as my home directory. What do I have to do to get this to work?

View 2 Replies View Related

CentOS 5 Server :: Local Users Cannot Upload Files To VSFTP SERVER

Nov 25, 2010

I've setup a Lamp Server for Testing, The Lamp Server is Up & Running on CentOs 5.5

I am now trying to setup a VSFTP server where local users can upload files to there home directory so that Apache can serve web pages straight from the directories of system user home/accounts giving users the ability to run their own web sites which are hosted off the main server [tutorial here: [url]

So far i have been able to serve/display index.html files from the users home directory [url] but so far i cant upload files to any user home directory, every time i try to upload a file with filezilla i get this error message: 553 Could not create file. Critical file transfer error

I have searched online for similar problems like mine and so far i've tried alot of the solution but none seem to work. I'm confused, dont know where i went wrong, i put the users in a group called ftpusers and here are the permissions on the users (test, ftpuser & testftp) home directory. have a look an tell me where i went wrong :(

Also the root directory where the web pages are served from is called public_html here are the permissions

Here is my vsftp.conf file can someone check it to see if i made any errors in there:

View 14 Replies View Related

Server :: How To Configure Vsftp In Rhel5

Dec 8, 2010

how to configure vsftp in my rhel5 server.

View 2 Replies View Related

CentOS 5 Server :: Vsftp Server With Usernames?

May 18, 2009

I need to setup a way for our Web Developer to login to this particular server to manage the webpages that are hosted. He prefers to use his ftp client/fireftp since he connects to all other servers that way. I can connect via local network but can not seem to connect from my home computer. We have a firebox firewall and we opened port 21. Do we need to open any other ports or just port 21?

View 1 Replies View Related

Software :: Vsftp Server Shows Some Files Not Others

Apr 11, 2011

I've installed vsftp as ftp server on CentOS5. vsftpd.conf is unedited, works without change as it was installed (it's a private network on which I'm using anonymous ftp.)For some reason vsftp will not serve some files which I downloaded from another system (using ftp.) The downloaded files simply don't show up at all if I come into vsftp via a browser, for example, and 'get' fails in a command-line ftp client. Other files originating from the local machine are served OK.

If I copy the downloaded file, vsftp shows the copy just fine but not the original; both files are in /var/ftp (the ftp server root.)The downloaded file had group and owner as '65534' so I did chgrp/chown root, but that made no difference. Reboot makes no difference; restarting the client or using a different client machine makes no difference.What am I missing or doing wrong? What doesn't vsftpd like about the downloaded files? This is happening on two separate machines, and I'm very puzzled.

View 3 Replies View Related

CentOS 5 Server :: Vsftp Can Not Upload File?

Sep 29, 2009

After few hours working I can connect to ftp.And download files from the server.But I can not upload file or create directory.I checked my configure file several time could not figure it out.

# cat /etc/vsftpd/vsftpd.conf
anon_world_readable_only=NO
anonymous_enable=NO

[code]....

View 1 Replies View Related

Networking :: VSFTP Server / Folder Permission Setup

Apr 10, 2009

My boss give me a task :We have a FTPServer using VsFTP , with each of user get one home dir to upload.But now , he have a folder Projects...This folder can be Read-Write permission for Bob and Peter...Read only with Jeni , ZaoChing, Richo , no anonimous access !

View 3 Replies View Related

Server :: Ftp Vsftp Creating Account With Full Permission

Oct 2, 2010

i want to create a new account for vsftpd server, say ftpuser1 is userid and password is abc123...i want to give full permission to a directory /documents...where user can add,edit,delete document easily via ftp connection.rest no other ftp users i want to connect it. how best it can be achive what i need to do it.i have install ftp server in centos 5.5

View 2 Replies View Related

Server :: Can't Make Vsftp Works On Ubuntu - Users Can't Login

Feb 20, 2010

I have an Ubuntu 9.10 server and i need to use an ftp server. I installed vsftp but i can't make it to work. What doesn't work is that can't login to the ftp server with my user(s).I created a user ("AddressBookUser") that should access to some files located on "/var/www/fpt/rubriche/". I set this folder as his home.Here is the row for this user in /etc/passwd:

Quote:

AddressBookUser:x:1001:1002::/var/www/ftp/rubriche:/bin/false

This user is member of the group "rubriche_ro" (and no other groups).This is my /etc/vsftp.conf:

Quote:

listen=YES
#listen_ipv6=YES
#
anonymous_enable=YES

[code]...

vsftpd.chroot_list exists, but as you see above the chroot_list_file directive is disabled.When i try to connect to the FTP server the connections is established but after i insert "AddressBookUser" as user name and confirm i get a "530 permission denied" message. This occurs both from the network (LAN) computers and locally:

Quote:

webs@webs:/etc$ ftp localhost
Connected to localhost.
220 Welcome to WEBS FTP service!

[code]...

I can't figure out what is the problem but my thought was that it's a problem related to the user configuration rather than vsftp configuration, but it's only my supposition. If i try to login with the "main" user of my Ubuntu server, "webs" i can login correctly.

View 18 Replies View Related

General :: Files Uploaded By OSX Machines To Vsftp Server Can't Be Deleted By Other Users?

Feb 21, 2011

I have a vsftp server running, and we have problems sporadically where people (not the person who uploaded the file) cannot delete files uploaded from OSX machines. We never have this problem with files uploaded by PCs. Anyone ever heard of this or know what I should check? The users uploading the files all belong to the same group. Also, I think if you log in to the FTP server with another OSX machine, it will let you delete them. I'm looking at the folders now, they have drwxrwxr-x. When i try to delete them from a PC, it gives me a 550 Remove directory operation failed.

View 14 Replies View Related

General :: Shell Script Using Wget To Download Files From Ftp, Sub Directories?

Apr 27, 2010

I need to small shell script that I can download hdf data from ftp://e4ftl01u.ecs.nasa.gov/MOLT/MOD13A2.005/first,file name.MOD13A2.A2000049.h26v03.005.2006270052117.hdf each sub folders.next I copy all files with h26v03 to local mashine.

View 1 Replies View Related

Ubuntu :: Delete 'root' And 'lost+found' Directories?

Sep 23, 2010

I discovered two folders marked with a cross in my root:

- root
- lost+found

And when I'm trying to reinstall a newer version of Netbeans, 6.9.1. it claims that there is already something running in 'root folder "The installer lock file exists at /root/.nbifile/.nbillock"

The question is - is those folders are needed for Ubuntu working? -If not how to delete them? And one more question - how to delete a programme from the 'Applcations-Programming'? I tried to do that via 'System-Preferencies-Main Menu' and tried to delete a previous version of Netbeans, but it didn't work, - nothing happens, the previous version is still there, so I have two ones - 6.9.1 and 6.9.

View 2 Replies View Related

Red Hat :: Bunch Of Directories Names Beginning With .gnome In /root

Mar 14, 2011

Bunch of directories beginning with .gnome in /root..

View 1 Replies View Related

General :: Restrict Root User To Delete A File Or Directories?

Jan 20, 2011

is there any way so that we can restrict root to delete a file/directories and What is extended file attributes.

View 12 Replies View Related

CentOS 5 Server :: VsFTP Iptables Wont Start Get Error - CentOS 5.5

May 11, 2011

i am currently trying to install vsFTP onto my new linux server and btw i just started using linux today this is my first time using linux so i got the ftp installed good it got downloaded and everything then i went to open a port for my server for vsFTP i used this comand to open it "-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT" then i closed it by pressing ESC then :wq! and it brought me back to my comand line again so now when i try to start the ip table thing with the comand "service iptables start" then when i execute that comand putty respondes with this "Applying iptables firewall rules: iptables-restore: line 1 failed [FAILED]"

The install Guide im using: [URL]

View 5 Replies View Related

Server :: Make VSFTP So One User "bird" Logs Into To A Specific Directory Like /foo

Jan 19, 2011

Im trying to make it so one user "bird" logs into to a specific directory like /foo

View 6 Replies View Related

Ubuntu Servers :: Administrator User Id Doesn't Seem To Have Root Permissions To Create Directories?

Mar 30, 2010

Need help maintaining permissions across multiple directories. Have Ubuntu 8.04 Hardy Heron. O/S installed, updated and running with no problems.Why is it that my administrator user id doesn't seem to have root permissions to create directories? I am trying to setup hosting 3 separate websites and therefore create 3 separate directories to manage all associated files for the 3 websites. Also, I am attempting to read through the tutorials located at:URL...

View 4 Replies View Related

Fedora Installation :: Find A Download For The Desktop Version - SERVER X64 Download

Jun 5, 2010

This is our first time choosing and installing linux. Our other servers are all windows 2008 x64. We were told to install fedora 13. I can only find a download for the desktop version and we're looking for the SERVER x64 download. Could I please get a link?

View 7 Replies View Related

Server :: Rsync Files And Directories From A RedHat Host To A Windows Server 2003R2?

Jun 9, 2011

I'm trying to rsync files and directories from a RedHat linux host(v 4.5 & 4.7) to a Windows server 2003R2 Standard Edition with cygwin running. I'm executing the rsync command from the cygwin shell. The transfer involves rsync'ing approximately 1 TB of data from the linux server to the windows server. After about 280+GB of data transfer, the transfer just dies.

There seems to be no particular file or directory that the transfer stops at. I'm able to rsync GB's of data from other linux hosts to this cygwin server with no problem. Files and directories rsync fine.The network infrastructure is essentially the same regardless of the server being rsync'ed in that it is GB Ethernet running through Cisco GB switches. There appear to be no glitches or hiccups across the network path.

I've asked the folks at rsync.samba.org if they know of any problems or issues. Their response has been neutral in that if the version of rsync that cygwin has ported is within standards then there is no rsync reason this problem should happen.I've asked the cygwin support site if they know of any issues and they have yet to reply. So, my question is whether the version of rsync that is ported to cygwin is standard. If so, is there any reason cygwin & rsync keep failing like this?

I've asked the local rsync on linux guru's and they can't see any reason this should fail from a linux perspective. Apparently I am our company cygwin knowledge base by default.

View 3 Replies View Related

Debian :: Root Acces To Download Folder

Jun 3, 2011

i have downloaded some series into my download folder. apparently i did that as root (cant remember how but ok)now i want to delete some of the folders, but i dont have acces. i tried everything. deleting it while as root, using the command line : " sudo rm -R <folder> was the closest i got and i actually succesfully removed one folder. now the problem is that it was a folder named usr, one word. but when i try to delete a folder with more words, its trying to delete all those words seperatly, like ecery word is a different folder.

View 3 Replies View Related

Server :: Apache - Redirect Sub-directories To Different Server?

Sep 29, 2009

My current setup is:

old server:
www.mydomain.com main site
www.mydomain.com/subdirectories related sites from same server, different directories

I am adding an additional server that I would like to initially only use for the main site, something like this:

new server
www.mydomain.com main site
www.mydomain.com/subdirectories would be pointed back to the old server instead

What's the best way to redirect the traffic for the sites found in sub-directories on the old server?

View 2 Replies View Related

General :: Create A Backup Directory And 3 Directories Within That And Some Files Within The 3 Directories And Then Back Them Up Ot Restore Them?

Dec 19, 2009

i am in need of linux help. iam at college and i need this back/restore script to pass this final part of an assessment. i require a backup script that will not only backup but also restore files to the relevent directories. e.g. users are instructed to store all wordprocessor files in a directory named wp. so i am needing to create a backup directory and 3 directories within that and some files within the 3 directories and then back them up ot restore them. l know i should/have to do this myself by been trying to get/understand info for the last few days and came up with zero.

View 14 Replies View Related

General :: Multiple Users To Create Directories Over SFTP So The New Directories Keep The Same Permissions?

May 15, 2011

I want to make a webserver with multiple users allowed to login through SFTP to a specific folder, www.Multiple users are added, lets say user1 and user2, and all of them belonging to the www-data group. The www directory has an owner www-data and a group www-data.

I have used chmod -R 775 on the www folder, but after I try to create a folder test through my SFTP server (using Filezilla) the group of the directory created has only r and x permissions, and I am not able to log in with the second user user2 and create a directory within www/test due to a lack of w permission to the group.

I also tried using chmod 2775 on www directory, but without luck. Can somebody explain to me, how can I make it so that a newly created directory inherits the root directory group permissions?

View 2 Replies View Related

Server :: Fedora Sending Mails From Root With Non-root Account?

Jul 14, 2011

I've started to get emails that would typically come from [URL] as [URL]. These emails come from services that send out emails (backup programs) directly, or from cronjobs. I've logged in as the non-root account and either sudo su - or su - to root and the restart the service at one point or another. If I login directly as root and bounce the service or cron the emails come across as from root. I don't see anything in my environment variables after I su to indicate what would cause this. I'm not sure where else to look? A pam setting? This seems to have happened between Fedora 10 and 14 (did a bunch of overdue upgrades recently) I've only got Fedora so I don't have anything to compare to. In Fedora 10 I did not have this problem.

View 2 Replies View Related

Server :: Share Directories With NFS?

Aug 7, 2010

If I share directories with NFS, how do I control the access of the users to the information?

View 1 Replies View Related

Server :: NFS With Directories Permissions?

Oct 4, 2010

I'm planning a NFS share for a small enterprise (25 NFS clients). I need to create a directory structure but I'll need to set up differents permissions (rw/ro) to some directories of the tree. I wonder if it's possible to grant access using groups IDs, so that would be ideal for this application. Is it possible? I was thinking that I would kneed some kind of centralized user info, such as NIS or LDAP. Is that necessary?

View 4 Replies View Related

CentOS 5 Server :: Automation Of Ftp Server \ Configure A FTP Server Where Upload And Download Files?

Jan 8, 2011

i have been trying to complete the following project1) Configure a FTP server where we can upload and download files.........2) server must run at 9 pm & stop at 9 am automatically ............although the first task was easy ,i have no idea how to accomplish the 2nd task(not to mention I'm a new user)

View 5 Replies View Related

Server :: Specify Several Different User Login Directories?

Jan 25, 2010

I'm having trouble setting up a vsftp server correctly. What I want to do is allow a number of users to log on (no anonymous user) and each of them to be taken to their own "top level directory" from which they can not escape.

I've got most of this working, but I can't find a way to automatically transfer each user to *their* working area. The "local_root" directive doesn't quite do what I want as everybody has to share the same working area (potentially users could interfere with each other). On the other hand I don't want each user to work from their home directory because there are loads of special files there that I don't want users playing with.

To add one extra compilation, I'm also running an html server on the same machine. One of the directories the html server can see is one of the ftp area root directories (So what I'm trying to do is give one special user ability to ftp files onto the html server. Other users must *NOT* have this ability)

View 6 Replies View Related

Software :: Copying All Directories On A Server?

Aug 9, 2010

I would like to copy all the directories (including data) from the Linux box to an external hard drive.

View 1 Replies View Related







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