Skip to content

← Week 5 - Users, groups and permissions

Week 5 - Users, groups and permissions: notes

Status: Not started

Exercise 1

Practice chmod (symbolic and octal), chown, chgrp, umask, sticky bit, setgid directories.

Commands, results, what surprised me.

Exercise 2

Create users and groups, a shared project directory, and test access from different users.

Commands, results, what surprised me.

Exercise 3

Understand sudo and /etc/sudoers (visudo); add a limited sudo rule for one command.

Commands, results, what surprised me.

Exercise 4

Look at ACLs with getfacl and setfacl.

Commands, results, what surprised me.

Deliverable

A shared directory setup that works for two users, documented with the exact commands.

Write-up.