FTP user to One of the Folder under HTML folder

Any and all non-support discussions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

FTP user to One of the Folder under HTML folder

Postby gmcust3 » Mon Jan 10, 2011 2:28 am

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.
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Postby williamconley » Mon Jan 10, 2011 10:49 am

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"?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 52 guests