terminal.cab

Linux Basics

guestLevel 1Badges and progress0/100 XP, XP to the next levelStreak0

Module 5: Permissions and sudo

Read and change who may do what, and work as another user when it is needed.

Lessons

  1. Reading and setting permissions 9 min
  2. Owners and the starting mode 9 min
  3. Root for a moment 9 min
  4. 755 and still Permission denied Detective 8 min

Module check

Four questions on this module. Once you have answered each one correctly, the module counts as passed.

  1. Question 1 of 4What does the mode 640 mean?

    Check works once you have chosen an answer.

  2. Question 2 of 4You just wrote a script, and starting it gives Permission denied. What is the usual fix?

    Check works once you have chosen an answer.

  3. Question 3 of 4What does sudo -l show you?

    Check works once you have chosen an answer.

  4. Question 4 of 4Why do you edit /etc/sudoers only with visudo? (visudo does not run in this simulator.)

    Check works once you have chosen an answer.

Cheat sheet

The most important command lines of this module on one A4 page, black and white, to print or keep on your phone.

Cheat sheet module 5, Permissions and sudo, 12 commands; the same entries are in the lessons as text