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

Written 28 Aug 2026. This is a how-to, not a product card. Buy links are not tagged yet.

See if your leftover-box login can use admin commands

Before you change passwords or turn on the firewall, check that your leftover-box login can use sudo. You do not need extra login software.

You can SSH in from the couch. Then a note says type sudo, and the leftover box 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 leftover-box 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 leftover-box keyboard. Prefer this look after you know who else can still log in: see if the leftover box still has old login accounts. This note assumes you can log in from the couch, or sit at the leftover-box keyboard.

What sudo is

sudo is the leftover box'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 leftover images say admin or wheel instead. Same idea.

Ask who you are, then which clubs

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

whoami

That prints your leftover-box 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

Ask the leftover box to check sudo without changing anything:

sudo -v

Type your leftover-box 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

Do not buy login software. Sit at the leftover-box 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 leftover box 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 leftover login can use sudo, you are stuck until you recover from a live USB or reinstall. That is a bigger job than this note. Do not open SSH to the internet to "fix" it.

What next

Once sudo works, set a leftover-box password you chose: change the leftover-box 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 leftover box 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 leftover box still has old login accounts. For the login, see SSH from the couch. For the leftover-box password, see change the leftover-box login password.

Also on this topic

See if the leftover box still has old login accountsBefore you leave a Marketplace box on the house network, look at who else can still log in. You do not need extra login software for this. Change the leftover-box 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 leftover box looks differentAfter you reinstall, SSH can refuse because your laptop still remembers the old leftover-box ID. Clear that memory. You do not 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 leftover box trusts that laptop. Keep the password as a backup at first. SSH from the couchType commands on the leftover box from your laptop, on the house network. Password login first. Do not open this to the internet.