Re: FTP Lockdown

From: Tim Burden (tburden@zeuter.com)
Date: Mon Jun 05 2000 - 01:08:55 EST


Yes, from the ftpaccess man page:
add a line like this to /etc/ftpaccess
restricted-uid %500-599

That restricts all non-root users who have been added using adduser with no
options, as these are assigned UIDs starting at 500, from cd-ing up out of
their home directories.

-----Original Message-----
From: Thomas Angst <tangst@granitsoft.ch>
To: tony@csltech.co.uk <tony@csltech.co.uk>; linux-net@vger.rutgers.edu
<linux-net@vger.rutgers.edu>
Date: Saturday, June 03, 2000 8:48 AM
Subject: Re: FTP Lockdown

>To solve your problem:
>add the following line to /etc/ftpaccess
>guestgroup ftponly users
>
>but remember: you MUST have a bin directory in each users home folder which
>includes the file ls. wuftp has no own directory command.
>
>BTW: has anyone an idea to solve this without a bin folder in each users
>home?
>
>greeting
>Thomas
>
>----- Original Message -----
>From: catchall <catchall@csltech.co.uk>
>To: <linux-net@vger.rutgers.edu>
>Sent: Friday, June 02, 2000 9:35 PM
>Subject: FTP Lockdown
>
>
>>
>> Hi
>>
>> How can I stop FTP users on a Redhat 6.1 box browing below /home
>> directory into /etc and other directories?
>>
>> They can view the files and folders! (not good).
>>
>> When setting up the user I just "adduser" and it adds the user and
>> users home directory - but all the FTP users can view other folders
>> and files.
>>
>> Any info would be appreciated.
>>
>> regards
>>
>> Tony
>>
>> -
>> To unsubscribe from this list: send the line "unsubscribe linux-net" in
>> the body of a message to majordomo@vger.rutgers.edu
>>
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-net" in
>the body of a message to majordomo@vger.rutgers.edu

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:33 EST