Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Preview

SESP task 4a: Roles, permissions and hardening

This is the first page of the lesson. Read it and have a go at the activities. The rest is in the full lesson.

75 minutes

Everyone can open payroll

A new volunteer joins a charity. On day one they open the payroll folder by accident and see what everybody earns.

Nobody did anything wrong. The folder was open to everyone, and an unneeded service ran on the server. Good set-up closes these doors before the first day.

By the end of this lesson

Note

I can give people roles with the right permissions and close what a system does not need.

Key words

WordWhat it means
Networkcomputers and devices joined together so they can share data
Rolea job a person has, such as finance or help desk, which decides their access
Groupa list of accounts that share the same permissions
Permissionwhat an account is allowed to read, change or run
Hardeningmaking a system harder to attack by removing what it does not need
Air gapkeeping a system with no network link at all, so no attack can reach it from outside
Anti-malwaresoftware that finds and removes harmful programs

The cells students fill in are left blank in this preview.

Starter

Have a go

Starter

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

This is practice

Important

The real Task 4a has its own devices and settings screens, and the exam board sets how roles and permissions are shown. Here you run real commands in a Linux lab. Only change the lab. Ask your teacher what the real task lets you configure.

Roles become groups, groups get permissions

Do not give permissions to each person. Make a group for each role. Put people in the groups. Give the groups the permissions.

When Amina joins the finance team, she joins the finance group. One step gives her everything that role needs and nothing more.

Make two groups

Command
sudo groupadd -f finance; sudo groupadd -f helpdesk

A command for the lesson’s lab terminal. It is shown here and not run.

Make two people and put them in groups

Command
sudo useradd -m -G finance amina; sudo useradd -m -G helpdesk bilal

A command for the lesson’s lab terminal. It is shown here and not run.

If the users already exist

Tip

The last command says the user exists if you have run it before. That is fine. Carry on with the next command.

The lesson goes on

17 more parts of this lesson are in the full curriculum, with the tasks, the final check and the labs. A college account gives your students all of it.