Search Header Logo

OCCiscoLabFrom16-18

Authored by Константин Литвинов

Other

University

OCCiscoLabFrom16-18
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

73 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The /tmp directory is a temporary directory designed as a location where any user can create a temporary file. True or False?

True

False

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The sticky bit permission…

  • …prevents others from removing files they don’t own from a common directory.

  • …changes the group ownership of existing files in a directory.

  • …sets the group ownership of any new file created in a directory.

  • …prevents others from overwriting files they don’t own in common directories.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following commands will set the sticky bit on /shared ?

  • chmod 1777 /shared

  • chmod 6777 /shared

  • chmod 2777 /shared

  • chmod 4777 /shared

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following commands will set setuid for the /usr/bin/program?

  • chmod 4755 /usr/bin/program

  • chmod 1755 /usr/bin/program

  • chmod 2755 /usr/bin/program

  • None of the above

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The setuid permission…

  • …allows a command to be run as the file owner.

  • …reports the output of a script to the owner.

  • …prevents the owner of a file from being changed.

  • …allows files in a directory to be manipulated as by the directory owner.

6.

MULTIPLE SELECT QUESTION

1 min • 1 pt

The setgid permission… (choose two)

  • …allows a command to be run as the group owner of the file.

  • …allows files created in a directory to be owned by the group that owns the directory.

  • …can only be set on files.

  • …prevents the group owner of a file from being changed.

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following commands will set setgid on /shared ?

  • chmod 2777 /shared

  • chmod 1777 /shared

  • chmod 7777 /shared

  • chmod 4777 /shared

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?