【单选题】创建一个新用户user01,设置其主目录为/home/user01。A.#useradd –s /home/user01 -m user01B.#useradd –d /home/user01 user01C.#useradd –h /home/user01 -m user01D.#useradd –c /home/user01 -m user01

【单选题】创建一个新用户user01,设置其主目录为/home/user01。

A.#useradd –s /home/user01 -m user01

B.#useradd –d /home/user01 user01

C.#useradd –h /home/user01 -m user01

D.#useradd –c /home/user01 -m user01


参考答案和解析
useradd

相关考题:

将一Web站点的主目录设置为D:\Webroot,用户需要通过浏览器访问C:\Download文件夹。通过创建下列哪个对象可以实现该功能?() A.创建一个虚拟主机B.创建一个新Web站点C.创建一个虚拟目录D.为Web站点指定主机头

出创建用户ID是200,组ID是1000,用户主目录为/home/user01的新用户user01的正确命令()A.adduser-u:200-g:1000-h:/home/user01user01B.adduser-u=200-g=1000-d=/home/user01user01C.useradd-u200-g1000-d/home/user01user01D.useradd-u200-g1000-h/home/user01user01

公司要为每个员工在服务器上分配一个不同的FTP访问目录,且每个用户只能访问自己目录中的内容,需要进行以下操作:(6)和(7)。(6)A.为每个员工分别创建一个Windows用户 B.在“内部FTP站点”中为每个员工分别创建一个用户 C.为每个员工分别设置一个用户名和密码(7)A.在主目录下为每个用户创建一个与用户名相同的子目录B.在主目录下的Local User子目录中为每个用户创建一个与用户名相同的子目录C.在主目录下的Local User子目录中为每个用户创建一个子目录,并在FTP中设置为用户可访问D.在主目录下为每个用户创建一个与用户名相同的虚拟目录

作为一个管理员,你希望在每一个新用户的目录下放一个文件.bashrc,那么你应该在哪个目录下放这个文件,以便于新用户创建主目录时自动将这个文件复制到自己的目录下。A./etc/skel/B./etc/default/C./etc/defaults/D./etc/profile.d/

在缺省用户目录下创建一个新用户alex的Linux命令是(62)。A.useradd -d /home/alex alexB.useradd -d /usr/alex alexC.useradd -D /home/alex alexD.useradd -D /usr/alex alex

用useraddstd命令添加一个用户,这个用户的主目录是什么?() A./etc/stdB./var/stdC./home/stdD./bin/std

●在缺省用户目录下创建一个新用户alex的Linux命令是(62)。(62) A.useradd -d /home/alex alexB.useradd -d /usr/alex alexC.useradd -D /home/alex alexD.useradd -D /usr/alex alex

某公司采用linux作为服务器的操作系统。作为一个管理员,你希望在每一个新用户的主目录下放一个文件.bashrc,那么你应该在哪个目录下放这个文件,以便于新用户创建主目录时自动将这个文件复制到自己的目录下()。A、/rootB、/etcC、/skelD、/etc/skel

作为一个管理员,你希望在每一个新用户的目录下放一个文件.bashrc,那么你应该在哪个目录下放这个文件,以便于新用户创建主目录时自动将这个文件复制到自己的目录下:()。A、/etc/skel/B、/etc/default/C、/etc/defaults/D、/etc/profile.d/

在Oracle中,创建一个新用户可以用()语句。A、CREATEUSERB、ALTERUSERC、DELETEUSERD、DROPUSER

创建一个新用户之后,该用户的家目录在/root目录内。

用“useradd jerry”命令添加一个用户,这个用户的主目录是什么()A、/home/jerryB、/bin/jerryC、/var/jerryD、/etc/jerry

将一Web站点的主目录设置为D:///Webroot,用户需要通过浏览器访问C:///Download文件夹。通过创建下列哪个对象可以实现该功能?()A、创建一个虚拟主机B、创建一个新Web站点C、创建一个虚拟目录D、为Web站点指定主机头

默认情况下管理员创建了一个用户,就会在()目录下创建一个用户主目录。A、/usrB、/homeC、/rootD、/etc

当利用CreateUserWizard控件创建新用户时,密码不能随便设置,必须符合以下3项条件:()、()、()

You execute the following set of commands to create a database user and to grant the system privileges in your production environment.  SQL CREATE USER user01  IDENTIFIED BY oracle DEFAULT TABLESPACE tbs1  TEMPORARY TABLESPACE temp PROFILE default  /  SQL GRANT create session, create table TO user01; While executing the command to create a table, the user gets the following error message and the CREATE TABLE.. command fails.  ERROR at line 1: ORA-01950: no privileges on tablespace  What could be the possible reason for this error message?()A、The tablespace TBS1 is full.B、The user is not the owner of the SYSTEM tablespace.C、The user does not have quota on the TBS1 tablespace.D、The user does not have sufficient system privileges to create table in the TBS1 tablespace.E、The user does not have sufficient privileges to create table on the default permanent tablespace.

用useraddstd命令添加一个用户,这个用户的主目录是什么?()A、/etc/stdB、/var/stdC、/home/stdD、/bin/std

现需添加一新用户helen并设置其用户主目录为/helen,密码为空。还需添加新组群temp,指定其GID为600,并将temp组群作为用户helen的附加组群。请依次写出相应执行的命令。

填空题当利用CreateUserWizard控件创建新用户时,密码不能随便设置,必须符合以下3项条件:()、()、()

多选题以下哪些说法正确:()Auseradd -m newusr增加用户账号newusr并且创建其主目录/home/newusrBuserdel newusr删除用户账号newusrCgroupadd newgrp 增加新用户组newgrpDgroupdel newgrp 删除新用户组

单选题默认情况下管理员创建了一个用户,就会在()目录下创建一个用户主目录。A/usrB/homeC/rootD/etc

单选题在Oracle中,创建一个新用户可以用()语句。ACREATEUSERBALTERUSERCDELETEUSERDDROPUSER

单选题用useraddstd命令添加一个用户,这个用户的主目录是什么?()A/etc/stdB/var/stdC/home/stdD/bin/std

单选题You execute the following set of commands to create a database user and to grant the system privileges in your production environment.  SQL CREATE USER user01  IDENTIFIED BY oracle DEFAULT TABLESPACE tbs1  TEMPORARY TABLESPACE temp PROFILE default  /  SQL GRANT create session, create table TO user01; While executing the command to create a table, the user gets the following error message and the CREATE TABLE.. command fails.  ERROR at line 1: ORA-01950: no privileges on tablespace  What could be the possible reason for this error message?()AThe tablespace TBS1 is full.BThe user is not the owner of the SYSTEM tablespace.CThe user does not have quota on the TBS1 tablespace.DThe user does not have sufficient system privileges to create table in the TBS1 tablespace.EThe user does not have sufficient privileges to create table on the default permanent tablespace.

单选题某公司采用linux作为服务器的操作系统。作为一个管理员,你希望在每一个新用户的主目录下放一个文件.bashrc,那么你应该在哪个目录下放这个文件,以便于新用户创建主目录时自动将这个文件复制到自己的目录下()。A/rootB/etcC/skelD/etc/skel

问答题现需添加一新用户helen并设置其用户主目录为/helen,密码为空。还需添加新组群temp,指定其GID为600,并将temp组群作为用户helen的附加组群。请依次写出相应执行的命令。

单选题将一Web站点的主目录设置为D:///Webroot,用户需要通过浏览器访问C:///Download文件夹。通过创建下列哪个对象可以实现该功能?()A创建一个虚拟主机B创建一个新Web站点C创建一个虚拟目录D为Web站点指定主机头

单选题用“useradd jerry”命令添加一个用户,这个用户的主目录是什么()A/home/jerryB/bin/jerryC/var/jerryD/etc/jerry