怎么限制普通用户登录ftp问题!!!!

由 Snoopy 在 05-03-2003 19:47 发表:

怎么限制普通用户登录ftp问题!!!!

现在本地用户登录ftp时,几乎系统95%的目录都可以浏览

怎样设定让它只能在ftp目录不让它浏览别的呢?

就像匿名一样,,,


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 n0fe@r 在 05-03-2003 23:45 发表:


修改用户的家目录为这样/home/username/./

关键最后的/./,这样用户不能往/home/username以上的目录退了.

另外一些常见的ftpd都提供了类似功能,上面那个是通用的办法.


由 doooom 在 05-04-2003 13:28 发表:


这样的方法在bsd下面好象补台好用


发行版再好,不如自己做的lfs好。


由 Snoopy 在 05-04-2003 13:39 发表:


本来是这样的coloursnoopy❌500:500::/var/ftp/:/bin/bash

改成下面这样都不行,,,

coloursnoopy❌500:500::/var/ftp/./:/bin/bash

<b

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus