Linux System Administration for Beginners / Chapter 1 — Privileges and users (lessons 1–6) / Lesson 1
What a system administrator does, and your practice environment
Time needed: about 4 min (estimate)
Reading settings
These settings are remembered on this device only.
You can try the opening of this lesson without an account.
What this course does
System administration cannot be tried out in production.
You cannot delete users, repartition disks or produce a machine that will not boot.
So this course is built around preparing one disposable Linux and doing all of it there.
The subject is not how to use commands but the decisions of design and operation: not how to type sudo but how to design permissions in /etc/sudoers.d/; not how to use systemctl but writing a unit, killing it, and confirming the restart.
It assumes you can use ls, cd, grep and vi (if that is shaky, go to Introduction to Linux).
Setting up the practice environment
We run an Ubuntu with systemd in a container.
What matters is that systemd is running as PID 1; without it you cannot try the service management of lessons 14 to 17 or the logging of lesson 18.
That is what --privileged and the cgroup mount are for.
Once inside, finish with apt update && apt install -y systemd-sysv rsyslog cron sudo.
Create a free account to keep reading
With an account you can read the rest of this lesson, take the quiz, and read every free lesson in this course. Lessons you answer correctly are recorded as complete.
Report a problem with this lesson
Log in to send a report.