User Access restriction.
usergroup
freebsd at amadeus.demon.nl
Tue May 30 00:28:41 PDT 2006
On 30 mei 2006, at 03:33, GiL A. Virtucio wrote:
> to restrict users from navigating outside their home directories
> through FTP try using an FTP server that support chrooting. you
> might want to check proftpd. http://www.proftpd.org/
> it is also included in the ports collection.
>
> hope this helps :)
>
>
> =================================
> Gil A. Virtucio
> Janitor/Kolektor/Messenger/Driver
> Asia Solution Phillippines Inc.
> 28/F Antel Global Corporate Center
> 3 Doña Julia Vargas Avenue,
> Ortigas Center, Pasig
> Office # : +63-2-687-0692 loc. 103
> Mobile # : +63-916-3989695
> http://www.gihl.eu.org/
> =================================
> ----- Original Message ----- From: "Marwan Sultan"
> <dead_line at hotmail.com>
> To: <freebsd-questions at freebsd.org>
> Sent: Tuesday, May 30, 2006 5:15 AM
> Subject: User Access restriction.
>
>
>> Hello Everyone,
>>
>> I have a server Up and running, 4.8-R, (well why 4.8? its up
>> since years)
>> However, this server is for commercial use, recently, we started
>> Home pages hosting,
>> which requier me to give the user access to the shell,
>>
>> Well, the question,
>>
>> Lets say, I have 2 groups, Group1, Group2
>> under Groupe1 is the webpages shell accounts (user accounts)
>> and group2, just shell users,
>>
>> If user1 from Group1 will ftp or ssh to the box, his default home
>> path will be
>> /home/group1/user1
>> But, he still can navigate thro his FTP or ssh to see the
>> directories and read files of group1 or
>> group2, and play around lilbit,
>>
>> PLEASE how to restrict this user from going outside his shell
>> account and restrict him from
>> viewing others folders and webpages ? If i will chmod to something
>> limited, then even when
>> he browse the web to his webpage it wont work,
>>
>> So how to have the restriction in the same time viewing his web
>> thro any browser worldwide?
>>
>> Sorry for the long email.
>>
>> Thank you,
>> Marwan
>>
>>
or have a look at "man ftpchroot"
Arno
More information about the freebsd-questions
mailing list