[Prev][Next][Index][Thread]

Re: Re[2]: ftp server




On 19-Jan-97 Adi Flenner wrote:

>>>  > ncftpd can do it.
>>>  > 
>>>  Right now I can't check it ,but there is a file ,if I remember right 
>>>  named /etc/ftpusers with shells of all users that can do ftp .You
>>>  simply need to add /bin/true there .
>>
>>I meant - it can restrict ftp access to home dirs only...
>>
>
>Can you send me an example how do I do it ?

A sample config file which comes with ncftpd has very detailed comments.


>>it was ....:/usr/home/nahum:/bin/tcsh
>>now   ....:/usr/home/nahum:/bin/fantom
>
>I have allready tried that ( there is a special shell for this purpose
>and it called "true" ) and i didn't work.
>
>telnet was blocked but also personal ftp users were blocked (only
>ftp/anonymous worked)

/bin/true must be in /etc/shells...

BTW, does anybody know if there is a difference between using /bin/true & 
/bin/false for this purporse?

Evgeny

   ____________________________________________________________
  / Evgeny Stambulchik  <fnevgeny@plasma-gate.weizmann.ac.il>  \
 /  Plasma Laboratory, Weizmann Institute of Science, Israel \  \
 |  Phone : (972)8-934-3610  == | == FAX   : (972)8-934-3491 |  |
 |  URL   :    http://plasma-gate.weizmann.ac.il/~fnevgeny/  |  |
 |  Finger for PGP key >=====================================+  | 
 |______________________________________________________________| 


References: