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 <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>; [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>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 [EMAIL PROTECTED]
>>
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-net" in
>the body of a message to [EMAIL PROTECTED]

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to