Search found 10 matches

by bwd2013
2013/01/27 22:01:15
Forum: CentOS 6 - Networking Support
Topic: How to restrict user FTP to specific folder?
Replies: 7
Views: 6977

Re: How to restrict user FTP to specific folder?

Hi vonskippy, I am using CENTOS6, do you know what I should be looking for here? I want to chroot jail the user to /var/www/theirname not /home/theirname (every guide I've looked at only tells me how to chroot jail them to /home/theirname, which is no use for me). I found this guide - does this look...
by bwd2013
2013/01/27 20:44:36
Forum: CentOS 6 - Networking Support
Topic: How to restrict user FTP to specific folder?
Replies: 7
Views: 6977

Re: How to restrict user FTP to specific folder?

I should have said in my second post that I only installed vsftpd this afternoon, as I could only find instructions for chroot-ing a user for vsftpd, and didn't know what ftp daemon was running on my server. I have to say that I wish there was a simple webpage that would explain the basics that most...
by bwd2013
2013/01/27 20:41:39
Forum: CentOS 6 - Networking Support
Topic: How to restrict user FTP to specific folder?
Replies: 7
Views: 6977

Re: How to restrict user FTP to specific folder?

Hi, this is the last login in /var/logs/secure Jan 27 23:37:27 server1 sshd[13883]: Accepted password for root from xx.xxx.xxx.xxx port xxxxx ssh2 Jan 27 23:37:27 server1 sshd[13883]: pam_unix(sshd:session): session opened for user root by (uid=0) Jan 27 23:37:27 server1 sshd[13883]: subsystem reque...
by bwd2013
2013/01/27 18:10:24
Forum: CentOS 6 - Networking Support
Topic: How to restrict user FTP to specific folder?
Replies: 7
Views: 6977

Re: How to restrict user FTP to specific folder?

Also, I tried editing the /etc/vsftpd/vsftpd.conf file, to change it to chroot_local_user=YES which I believe would make users chroot to their home directory, but it made no difference after restarting vsftpd. I then turned off vsftpd using service vsftpd stop but Filezilla still continued to work, ...
by bwd2013
2013/01/27 16:33:50
Forum: CentOS 6 - Networking Support
Topic: How to restrict user FTP to specific folder?
Replies: 7
Views: 6977

How to restrict user FTP to specific folder?

Hi, I have a server with multiple websites on it, and one of them I want to give access to the person I made the website for, so they can edit some of the webpages. I have created a user, using their name, and a password, but I can't work out how to set up vsftpd.conf so that when they FTP in, they ...
by bwd2013
2013/01/06 21:25:01
Forum: CentOS 6 - Networking Support
Topic: How do I link to two another directory off /var/www
Replies: 2
Views: 249

How do I link to two another directory off /var/www

Hi, I have my main site at /var/www/html and then a second site at /var/www/secondsite I want to make a link to the secondsite, from the first site, I've tried Secondsite but it doesn't work. I realise that everything above the /html folder is unnaccessible from a browser, what am I doing wrong? Thi...
by bwd2013
2013/01/06 16:29:28
Forum: CentOS 5 - Webhosting Support
Topic: VirtualHosts - which default web directory?
Replies: 8
Views: 92738

Re: VirtualHosts - which default web directory?

Should I be adding the VirtualHosts information for five or six sites to the end of the httpd.conf file, or should I be using the conf/vhosts directory, and making new .conf files in there, one for each site? These are the last lines in my httpd.conf file: # include VirtualHosts config files Include...
by bwd2013
2013/01/06 16:05:09
Forum: CentOS 5 - Webhosting Support
Topic: VirtualHosts - which default web directory?
Replies: 8
Views: 92738

Re: VirtualHosts - which default web directory?

Okay, I think I've worked it out, through trial and a lot of error :-D I have to keep the main site in /var/www/html otherwise Apache will just display the Apache Welcome screen, if that directory is empty. Then I create /var/www/site1 /var/www/site2 etc. and use VirtualHosts to redirect incoming re...
by bwd2013
2013/01/06 13:58:34
Forum: CentOS 5 - Webhosting Support
Topic: VirtualHosts - which default web directory?
Replies: 8
Views: 92738

Re: VirtualHosts - which default web directory?

Hi Trevor, thanks very much for your help, much appreciated. What do I do about the main site on this server (the first one I've loaded), which is in /var/www/html ? I wasn't sure how the server knows to look there for the site, when I visit the IP address of the server. I tried editing the followin...
by bwd2013
2013/01/06 12:16:59
Forum: CentOS 5 - Webhosting Support
Topic: VirtualHosts - which default web directory?
Replies: 8
Views: 92738

VirtualHosts - which default web directory?

Hi, I'm fairly new to this and am setting up a CentOS 6 VPS, which I want to have five or six sites hosted on, and I've been reading this tutorial here: http://www.xenocafe.com/tutorials/linux/centos/apache_web_server/index.php Halfway down it says: "Creating the Web Site Directory Structure" "Our w...

Go to advanced search