By the end of this lesson you will be able to
- Explain what a system administrator is responsible for in a small home or office setting.
- Choose between a standard account and an administrator account for a given person, using least privilege.
- Write a simple update policy that says what is updated, when and who checks it.
- Read the permissions on a practice file and tighten them so only the right people can read it.
- Carry out a short account and update audit on your own computer.
Whenever more than one person, or more than one device, depends on a computer, somebody has to look after it. That person is the system administrator. In a small family or a small shop it may be you, one evening a month. The work is not magic: it is deciding who may log in, how much they may do, keeping the software current and checking that nobody can see files they should not. This lesson turns the account, update and permission ideas from earlier modules into a routine you can follow.
What a system administrator actually does
Think of a caretaker of a block of flats. The caretaker gives out keys, fixes the lights, checks the locks and keeps a list of who lives where. A system administrator does the same for computers. The job has a few repeating parts: giving each person an account, deciding what that account may do, keeping the software up to date, watching that services are running, and making backups. This lesson covers the first three. The next lesson covers the rest.
Administration is mostly careful, boring routine, and that is good. A computer that is looked after by a short checklist every month is safer than one that is rescued in a panic once a year. Good administrators also write things down, so that a colleague, or you in six months, can see what was decided and why.
- AccountsWho may log in
- PermissionsWhat each may do
- UpdatesPatch the software
- ChecksServices, logs, space
- BackupsCopies you can restore
Read this figure as text
A cycle of five duties: accounts, permissions, updates, checks and backups, then back to accounts.
A cycle with the centre labelled Looking after a computer. Five steps in order, then back to the start. 1 Accounts: who may log in. 2 Permissions: what each account may do. 3 Updates: keep software patched. 4 Checks: services, logs and disk space. 5 Backups: copies you can restore. The cycle repeats every month.
Accounts: one person, one account
Every person who uses a computer should have a separate User account. Separate accounts keep each person's files private, make it possible to see who did what, and allow you to remove one person's access without disturbing anybody else. Sharing one login between several people removes all three benefits. It also means a mistake or a stolen password affects everybody.
There are two main kinds of account. A Standard user can use programs and manage their own files, but cannot change the whole system. An Administrator can install software, change system settings and see or change other people's accounts. The safest habit follows the rule of Least privilege: give each account only the power it needs for its job, and no more. Your own everyday account should usually be a standard one, and you should use administrator power only for the moment you need it.
On Ubuntu, the first account made during installation is an administrator, which means it can use sudo to run one command with extra power. On Windows 11, the first account made is also an administrator by default, and Windows asks for confirmation (called User Account Control) before an administrator-level change. In both systems, a careful household might keep one administrator account for setting things up and standard accounts for daily use.
| Person | Needs to | Suggested account |
|---|---|---|
| You, the owner | Install software, change settings, add people | Administrator, used with care; keep a separate standard account for daily work if you can |
| Wanjiru, a family member | Browse, write documents, save photos | Standard user |
| A visitor | Check email for ten minutes | Guest session or a temporary standard account |
| A shop assistant (Joseph) | Use the till programme and printer only | Standard user, with access only to the shop folders |
- Uses programs
- Changes its own files
- Cannot install for everyone
- Mistakes stay local
Safer for daily use
- Installs software
- Changes system settings
- Manages other accounts
- Mistakes can reach everything
Use only when needed
Read this figure as text
Two columns comparing what a standard account and an administrator account can do.
Two columns. Standard user: can use programs, can save and change its own files, cannot install system-wide software, cannot change other people's files; if a bad program runs here, the damage is mostly limited to this account. Administrator: can install software, can change system settings, can manage other accounts; if a bad program runs here with full power, the whole computer can be affected. The verdict for the standard column is safer for daily use; for the administrator column, use only when needed.
See the accounts on your computer
These steps only look. They do not create or delete anything.
In Ubuntu 24.04, open Settings, then System, then Users. This shows your account and whether it is an administrator. In a terminal, id prints your user name and the groups you belong to, and groups prints just the group names. If you see sudo in the list, your account can use sudo.
id
groupsuid=1000(amina) gid=1000(amina) groups=1000(amina),4(adm),27(sudo),100(users)
amina adm sudo usersOpen Settings, then Accounts, then Your info to see your name and whether it says Administrator. Other accounts on the computer are under Accounts, then Other users (the wording can differ slightly by Windows 11 version). In PowerShell, Get-LocalUser lists the local accounts and whoami /groups lists the groups of the account you are using. Both only read information.
Get-LocalUser
whoami /groupsWhen people arrive, change jobs or leave
Accounts need a life cycle. When someone arrives, you create an account with the least power that lets them do the job. When their job changes, you adjust the account instead of adding extra power on top. When they leave, you disable or remove the account on the same day, and you move any files that the business still needs. Old accounts that nobody uses are a common weakness, because nobody notices if a stranger starts using them.
A simple account audit (do this once a month)
Step 1: List the accounts
Write down every account on the computer using the Settings pages or the commands above.
You should see: You have a list with one line per account.
Step 2: Match each to a real person
Next to each account, write who uses it. Mark any account you do not recognise.
You should see: Every account has a name beside it, or is marked unknown.
Step 3: Check the power
Mark which accounts are administrators. Ask for each one: does this person really need that power?
You should see: Only people with a clear reason remain marked as administrators.
Step 4: Act on the findings
Remove administrator power that is not needed. For accounts nobody uses, ask first, then disable or delete them from Settings.
You should see: The list is shorter or safer than before, and you have a dated note of what you changed.
Updates: write the policy down
An Update replaces software with a newer version. Many updates are security patches: they fix weaknesses that attackers already know about. Not updating is like leaving a known broken lock on your door. On the other hand, an update can occasionally cause a new problem, so a careful administrator has a short update policy. A policy is a written rule that answers four questions: what gets updated, how often, who checks that it worked, and what happens if something goes wrong.
| Question | Answer |
|---|---|
| What is updated? | The operating system, the browser and the office suite. Nothing is left on an old version unless there is a written reason. |
| How often? | Security updates install automatically. A person checks every Friday afternoon for anything waiting, and restarts if asked. |
| Who checks? | The owner, using Update history after each restart. |
| If it goes wrong? | Do not panic or reinstall. Note the error message, check that the latest backup is good, then search for the exact message or ask for help. |
Check update settings
Ubuntu checks for updates and can install security updates automatically using a service called unattended upgrades, which is normally turned on in a standard installation. Open Software Updater (search for it in Activities) to see what is waiting. In a terminal, apt list --upgradable lists waiting updates without installing anything and does not need sudo. The file /var/log/apt/history.log records past installs and upgrades, so you can see what changed and when.
apt list --upgradable
tail -n 20 /var/log/apt/history.logIf apt list --upgradable prints only the line Listing..., nothing is waiting. The list can be out of date if the package list has not been refreshed recently. Software Updater refreshes it for you.
Open Settings, then Windows Update. The page shows whether updates are waiting and when the last check ran. Update history lists recent updates and shows if any failed. Advanced options lets you set active hours, which are the hours when Windows will not restart without asking. Windows can pause updates for a short time, which is useful if you are in the middle of important work, but do not leave updates paused for weeks.
You are up to date
Last checked: today
Update history
Advanced options
- Marker 1: Status: are updates waiting?
- Marker 2: Update history: did they succeed?
- Marker 3: Pause: short term only
Read this figure as text
A simulated Windows Update settings page with numbered callouts on status, history and pause button.
A simulated settings window titled Windows Update. The sidebar lists Windows Update as the active page. The main area says You are up to date, last checked today. Marker 1 points to the status line. Marker 2 points to the Update history row. Marker 3 points to the button Pause for 1 week, with the note that pausing is a short-term choice only. This is a generic mock-up, not a real screenshot.
Permissions in practice
An account only matters if the files and folders behind it are protected. A Permission says who may read, write or run a file. On Linux the Permission string shown by ls -l has three groups of three letters: for the owner, for the group and for everybody else. The letters are r for read, w for write and x for run. A dash means that permission is missing. The rule of least privilege applies here too: a private note should not be readable by every user of the computer.
- Marker 1: Others can read
- Marker 2: Remove all access for others
- Marker 3: Others now have no access
Read this figure as text
A simulated terminal showing ls -l before and after chmod removes access for other users.
A simulated bash terminal in the practice folder. Command 1: ls -l notes.txt prints -rw-r--r-- 1 amina amina 52 notes.txt, marker 1 pointing at rw-r--r-- which means the owner can read and write, the group can read and everyone else can read. Command 2: chmod o-rwx notes.txt, marker 2 meaning remove all permissions from others. Command 3: ls -l notes.txt prints -rw-r----- 1 amina amina 52 notes.txt, marker 3 meaning others now have no access. Values are examples.
The command chmod changes permissions. In chmod o-rwx notes.txt, o means others, the minus sign means remove, and rwx names the three permissions removed. So the command removes every permission from everybody who is not the owner or in the file's group. Always run permission commands on named files in your practice folder, and never on whole system folders.
On Windows, permissions are set on a file or folder through Properties, then the Security tab. This lists users and groups and the permissions each has, such as Read or Modify. Look and read first. Change settings only on your own practice folder, because wrong changes to system folders can stop Windows from working.
Common mistakes
✖ Instead of: Using an administrator account for everyday browsing and email.
✔ Do this: Use a standard account for daily work. Switch to administrator power only for the moment you need it, so a bad download cannot change the whole system.
✖ Instead of: Giving everyone full permissions so errors stop appearing.
✔ Do this: Work out who needs which permission and grant only that. Permission denied is the system doing its job.
✖ Instead of: Leaving old accounts open after a person leaves.
✔ Do this: Disable the account on the day they leave, after saving any files the business still needs.
✖ Instead of: Pausing updates for weeks because one update was annoying.
✔ Do this: Pause only for a short, planned time. Use the update history to check each update worked.
If something goes wrong
apt list --upgradableprints a warning that it does not have a stable command line interface.- That is a normal note that the output format may change. The list of updates beneath it is still correct.
Get-LocalUsersays the term is not recognised.- Make sure you opened Windows PowerShell or PowerShell, not Command Prompt, and that you are on Windows 11. In Command Prompt use
net userinstead. - I cannot tell if my account is an administrator.
- On Ubuntu look for
sudoin the output ofgroups. On Windows look under Settings, Accounts, Your info for the word Administrator. chmodsays Operation not permitted.- You can only change permissions on files you own. Check the owner with
ls -l, and check you are in~/practice, not a system folder.
Key terms
- User account
- Your personal sign-in on a computer, with its own files and settings.
- Standard user
- An account that can use programs and change its own files and settings, but cannot change the whole computer.
- Administrator
- A user account allowed to change important settings and install software for the whole computer.
- Least privilege
- Giving a person or programme only the access it needs, and no more.
- Security patch
- A small update that fixes a weakness attackers could use to break into your computer.
- Update policy
- A written rule for when and how a computer is updated, and who checks that it worked.
Practise it for real
Reading is not the same as being able to do it. Complete these on your own computer, then tick only what you have actually done. These ticks are your own honest record: nothing checks them for you.
Audit the accounts and updates on your own computer
On your real computer, follow the monthly account audit steps. List every account, note who uses it and whether it is an administrator. Then open the update page (Software Updater on Ubuntu or Windows Update on Windows), note whether updates are waiting and read the last entry in the update history. Write the answers as a six-line note with today's date. Do not delete anything; just record what you find.
Tighten a practice file
On Ubuntu, create the folder ~/practice if it does not exist, create a file there called notes.txt with any text, and run ls -l notes.txt. Use chmod o-rwx notes.txt to remove access for others and check the result with ls -l again. On Windows, create $HOME\practice\notes.txt, open its Properties, then the Security tab, and read the list of users and groups without changing anything.
Challenge: write a one-page policy for a small shop
Joseph runs a small shop with two laptops, one shared by two assistants, Fatuma and Kamau. Without looking at the lesson, write a short plan with three parts: which accounts there should be and what kind each is, an update policy that answers the four questions, and one rule about what happens to an account when an assistant leaves. Then check your plan against the lesson and mark what you missed.
Knowledge check
7 questions. You need 80% to pass. Mistakes here are part of learning, and you can retry as often as you like.
Summary
- An administrator's regular duties are accounts, permissions, updates, checks and backups.
- Give each person their own account and the least power their job needs.
- Accounts have a life cycle: create, adjust and disable on the day someone leaves.
- A written update policy answers what, how often, who checks and what if it fails.
- Read permissions before changing them, and never loosen them just to remove an error.
Checklist: can you do these?
Marking a lesson as read does not prove you can do it. Skills count as demonstrated when you pass the quiz (not yet) and complete the practical tasks (not yet).
Related lessons
References and further reading
Official sources for details that can change between versions.
- Ubuntu Server documentation (Canonical)
- Windows documentation (Microsoft)
- Ubuntu tutorials (Canonical)