Cyberlium

Linux › Module 3 › Lesson 5

BeginnerModule 3Lesson 5/5

Quiz — Permissions

Quiz on users, groups, chmod, chown, and sudo

10 min+40 XP10 quiz
Module progress5 of 5

Opening

Module 3 Knowledge Check — apply users, bits, and sudo

You mapped UID/GID, read /etc/passwd, set rwx modes, and treated root as a blast radius. These ten APPLY scenarios test defender decisions — not trivia. Think like someone who just got a shell on a box they own.

Knowledge Check

1

APPLY: A web app "only worked" after someone started it with sudo and left it running. Compromise of the app now means what?

Multiple choice

Knowledge Check

2

APPLY: You need a teammate to read deploy-notes.txt but not change it, and you must keep writing. Best mode on a file you own?

Multiple choice

Knowledge Check

3

APPLY: ls -l /etc/shadow shows -rw-r----- root shadow. Why can your unprivileged account not cat it, even though /etc/passwd is readable?

Multiple choice

Knowledge Check

4

APPLY: find reports a world-writable backup.sh that root's cron runs nightly. Why is that more than a messy permission?

Multiple choice

Knowledge Check

5

APPLY: id shows uid=1000(dev) gid=1000(dev) groups=1000(dev),33(www-data). The site's config is 640 root:www-data. Can dev read it?

Multiple choice

Knowledge Check

6

APPLY: New files in a shared drop folder keep appearing as -rw-rw-rw-. Which quiet setting should you inspect first?

Multiple choice

Knowledge Check

7

APPLY: True or False: sudo -i is safer than daily GUI browsing as root because it still logs, but leaving that root shell open all afternoon still expands blast radius.

True or False

Knowledge Check

8

APPLY: Which two are PoLP-aligned Linux permission moves? (Select 2)

Select all that apply

Knowledge Check

9

APPLY: A junior admin edits /etc/sudoers in gedit, saves a typo, and sudo now says syntax error. What tool would have reduced this risk?

Multiple choice

Knowledge Check

10

APPLY: True or False: chmod 755 on a script you own typically lets others execute it if they can reach the path, but not overwrite it.

True or False

← Previous

Answer all 10 knowledge checks to continue. (0/10 answered)