特牛网址导航

linux 中添加删除ftp用户_删除 chroot_list 用户-CSDN博客

网友收藏
在linux中添加ftp用户,并设置相应的权限,操作步骤如下:1.环境:ftp为vsftp。被设置用户名为test。被限制路径为/home/test2.创建建用户:在root用户下:useradd -d /home/test -m test #增加用户test,并制定test用户的主目录为/home/testpasswd test #为test用户设置密码3.更改用户相应的权限设置:usermod -s /sbin/nologin test #限定用户test不能telnet,只能ft_删除 chroot_list 用户