Page 1 of 1

FTP user to One of the Folder under HTML folder

PostPosted: Mon Jan 10, 2011 2:28 am
by gmcust3
Code: Select all
[root@go ~]# useradd test
[root@go ~]# groupadd test
groupadd: group test exists
[root@go ~]# gpasswd -a test test
Adding user test to group test
[root@go ~]# chgrp -R test /var/www/html/Leads/
[root@go ~]# chmod -R g+rw /var/www/html/Leads/
[root@go ~]# passwd test
Changing password for user test.
New UNIX password:
BAD PASSWORD: it is too short
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[root@go ~]#


I have created an user with
username : test
password: test

I have an Entry in password file as :

test:x:502:502::/var/www/html/Leads/:/bin/bash

How to give direct access to /var/www/html/Leads/ and "Nowhere Else" ?

I have NOT modified any conf file.

PostPosted: Mon Jan 10, 2011 10:49 am
by williamconley
there have been directions posted for several versions of this (even though it isn't actually vicidial related, it's pure apache :))

best method i've seen is limiting access to the folder within apache either by ip address of the surfer or by user/pass on the folder itself.

both of these methods are pure apache

are you interested in limiting access to a single user or a group/team, or just "people who work for you"?