Labthrift Labthrift What to buy. What to skip. Why.

Written 28 Aug 2026. This is a how-to, not a product card.

See if your login can use admin commands

Before you change passwords or turn on the firewall, check that your login can use sudo. You don't need extra login software.

You can SSH in from the couch. Then a note says type sudo, and the computer answers that your login is not in the sudoers file. That is not a broken router. That is not a reason to buy a new mini PC. Your login is missing the admin club. Marketplace boxes do this a lot: the old owner kept the admin login, and the account you use every day cannot install or change much.

Skip until SSH works

If you cannot log in from the couch, stop. That is SSH from the couch. You can also type this at the keyboard. Prefer this look after you know who else can still log in: see if the computer still has old login accounts. This note assumes you can log in from the couch, or sit at the keyboard.

What sudo is

sudo is the computer's "do this as an admin" button. Everyday install, update, firewall, and share notes use it. Without sudo, password changes for other people, weekly fixes, and ufw all stop. The admin club on Debian and Ubuntu is usually a group named sudo. Some images say admin or wheel instead. Same idea.

Ask who you are, then which clubs

SSH in from the couch, or sit at the keyboard, then ask:

whoami

That prints your login name. Then ask which clubs that login is in:

groups

Look for the word sudo in the list. admin or wheel counts too. If you want the same answer as a numbered list:

id

You should see something like groups=…(sudo) when you are in the club.

Confirm with a harmless sudo

Check sudo without changing anything:

sudo -v

Type your login password when it asks. If it returns to a quiet prompt, you are in. If it says you are not in the sudoers file, or that the password is wrong after you know the password is right, your login is not an admin yet.

Optional one-liner that needs no password prompt when sudo already trusts this session:

sudo -n true && echo can sudo || echo cannot sudo

If you are not in the club

Don't buy login software. Sit at the keyboard and log in as the account that can already use sudo (often the first install user, or an old Marketplace admin you found in see if the computer still has old login accounts). From that admin login, add your everyday name to the club. Swap youruser for the name from whoami:

sudo usermod -aG sudo youruser

Then log out and log back in (a new SSH session is enough). Ask groups again. You should see sudo. Then retry sudo -v.

If no login can use sudo, you are stuck until you recover from a live USB or reinstall. That is a bigger job than this note. Don't open SSH to the internet to "fix" it.

What next

Once sudo works, set a password you chose: change the login password. Then put a key on your laptop: log in with a key, not the password every time. After a reinstall scare, that is when SSH says the computer looks different. Skip buying a camera or extra login software for this look.

Skip

Sources

Debian: groups. Debian: id. Debian: whoami. Debian: sudo. Debian: usermod. Ubuntu: sudo. Official pages only. For old Marketplace logins, see see if the computer still has old login accounts. For the login, see SSH from the couch. For the password, see change the login password.

Also on this topic

See if the computer still has old login accountsBefore you leave a Marketplace box on the house network, look at who else can still log in. You don't need extra login software for this. Change the login passwordOnce SSH from the couch works, set a password you chose. Do this before you leave the install password sitting around. When SSH says the computer looks differentAfter you reinstall, SSH can refuse because your laptop still remembers the old ID. Clear that memory. You don't need a new router. Log in with a key, not the password every timeAfter password SSH works for a while, put a key on your laptop so the computer trusts that laptop. Keep the password as a backup at first. SSH from the couchType commands on the computer from your laptop, on the house network. Password login first. Don't open this to the internet.