Vsftp

Mar 9, 2007

i have created a account for it but how do i make the account point to a directory that i wish for example www.mysite.com/directory

View 1 Replies


ADVERTISEMENT

Vsftp

Apr 22, 2008

I just installed a new centos 5.1 and downloaded and compiled vsftp manually

I start creating user
# adduser -m admin1
# passwd admin1
pasword: 123456

# ftp localhost
Connected to host.
220 (vsFTPd 2.0.5)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (localhost:root): admin1
331 Please specify the password.
Password: 123456
500 OOPS: cannot change directory:/home/admin1
Login failed.
ftp>quit

# grep admin1 /etc/passwd
admin1:x:500:500::/home/admin1:/bin/bash

I read some other forum it might be SELinux so I have also changed this inside /etc/selinux/config

Code:
SELINUX=disabled
SELINUXTYPE=targeted
SETLOCALDEFS=0

I still cannot login.

View 8 Replies View Related

Weird Vsftp/ftp

Aug 4, 2007

Got a couple of questions on my Centos server.

It is my only (at present), and main production web server located in a datacentre in the Uk.

I am running Centos 4-4.2 since a hardware failure earlier this year neccesitated a stressful overnight ssh reinstall.

I have it setup pretty well now (I think!) but I cant work out how I am able to sftp into the server!

Reason being, I have installed VSFTPD (made sure there were no ftpd daemons installed or running), and when I stop this service via sshd, it does not affect the fact that I can then sftp in to the server using an ftp client such as wsftp pro...

Also, even when I change the vsftpd.conf to jail certain ftp users to a directory, it seems to have no effect and ftp works exactly as it did before without imposing the restrictions?

There is no other ftp daemon showing up in the process list.

I have tripwire installed, rootkit hunter, and cisco hardware firewall in conjunciton with ip tables.

I dont 'think' its hacked!

Also, the last time I upgraded centos was from an early v4 to 4.4.2 due to major hardware failure on the server and the fact I didnt have a mirrored OS/server backup (due to cost) *but I did of course have all my sites and databases etc)
I am rather scared to upgrade Centos kernel to the latest version in part due to horror stories I have heard from others (NOT regarding Centos specifically) from kernel upgrades going wrong or compatibility issues etc that mean that I am very very reluctant to do it on our main production server..

I am imminently buying another server to act as a failover and backup for the existing one,but is keeping my current Centos install as it is and holding out to wait for a test server the best thing to do? (are there any serious security issues in 4.4.2? bugs etc?)
Or should I have confidence and get Yum to do its business!

View 6 Replies View Related

Apache :: Created FTP Account With Vsftp And Files Uploaded Are Not Readable

Jan 17, 2014

I created a FTP account with vsftp and files uploaded are not readable via www-data

View 1 Replies View Related







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