itgle.com

单选题The system administrator has requested that all setuid/setgid bits be removed from executables in application filesystem. Which command will achieve this?()A chmod -R o-s /applicationB chmod -R ug-s /applicationC chmod -R -s -o /applicationD chmod -R -

题目
单选题
The system administrator has requested that all setuid/setgid bits be removed from executables in application filesystem. Which command will achieve this?()
A

chmod -R o-s /application

B

chmod -R ug-s /application

C

chmod -R -s -o /application

D

chmod -R -s -ug /application


相似考题
更多“单选题The system administrator has requested that all setuid/setgid bits be removed from executables in application filesystem. Which command will achieve this?()A chmod -R o-s /applicationB chmod -R ug-s /applicationC chmod -R -s -o /applicationD chmod -R -”相关问题
  • 第1题:

    Howcanpermissionsbesetupon/tmpsothatausercannotdeleteanotheruser’sfiles?()

    A.chmod+s/tmp

    B.chmod775/tmp

    C.chmod1777/tmp

    D.chmod4755/tmp


    参考答案:C

  • 第2题:

    The system administrator has requested that all setuid/setgid bits be removed from executables in application filesystem. Which command will achieve this?()

    A. chmod -R o-s /application

    B. chmod -R ug-s /application

    C. chmod -R -s -o /application

    D. chmod -R -s -ug /application


    参考答案:B

  • 第3题:

    Howshouldread,writeandexecutepermissionsfor‘group’and‘other’begrantedtoallfilesanddirectorieswithinthe/appfilesystem?()

    A.chmod-R677/app

    B.chmod-R664/app

    C.chmod-r677/app

    D.chmod-r664/app


    参考答案:A

  • 第4题:

    下面()命令可以改变test目录中所有文件的权限。

    • A、$chmod–a755 test
    • B、$chmod–R755 test
    • C、$chmod–X755 test
    • D、chmod–o755test

    正确答案:B

  • 第5题:

    在UNIX中,可用ls命令察看文件属性,一个文件file1的属性为“RW_R_ _ R _ _”,如果对文件赋予本用户读写执行权限,组内用户和其它用户读写权限,则使用()命令。

    • A、chmod g+rw,o+r file1
    • B、chmod 755 file1
    • C、chmod g+rwx file1
    • D、chmod 775 file1

    正确答案:B

  • 第6题:

    用下列哪句语句给/opt/package/scripts目录赋权限()。

    • A、chmod -R 337
    • B、chmod -R 257
    • C、chmod -R 777
    • D、chmod -R 256

    正确答案:C

  • 第7题:

    How can permissions be set up on /tmp so that a user cannot delete another user’s files?()

    • A、chmod +s /tmp
    • B、chmod 775 /tmp
    • C、chmod 1777 /tmp
    • D、chmod 4755 /tmp

    正确答案:C

  • 第8题:

    Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?()

    • A、 chmod 557 /bin/foo
    • B、 chmod o+rwx.a+rx/bin/foo
    • C、 chown 557 /bin/foo
    • D、 chmod 755/bin/foo

    正确答案:D

  • 第9题:

    Which single compound ’chmod’ command would achieve the same result as these four commands?() 

    • A、chmod go+w mydir
    • B、chmod go-w mydir
    • C、chmod go-w-x mydir
    • D、chmod go-w+x mydir

    正确答案:D

  • 第10题:

    How should read, write and execute permissions for ‘group’ and ‘other’ be granted to all files and directories within the /app filesystem?()

    • A、chmod -R 677 /app
    • B、chmod -R 664 /app
    • C、chmod -r 677 /app
    • D、chmod -r 664 /app

    正确答案:A

  • 第11题:

    The system administrator has requested that all setuid/setgid bits be removed from executables in application filesystem. Which command will achieve this?()

    • A、chmod -R o-s /application
    • B、chmod -R ug-s /application
    • C、chmod -R -s -o /application
    • D、chmod -R -s -ug /application

    正确答案:B

  • 第12题:

    单选题
    Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?()
    A

     chmod 557 /bin/foo

    B

     chmod o+rwx.a+rx/bin/foo

    C

     chown 557 /bin/foo

    D

     chmod 755/bin/foo


    正确答案: D
    解析: 暂无解析

  • 第13题:

    Asystemadministratorwantstogivefullread/write/excuteaccesstotheownerandgroupofthe/stuffdirectoryandallsubdirectoriesandfiles,butonlyallowread/executeforothers.Whatcommandwouldtheadministratoruse?()

    A.chmod-R775/stuff

    B.chmod-h002/stuff

    C.chmod-R577/stuff

    D.chmodug+rwx,o+rx/stuff


    参考答案:A

  • 第14题:

    An application owner wants to grant write permission to all users for all the files and directories in the application directory. Which of the following is the correct command?()

    A. chmod -R u+rw /application

    B. chmod -r u+rw /application

    C. chmod -R o+rw /application

    D. chmod -r o+rw /application


    参考答案:C

  • 第15题:

    Linux系统在默认情况下将创建的普通文件的权限设置为( ),若要将/test文件的权限设置为所有用户都具有读写执行的权限,则正确的命令是(请作答此空)。

    A.chmod-rw-r--r--/test
    B.chmod test-r--r--r--
    C.chmod-777/test
    D.chmod-111/test

    答案:C
    解析:
    普通文件是不可执行的,自然不会有x权限。此外,文件拥有人缺省是具备读写权限的,而其他人只具备读权限。

  • 第16题:

    在linux中,文件exer1的访问权限为rw-r--r--,现要增加所有用户的执行权限和同组用户的写权限,下列命令正确的是()

    • A、chmod?a+x,?g+w?exer1
    • B、chmod?775?exer1
    • C、chmod?765exer1
    • D、chmod?g?w?exer1

    正确答案:A,B

  • 第17题:

    文件exer1的访问权限为rw-r--r--,现要增加所有用户的执行权限和同组用户的写权限,下列命令正确的是()。

    • A、chmod a+xg+w exer1
    • B、chmod 765 exer1
    • C、chmod o+x exer1
    • D、chmod g+w exer1

    正确答案:A

  • 第18题:

    A system administrator wants to give full read/write/excute access to the owner and group of the /stuff directory and all subdirectories and files, but only allow read/execute for others. What command would the administrator use?()

    • A、chmod -R 775 /stuff
    • B、chmod -h 002 /stuff
    • C、chmod -R 577 /stuff
    • D、chmod ug+rwx,o+rx /stuff

    正确答案:A

  • 第19题:

    更改文件夹的所有者使用()

    • A、chmod -R
    • B、chmod
    • C、chown -R
    • D、chgrp -R

    正确答案:C

  • 第20题:

    Which command will configure a directory /commonfiles so that a user cannot delete files owned by other users in the same group()?  

    • A、chmod +S /commonfiles
    • B、chmod 4775 /commonfiles
    • C、chmod 1777 /commonfiles
    • D、chmod -orgx /commonfiles

    正确答案:C

  • 第21题:

    An application owner wants to grant write permission to all users for all the files and directories in the application directory. Which of the following is the correct command?()

    • A、chmod -R u+rw /application
    • B、chmod -r u+rw /application
    • C、chmod -R o+rw /application
    • D、chmod -r o+rw /application

    正确答案:C

  • 第22题:

    如果执行命令#chmod 746 file.txt,那么该文件的权限是()。

    • A、rwxr--rw-
    • B、rw-r--r--
    • C、--xr—rwx
    • D、rwxr--r—

    正确答案:A

  • 第23题:

    单选题
    如果执行命令#chmod746file.txt,那么该文件的权限是()。
    A

    rwxr--rw-

    B

    rw-r--r—

    C

    --xr--rwx

    D

    rwxr--r—


    正确答案: A
    解析: 暂无解析

  • 第24题:

    单选题
    The system administrator has requested that all setuid/setgid bits be removed from executables in application filesystem. Which command will achieve this?()
    A

    chmod -R o-s /application

    B

    chmod -R ug-s /application

    C

    chmod -R -s -o /application

    D

    chmod -R -s -ug /application


    正确答案: B
    解析: 暂无解析