# Topic 06: Operating Systems and System Administration

**Fictional Northstar case · self-paced · 45–90 minutes plus optional setup**

## Opening question
A process is running. Is the service healthy?

## Explain
An operating system manages resources, users, files and processes. A service may be started while dependencies or permissions prevent useful work. Administration combines configuration, logs, access control, verification and rollback. Command-line output is evidence to interpret, not a reason to run arbitrary commands copied from the Internet.

## Supporting technologies
- **Processes and services:** Execution state is different from end-to-end service health.
- **Files and permissions:** Owners and access rights determine allowed actions.
- **Logs:** Events need timestamps, context and correlation.
- **Change and rollback:** Small reversible changes make causes easier to isolate.

## Scenario
A fictional Northstar reporting service starts but cannot write its output directory after a configuration change.

```text
09:00 service=reporter state=started
09:01 service=reporter action=write path=/lab/reports result=permission_denied
09:02 service=reporter state=running jobs_completed=0
```

## Hands-on procedure
1. Build a timeline from the supplied log and separate observation from inference.
2. Define the service account and the minimum required output-directory permissions.
3. On paper, compare granting all users full access with granting only the service identity the required rights.
4. Write a proposed change with backup, approval, success check and rollback.
5. In an optional disposable Linux VM, create a synthetic directory and inspect permissions with ls -ld; do not change host system paths.
6. Document the result needed to establish service health: a completed synthetic report, expected ownership and an appropriate log entry.

## Expected reasoning and limits
The service is running but not completing work. The evidence supports investigating write permissions; broad access is not justified. A completed job and permission verification are stronger acceptance evidence than process state.

## Best practices
- Use separate administrator and routine identities.
- Review least privilege before changing file permissions.
- Record configuration and log timestamps for correlation.
- Test useful service output after changes, not only startup status.

## Vendors, projects and learning
- [Microsoft](https://learn.microsoft.com/en-us/windows-server/): Windows Server administration
- [Canonical](https://documentation.ubuntu.com/server/): Ubuntu Server administration
- [Red Hat](https://docs.redhat.com/): Enterprise Linux administration

## Optional technical extension
Use a disposable VM snapshot to compare file-owner and group access. Record exact OS/version and restore the snapshot; do not modify a workplace machine.

## Career practice
Relevant role families to investigate: Systems support technician, Junior systems administrator, Linux support technician. No current vacancy or hiring requirement is asserted.

Interview: How can a service be running yet unavailable to users?

## Sources
- [Ubuntu Server documentation](https://documentation.ubuntu.com/server/)

## Portfolio evidence
Use the [portfolio guide](../guides/portfolio.md). Submit original input, decisions, tests, actual results, limitations and source attribution. Clearly label modeled, planned and performed work.

## Suggested prerequisites
Topic 5
