Search found 6 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: 8085

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: 8085

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: 8085

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: 8085

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: 8085

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: 367

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...