日期:2014-05-16  浏览次数:20726 次

在linux下的proftp 怎么不能创建用户呢
我这周的工作是把公司的一个服务器FTP创建一个用户,这个用户可以上传和下载,但是不能删去,还要指定目录。
我下了这条命令:useradd jdwq -d /opt -g ftp 但是出现了一句unknow group ftp 因为才上班一个月不到,我师父只叫我弄,我百度了那么多,但是都没成功,希望各位大师能帮帮忙啊,谢谢了。
  小弟拜上

------解决方案--------------------
那就先groupadd添加ftp这个组。
------解决方案--------------------
C/C++ code
[User:root Time:07:53:08 Path:/home/liangdong/php]$ groupadd -h
Usage: groupadd [options] GROUP

Options:
  -f, --force                   exit successfully if the group already exists,
                                and cancel -g if the GID is already used
  -g, --gid GID                 use GID for the new group
  -h, --help                    display this help message and exit
  -K, --key KEY=VALUE           override /etc/login.defs defaults
  -o, --non-unique              allow to create groups with duplicate
                                (non-unique) GID
  -p, --password PASSWORD       use this encrypted password for the new group
  -r, --system                  create a system account