Ir al contenido
Londres, Reino Unido · Fundado en 1994
Español

Unit 3: Systems Administration

The everyday work of keeping systems running: managing user identities and access, keeping systems patched and consistently configured, and protecting services with backups, monitoring and recovery plans.

Unit 3 of 5 · about 54 minutes

3.1 Managing users, identities and access

One of the most important jobs in systems administration is controlling who can use which systems and what they can do there. This area is often called identity and access management (IAM). Done well, it lets people get to work quickly while protecting sensitive data. Done badly, it is a leading cause of security incidents and audit findings.

Identification, authentication and authorisation

Three related ideas are often confused:

  • Identification is claiming an identity, such as entering a username.
  • Authentication is proving that claim, for example with a password, a code from an app, a fingerprint or a security key.
  • Authorisation is deciding what an authenticated person is allowed to do, such as reading a folder or approving payments.

Authentication factors are grouped into something you know (a password or PIN), something you have (a phone or hardware key) and something you are (a fingerprint or face). Multi-factor authentication (MFA) requires two or more different types, which makes stolen passwords far less useful to attackers. It is one of the most effective security controls available.

Directories and single sign-on

Rather than creating separate accounts in every system, organisations keep a central directory of users, groups and devices. Directory services, whether running on the organisation's own servers or provided from the cloud, act as the single source of truth for identities. Through single sign-on (SSO), people sign in once with their organisational account and gain access to many connected applications. This is more convenient for users and gives administrators one place to enforce MFA, change access and disable accounts.

Groups, roles and least privilege

Assigning permissions person by person quickly becomes unmanageable. Instead, administrators grant permissions to groups or roles, such as "Finance team" or "Payroll approvers", and add people to the appropriate groups. This approach is often called role-based access control. It supports the principle of least privilege: everyone should have the minimum access needed to do their job, and no more.

A related idea is separation of duties, where no single person can complete a sensitive process alone. For example, one person may set up a new supplier, but a different person must approve payments to it. This reduces the risk of both fraud and error.

Privileged accounts

Administrator accounts can change settings, read data and create other accounts, so they are prime targets for attackers. Good practice includes giving administrators a separate privileged account used only for administrative tasks, protecting these accounts with strong MFA, limiting their number, logging their use and never using them for everyday email or web browsing.

Remember: Access tends to accumulate as people change roles. Without regular reviews, long-serving staff often end up with far more access than any one job requires.

The joiners, movers and leavers process

Access must change as people's circumstances change:

  1. Joiners: accounts are created before the start date, with access based on the role and approved by the line manager.
  2. Movers: when someone changes role, new access is granted and access no longer needed is removed.
  3. Leavers: accounts are disabled promptly, ideally at the moment employment ends, devices are returned, shared passwords the person knew are changed and data they owned is transferred.

Linking this process to HR records, so that IT is told automatically about starters, changes and departures, prevents many problems. Periodic access reviews, in which managers confirm that their team's access is still appropriate, catch what the process misses.

Passwords

Modern guidance from many national cyber security agencies favours long passphrases, such as several random words, over short complex passwords that must be changed frequently. Users should have a different password for every service, which is realistic only with a password manager. Systems should check new passwords against lists of commonly used and previously breached passwords. Passwordless approaches based on passkeys and security keys are increasingly common and are generally more resistant to phishing.

Common mistakes

  • Shared accounts used by several people, which make it impossible to know who did what.
  • Leavers' accounts left active for weeks or months.
  • Everyday work carried out with administrator rights.
  • Service accounts with old, never-changed passwords and broad permissions.

In practice

If you manage a team, review its access at least once a year: list who has access to each key system, confirm that it is still needed and remove anything surplus. Make sure your organisation has a written leavers checklist, and check that MFA is enabled for email and every system reachable from the internet.

3.2 Patching, configuration and automation

Systems do not stay healthy on their own. Software vendors regularly release updates to fix security weaknesses and bugs; settings drift as people make one-off changes; new servers and devices must be set up consistently. Much of a systems administrator's work involves keeping systems up to date and configured correctly, and increasingly doing so through automation.

Why patching matters

A patch is an update that fixes a problem in software. Security patches close vulnerabilities, weaknesses that attackers could exploit. Once a vulnerability is publicly announced, attackers often begin scanning the internet for systems that have not been updated, sometimes within days. Many serious incidents exploit vulnerabilities for which a fix had been available for weeks or months. Prompt patching is therefore one of the most effective protections an organisation has.

Publicly known vulnerabilities are catalogued with identifiers in the Common Vulnerabilities and Exposures (CVE) system and usually given a severity score. Some government agencies publish lists of vulnerabilities known to be actively exploited, which helps organisations decide what to fix first.

A patch management process

  1. Know what you have. An accurate inventory of devices, operating systems and applications is essential; you cannot patch what you do not know about.
  2. Monitor for updates from vendors and security advisories.
  3. Assess and prioritise, considering severity, whether the weakness is being exploited and how exposed the system is, for example whether it faces the internet.
  4. Test important updates on a small group of systems first, where practical.
  5. Deploy to all relevant systems, using automated tools where possible.
  6. Verify that updates installed successfully and report on compliance.

Many organisations set target timescales, such as applying critical security updates within a couple of weeks, or faster for actively exploited weaknesses. Systems that can no longer be patched because the vendor has ended support should be upgraded, replaced or isolated.

Tip: Turn on automatic updates for end-user devices and common applications wherever possible. Reserve careful manual testing for critical servers and specialist systems where an unexpected change could cause real disruption.

Configuration management

Configuration means the settings of a system: which services run, which ports are open, which users have access, how logging is set up and so on. Inconsistent configuration causes both faults and security gaps. Good practice includes:

  • Baselines: a documented standard configuration for each type of system, often based on published security benchmarks.
  • Hardening: removing unnecessary software and services, changing default passwords and disabling features that are not needed, reducing the attack surface.
  • Configuration records: knowing what each important system is, how it is set up and what it depends on, often held in a configuration management database (CMDB).
  • Drift detection: regularly checking that systems still match their baseline.

Automation and scripting

Repeating the same task by hand on dozens of systems is slow and error-prone. Administrators use scripts, small programs written in languages such as PowerShell, Bash or Python, to automate routine tasks like creating accounts, collecting information or cleaning up old files. At larger scale, configuration management tools apply a desired state to many systems at once and correct drift automatically.

In cloud and modern environments, infrastructure as code takes this further: servers, networks and other resources are defined in text files that can be stored in version control, reviewed like software and used to build identical environments repeatedly. This makes changes traceable and environments reproducible.

The command line

Although many tasks can be done through graphical tools, the command line remains essential for administrators. It allows precise control, works over remote connections with little bandwidth and makes tasks easy to script. Learning basic commands for navigating files, viewing logs, checking processes and testing networks on both Windows and Linux is one of the most valuable early steps for anyone entering IT.

Common mistakes

  • Postponing updates indefinitely because "nothing is broken".
  • Making manual changes to live systems without recording them.
  • Running scripts copied from the internet without understanding them.
  • Automating a flawed process, which simply repeats errors faster.

In practice

Ask for a monthly patch compliance report showing the proportion of devices and servers that are fully updated, and the systems that are out of vendor support. Where you find the same task being done by hand repeatedly, consider whether it could be scripted, documented and checked.

3.3 Backups, monitoring and recovery

Systems fail. Hardware wears out, software contains bugs, people delete the wrong files, power is lost, and criminals deploy ransomware that encrypts data and demands payment. Systems administration is not only about preventing failures but also about detecting them quickly and recovering reliably. This lesson covers the three pillars of resilience: backups, monitoring and recovery planning.

Backups

A backup is a separate copy of data that can be used to restore it after loss or damage. A widely recommended guideline is the 3-2-1 rule:

  • Keep at least three copies of important data, including the original.
  • Store them on at least two different types of storage or systems.
  • Keep at least one copy off-site, physically or logically separate.

Because ransomware often tries to find and encrypt backups too, many organisations now also keep at least one copy that is offline or immutable, meaning it cannot be changed or deleted for a set period, even by an administrator account.

Backups can be full (everything), incremental (only what has changed since the last backup of any kind) or differential (everything changed since the last full backup). Schedules usually combine these to balance speed, storage and ease of restoring. Cloud services such as online email and file storage often need their own backup arrangements, because the provider's built-in retention may not cover every situation.

Remember: A backup that has never been tested is only a hope. Regularly restore sample files and, periodically, whole systems to prove that recovery actually works.

Recovery objectives

Two measures help decide how much protection each system needs:

MeasureQuestion it answersExample
Recovery point objective (RPO)How much data can we afford to lose, measured in time?An RPO of one hour means backups or replication at least hourly
Recovery time objective (RTO)How quickly must the service be working again?An RTO of four hours means the system must be restored within four hours of an outage

These objectives should be set with the business, not by IT alone, because they reflect the real impact of downtime and data loss. Shorter objectives generally cost more.

Monitoring and logging

Monitoring means continuously checking that systems are healthy and alerting people when they are not. Typical checks include whether a service is responding, how busy processors and memory are, how full storage is, whether backups completed, whether certificates are about to expire and how quickly applications respond. Good monitoring spots trends, such as a disk filling steadily, before they become outages.

Logs are records of events produced by systems and applications: logins, errors, configuration changes, security events. Collecting logs centrally makes it possible to investigate problems and security incidents, and is often required for compliance. Logs are only useful if someone, or some automated system, reviews them; an alert that nobody reads provides no protection.

A common challenge is alert fatigue: when monitoring generates too many unimportant alerts, staff begin to ignore them and miss the ones that matter. Alerts should be meaningful, actionable and routed to the right people.

Disaster recovery and business continuity

Disaster recovery (DR) is the set of plans and arrangements for restoring IT systems after a major disruption, such as a fire, flood, prolonged power failure or cyber attack. Business continuity is broader: how the organisation keeps operating, including manual workarounds, alternative premises and communications, while systems are restored. A sound DR plan identifies critical systems and their recovery objectives, documents step-by-step recovery procedures, lists contacts and responsibilities, and is stored where it can be reached even if normal systems are unavailable.

Plans must be exercised. A tabletop exercise, in which a team talks through a realistic scenario, is an inexpensive way to discover gaps, such as a missing password or an unclear decision-maker.

In practice

For each of your organisation's critical systems, find out what is backed up, how often, where the copies are kept, whether one copy is protected from ransomware and when a restore was last tested. Agree recovery objectives with the people who depend on each system. These questions frequently reveal important gaps that are cheap to close before an incident and very expensive afterwards.

Case study: Recovering from ransomware at a property management firm

Harbourline Property Services, a fictional firm managing rental homes, discovered one Monday morning that files on its main server had been encrypted and a ransom note left behind. An attacker had used a former employee's account, which had never been disabled, to sign in remotely over the weekend.

The IT manager isolated the affected server from the network and called the firm's incident response provider. Because the firm followed the 3-2-1 rule, with one backup copy stored immutably in the cloud, clean data from Saturday evening was available. Restoring the most critical system, the tenancy database, took six hours, longer than the four-hour target the firm had set, and the team noted where the recovery plan needed improving.

Afterwards the firm linked account deactivation to its HR system, enforced multi-factor authentication on all remote access, reviewed privileged accounts and added monitoring alerts for unusual sign-ins. It also began quarterly restore tests and a yearly tabletop exercise, and reported the incident to the relevant authorities as its legal advisers recommended.

Activity

Choose one important system or set of files you rely on. Find out, or estimate, how it is backed up: how often, where the copies are stored and whether any copy is offline or immutable. Then propose a recovery point objective and a recovery time objective for it, and explain your reasoning in terms of the impact on your work.

Compare with a model answer

A good answer chooses a specific system, such as a shared drive of client contracts, and describes its backup arrangements factually, for example nightly backups to a separate cloud service retained for thirty days, plus the provider's own version history. It checks the 3-2-1 rule and identifies any gap, such as no copy that ransomware could not reach.

It proposes realistic objectives with reasons: an RPO of 24 hours may be acceptable if contracts change rarely and can be recreated from email, whereas a busy order system might need an RPO of minutes. An RTO of one working day might suit the contracts but not a customer-facing service. The best answers note that these objectives should be agreed with the people affected and recommend a test restore.

Key takeaways

  • Identity and access management relies on strong authentication, especially multi-factor authentication, and authorisation based on least privilege.
  • A reliable joiners, movers and leavers process, plus regular access reviews, prevents access from accumulating or outliving employment.
  • Prompt, prioritised patching and consistent, hardened configuration remove many of the weaknesses attackers exploit.
  • Automation and infrastructure as code make administration faster, more consistent and easier to audit.
  • Backups should follow the 3-2-1 rule with a protected copy, be tested regularly and support agreed recovery point and recovery time objectives.

Unit check

Create a free account to answer the check, save your progress and receive your free certificate.

Create a free account Log in
← Unit 2 Unit 4 →
WhatsApp