# User ID

*noun*

say it: **“YOO-zer eye-DEE”** **/ˈjuzɚ ˌaɪˈdi/**

The number a computer uses for an account behind its name; files and running programs are marked with it.

## What is a **user ID**?

A **user ID** (UID) is the number behind an account name. People read the name; the computer stores the number, on every file you own and every program you run. `root`, the all-powerful account, is always 0.

```bash
id
# uid=1000(sam) gid=1000(sam) groups=1000(sam),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),100(users)
```

## In a sentence

- “id showed that Sam's **user ID** is 1000.”
- “root's **user ID** is always 0.”

Level: Apprentice · [More Operating System terms at this level](https://www.ask-codey.com/glossary?category=operating-system&level=2)

Updated: November 10, 2026

Source: https://www.ask-codey.com/glossary/user-id
