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


ADVERTISEMENT

Fedora Servers :: Vsftpd And Permissions - Unable To Delete Anything

Jan 16, 2009

I'm rather new to Fedora server, but I'm attempting to run a music FTP server, where anonymous users can submit songs into one particular folder (so i can personally tag them), while other user accounts have full read-write. Here we go: I 2 directories, /music and /untagged

I want anonymous users to be able to read both directories, but only be able to upload to /untagged, and not be able to delete anything. I want users that I select to have full read-write-create-delete privileges. how would I go about this with vsftpd?

View 3 Replies View Related

Ubuntu Servers :: Perl .pl, Cgi-bin Apache2 Configuration On 9.10?

Jan 18, 2010

Very new to Ubuntu (linux) in general and read various forum and threads to get .pl file to run on a new Ubuntu 9.10.My cgi-bin is in /var/www/site/cgi-bin. The server will run 2 websites site1 and site 2. Site2 is html only and site1 has some cgi and pl files. Everytime i get to the cgi-bin/other_director the browser tries download the file or even if going directly to index.pl. Please find attached my site-available for both default and site1 for your consideration. I also ran a2ensite site1 and a2ensite site2, the reloaded the apache2 serverQuote:

<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www

[code]....

View 2 Replies View Related

Ubuntu Servers :: Simple Apache2 Configuration File Package Could Get?

Apr 2, 2011

Anyone have a simple apache2 configuration file package I could get?I'm trying to serve a internal network site for files throughout my network, (music, video, etc). I remember when I did this with Redhat 5-6 and all I had to do was redirect the folder I wanted to share over apache and it worked. You could click on the file you wanted and it played, etc.For some reason I can't even get apache2 that ships with Ubuntu 10.04.02 to even have a "It worked!" internal site or anything. I haven't configured apache2 ever before. It seems to have grown from one or two configuration files to five or so!

View 7 Replies View Related

Fedora Servers :: Vsftpd: Allow Remote User To See Configuration .files (i.e. Started From Dot)?

Feb 4, 2010

I'd like to configure vsftpd server in a way to allow remote user (local) too see and edit configuration files in their ftp directory starting from dot (like .htaccess, for example). With default configuration + "local_allowed = yes" it does not appear to be possible:user can successfully upload .file but could neither see if it is in directory nor download it.

View 5 Replies View Related

Ubuntu Servers :: Access My Phpmyadmin - Wrong Permissions On Configuration File - Should Not Be World Writable ?

Mar 16, 2010

I encountered a problem when I am trying to access my phpmyadmin the error came up: Wrong permissions on configuration file, should not be world writable!

View 6 Replies View Related

General :: Vsftpd Chown Upload Permissions?

Mar 30, 2011

vsftpd 2.3.2-3After user uploaded a file it has -rw-------(0600) permissions. Of course user can change permissions manualy to any he likeBut how to set for example 0700 by default?

View 1 Replies View Related

Software :: VSFTPD And Uploaded File Permissions?

Mar 6, 2011

I've got a bachelors in Computer Information Systems from Metro State in MN, but sadly, we didn't spend much time familiarizing ourselves with UNIX based OSs. I'm sure I'll have plenty more questions to pose later as well. I'll pay it back with help for anyone who's working on an evil Nortel router.

I believe I've got VSFTP set up and configured (mostly) the way I want. Here is the config file:

Code:
travis@travish82server:/etc$ cat vsftpd.conf
listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
dirmessage_enable=YES

[Code]...

View 3 Replies View Related

Software :: Iptables And Tc Permissions In Apache2?

Jul 26, 2010

I'm needing to allow apache2 to make modifications to iptables and tc based on my cgi scripts. How can I allow apache2 to interact with these and only these commands?

Additionally, I want apache to be able to read and write files to a specific folder on the disc; what permissions are required for this also? Currently I am getting this error when calling /sbin/iptables Insecure $ENV{PATH} while running with -T switch

View 2 Replies View Related

Debian Configuration :: Coding The Apache2 Charset Configuration?

Mar 5, 2010

I use apache2 with virtual host and I 've a solution of Webftp who run on it. This solution send automatically email when a new client register himself. In the header of the mail I look this "Content-type: text/html". But when I look this mail with Outlook 2007 the accents are bad coding.It's a script who generate this Html content email.

View 1 Replies View Related

Software :: Apache2 Module File System Permissions?

Feb 20, 2010

I'm doing a custom version of mod_musicindex, but can't get the cache to write like it's supposed to.example cache file: /tmp/testing/cacheNow, normally I think setting the dir testing and file cache to www-data:www-data would be enough. Permission denied. I tried 666 as well, figuring why not. Permission denied.777 works, but thats pretty far out there...Am I using the wrong user/group? I figured apache modules would run as apache.Do I need to use 777? 700 or 744 don't work, which is making me think it's not running as apache...

View 2 Replies View Related

General :: Configuration Error In Apache2 / "cannot Adjust Apache2 Service" Error?

Mar 11, 2011

Installation of SUSE 11 server now when I try to configure apache2 (opening port 80) I get a "cannot adjust apache2 service" error??? Can anyone shed some light on this.

View 1 Replies View Related

Ubuntu :: Https Configuration On Apache2 10.04?

Dec 27, 2010

I have configure https for my local intranet on ubuntu.

I have followed following documentation.

[URL]

I am using Self-Signed Certificate.

I have 10 folders inside http://"myipaddress" location.I want to activate/access https:// for specific folder (https://myipaddress/myfolder).

here https getting activated for whole apache2 server.How can i activate it for specific folder.

View 1 Replies View Related

Ubuntu :: Apache2 Server Configuration With MySQL And PHP5

Jul 2, 2009

I am new to linux. Currently I am using ubuntu 8.10 desktop operating system. As part of my academic project. I need to configure webserver to access from external. I installed all these using apt-get packages but when it comes to configuration. I am really not understanding. I read some documentation about this configuration but I couldn't get and fully in confused. I formatted my machine 3 times. When I tried to use localhost in firefox its working fine.

1. I need to change port from 80 to 7574. In port.conf I changed, in place of 80. I kept 7574. After that I restart and tried to access but its not working.

2. My admin provide to me. 7574 port to route it into my machine. When the user hits for suppose:
59.160.188.190:7574/project/route.html
It should goes to:
192.168.202.236:7574/project/route.html
Project folder is in /var/www
I wrote the form, to update user vehicle details. They can able to update their details in mysql server from any where.

3. Just I need the application user can access my files and update from their desktop by using path:
59.160.188.190:7574/project

How to update user details (there is no login form is directly visible to every one) in server from their desktop. What I need to configure.

View 1 Replies View Related

Debian Configuration :: Vsftpd Won't Accept Legit Certificate

Jun 22, 2015

I've been using VSFTPD for years but i can't seem to get over this particular issue. I'm unable to make VSFTPD 3.0.2 work with a legit STARTSSL TLS cert on Debian 8.1 kernel 3.16.0-4-amd64.

500 OOPS: SSL: cannot load RSA certificate.

Openssl 1.0.1k correctly verifies the .PEM file containing both my domain's cert and the intermediate CA one. I've tried adding the private key to the .PEM file and also using it as a separate .key file. Also tried mixing my cert with the intermediate CA one and the private key... to no avail.

Every file is inside /etc where all the conf files reside (also the user specific conf files). File permissions for the .pem and key files are 600.

I'm successfully using the same certificate for NGINX.

Configuration file:
Code: Select alllisten=YES
listen_port=40000
pasv_enable=YES
pasv_min_port=40222
pasv_max_port=40224
listen_address=192.168.1.150

[Code] ....

View 1 Replies View Related

Debian Configuration :: Disable Vsftpd Start On Boot

Mar 15, 2011

I am very pleased with a new Squeeze desktop that I built. I am use to using BSD style init scripts (Slackware, OpenBSD, Arch) and am trying to tweak my system not to start vsftpd at boot. I use vsftpd occasionally to move large files between computers on my LAN. My inittab shows run level 2 as default.

View 3 Replies View Related

Server :: Finding Vsftpd Or SFTP Minimum Configuration?

Jul 16, 2010

I need to establish an FTP server- one with VSFTPD & one with sFTP having at least 300 users in both. My question is what minimum hardware configuration should I go for both to have excellent performance.

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

Server :: Perl Cgi Configuration Under Apache2

Sep 14, 2010

I want to learn perl CGI. I tried to configure it on apache server. But when I was searching about it in the net, I faced some difficulties. Each and every post has been leaded me in different way. I am confused now. I have done this,

1. Installed this libapache2-mod-perl2 module

2. Then I checked the /etc/apache2/mods-available/ using ls command for checking the module availability.Here I mentioned the output of ls command.

[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

Debian Configuration :: Implementing 301 Redirect On Apache2

Sep 8, 2011

I have scoured the internet in search of a way to implement this 301 redirect on Apache2 to no avail. My distro is Debian 5.0 Lenny. I want all request to sepserver.net to be 301 redirected to [URL]. Does anyone know how to do this? I have never done this before so I could really use a detailed explanation of how to implement this type of 301 that will work.

View 2 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 :: 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 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

Debian Configuration :: Install StartSSL Certificate For Apache2 In 8.1

Jul 17, 2015

Having tried different approaches to install (and run!) a webserver certificate from StartSSL on an Apache2 webserver, I had no success at all since three days. There are many web pages out there in the internet, each is naming it other ways, i.e. one speaks from server./etc/ssl/certs/server.pem, another name it /etc/ssl/private/server.key etc. etc.

Is there a common-sense description how to name a private key, how to name the public key, and just important again, where to place them and what what rights they must have to protect them? And, still important, which config file to adopt (default-ssl, or default-ssl.conf).

By the way, I implemented already the certificates in an other environments, and they are all working (tested with the ssl checker [URL] .....).

How to find a common-sense web page for Apache2 on Debian 8.1?

View 8 Replies View Related

Debian Configuration :: How To Integrate Apache2 With Freeradius For Authentication

Feb 4, 2016

I am trying in debian 8.2 but i am not found packet libapache2-mod-auth-radius whereas i have been include dvd1-3 debian and dvd1-2 update debian in my system. Where is that packet stand?

View 1 Replies View Related

Debian Configuration :: Apache2 (PHP) Add Default Charset ISO-8859-1?

Apr 9, 2010

I've been working on my servers, one of them is Ubuntu and the other one is Debian (Newest), and both seams to have a problem with charset configuration.

They wont register ISO-8859-1, insted it says no value when i look at it with phpinfo() function. It's importen that i feel this is working.

View 1 Replies View Related







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