linux添加ftp用户
useradd -d /home/ci/ftp/ -g ftp -s /sbin/nologin ci_admin
-d 指定用户的根目录 -s 登陆后执行的shell,/sbin/nologin表示不允许ssh登陆,只允许ftp连接 -g 表示用户所在的组
linux添加ftp用户
useradd -d /home/ci/ftp/ -g ftp -s /sbin/nologin ci_admin
-d 指定用户的根目录 -s 登陆后执行的shell,/sbin/nologin表示不允许ssh登陆,只允许ftp连接 -g 表示用户所在的组