小编Pra*_*kar的帖子

无法使用 useradd 命令添加用户

我在 CentOS 8.2 上,我无法使用useradd命令添加用户

[root@localhost ~]# useradd -m /home/alice -c "ALICE ADMIN" -s /usr/bin/bash alice
Usage: useradd [options] LOGIN
       useradd -D
       useradd -D [options]

Options:
  -b, --base-dir BASE_DIR       base directory for the home directory of the
                                new account
  -c, --comment COMMENT         GECOS field of the new account
  -d, --home-dir HOME_DIR       home directory of the new account
  -D, --defaults                print or change default useradd configuration
  -e, --expiredate EXPIRE_DATE  expiration date of the new account
  -f, --inactive INACTIVE       password inactivity …
Run Code Online (Sandbox Code Playgroud)

users centos useradd

0
推荐指数
1
解决办法
156
查看次数

标签 统计

centos ×1

useradd ×1

users ×1