单选题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

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

要将file文件的权限设置为“-r--r--r--”,正确的命令是()。

A.chmod444file

B.chmoda+rfile

C.chmodu+r,g+r,o+rfile

D.chmoda=rfile


正确答案:AD

第2题:

Howcanpermissionsbesetupon/tmpsothatausercannotdeleteanotheruser’sfiles?()

A.chmod+s/tmp

B.chmod775/tmp

C.chmod1777/tmp

D.chmod4755/tmp


参考答案:C

第3题:

如何将shell脚本exam.sh设置为所以用户都能执行( )。

A.chmod a+x exam.sh

B.chmod a+w exam.sh

C.chmod a+r exam.sh

D.chmod u+x exam.sh


参考答案:A

第4题:

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

A.chmod-R677/app

B.chmod-R664/app

C.chmod-r677/app

D.chmod-r664/app


参考答案:A

第5题:

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

第6题:

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

第7题:

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

第8题:

对名为fido的文件用chmod551fido进行了修改,则它的许可权是()。

A.-rwxr-xr-x

B.-rwxr--r--

C.-r--r--r--

D.-r-xr-x—x


正确答案:D

第9题:

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

第10题:

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

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

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

更多相关问题