当前位置: 技术问答>linux和unix
VSFTPD 的anonymous的默认目录怎么改变, 会的帮下小弟啊!
来源: 互联网 发布时间:2015-11-29
本文导语: VSFTPD 的anonymous的默认目录怎么改变,还有怎么锁定本地用户的目录 | # You may specify an explicit list of local users to chroot() to their home # directory. If chroot_local_user is YES, then this list beco...
VSFTPD 的anonymous的默认目录怎么改变,还有怎么锁定本地用户的目录
|
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
chroot_list_enable=YES
# (default follows)
chroot_list_file=/etc/vsftpd/chroot_list
vi /etc/vsftpd/chroot_list
写入你要限制目录访问的用户名 如
ftp
ftp1
匿名的在conf里
anon_root=/home
anon_upload_enable=NO
anon_other_write_enable=NO
anon_mkdir_write_enable=NO
anon_world_readable_only=YES
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
chroot_list_enable=YES
# (default follows)
chroot_list_file=/etc/vsftpd/chroot_list
vi /etc/vsftpd/chroot_list
写入你要限制目录访问的用户名 如
ftp
ftp1
匿名的在conf里
anon_root=/home
anon_upload_enable=NO
anon_other_write_enable=NO
anon_mkdir_write_enable=NO
anon_world_readable_only=YES
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。