Seedbox Without Root: What to Run Instead of sudo
A Linux guide that starts its steps with sudo still works on a Pulsed Media seedbox once each root step is swapped for its no-root route: the torrent clients and media apps are a panel button, other programs run from ~/bin or as rootless Docker containers, and a restart policy or a crontab line brings them back after a server restart. A shared seedbox account has no sudo or root access, which protects the other users on the same server (SSH). Rootless Docker is on every Pulsed Media seedbox, and Self-Hosted Apps on PMSS lists 39 applications set up for it.
The guide's line, and what to run instead
| The guide says | On your seedbox | Details |
|---|---|---|
sudo apt install qbittorrent-nox or deluged |
Press Turn on for qBittorrent or Deluge on the panel's Apps tab, where the server provides them. rTorrent with ruTorrent is already running. | Apps Tab on PMSS, QBittorrent, Deluge |
sudo apt install Jellyfin, Sonarr, Radarr, Prowlarr or SABnzbd |
Run the media stack installer; the apps then appear on the Apps tab with Open, Start, Stop and Restart buttons. | Install Media Stack |
sudo apt install any other program |
Download the program's prebuilt Linux release into ~/bin, or run its container image. |
Programs in ~/bin |
sudo docker run ... or sudo usermod -aG docker $USER |
Drop the sudo. Docker already runs under your own user, and its daemon is started for you. |
Rootless DOCKER |
docker run -p 8080:8080 ... |
Publish the port as 127.0.0.1:8080:8080. The short form puts the app on every address of the server, and so on the internet. |
Ports and logins |
sudo systemctl enable --now myapp |
Apps-tab apps: their Start and Restart buttons. Containers: restart: unless-stopped. Your own program: an @reboot line in your crontab. |
Keeping a program running |
Edit /etc/nginx/sites-available/ to proxy the app |
Add a proxy fragment to your account's web server; the app then answers at https://SERVER.pulsedmedia.com/user-USERNAME/myapp/. |
Lighttpd Custom Configuration |
| Listen on port 80 or 443 | Pick an unused port of 1024 or higher, bind the app to 127.0.0.1, and reach it through the web address above. |
Rootless DOCKER |
Add a line to /etc/profile |
Put your own shell settings in ~/.bashrc.user. The managed ~/.bashrc is replaced on updates and loads that file. |
Rootless DOCKER |
Programs in ~/bin
At SSH login the managed ~/.bashrc adds ~/.bin, ~/bin and ~/.local/bin to PATH when those folders exist. Create ~/bin, put the program there, log out and back in, and the program runs by name like an installed one. Your ~/bin already holds two Docker helpers: docker-install-lsio, which sets up Jellyfin, qBittorrent, Transmission, Sonarr, Radarr, Prowlarr, MariaDB and phpMyAdmin as containers bound to 127.0.0.1, and docker-install-wireguard.sh.
When a guide installs system libraries that its program needs, switch to a container: the image carries its own packages. Self-Hosted Apps on PMSS lists the 39 applications with the image, URL-path setting, login default and memory needs of each.
Keeping a program running
A program started by hand, or inside tmux or screen, stops when the server restarts. What brings it back depends on what it is:
- An app on the Apps tab (a torrent client, a media stack app, rclone): Restart all my services at the top of the tab restarts or starts every app you have not stopped or turned off yourself.
- A container: a watchdog checks the Docker daemon every five minutes and starts it when it is down. Containers with a restart policy such as
restart: unless-stoppedcome back with the daemon; start others withdocker start NAME. - Your own program: run
crontab -eand add a line with the program's full path, because cron searches only/usr/binand/bin:
@reboot /home/USERNAME/bin/myapp
Fixing command not found in cron jobs explains the path rule and how to see what a cron job sees.
Ports and logins
A port bound to 127.0.0.1 is off the internet, but other accounts on the same server can still connect to it. Turn on the app's own login first. A proxy fragment can keep your panel login in front of the web address, but not in front of the port itself.
What needs root
Some guide steps change the machine rather than your account, and have no no-root route:
- installing system packages, or libraries that other programs load from the system;
- loading kernel modules or changing the server's network interfaces;
- binding to ports below 1024, such as 80 and 443;
- containers that need
--privileged, raw device access, or macvlan or ipvlan networking.
An error such as fuse-overlayfs not found or a cgroup permission error from Docker is a server-side issue: contact support, because the fix needs root on the server. A workload that itself needs root on the machine needs a machine of its own: a dedicated server comes with full root access. Pulsed Media's MiniDedi line is that whole machine: the lowest plan on its page is 69.00€ per month excl. VAT on monthly billing, with 32 GB RAM, 4000 GB NVMe, an Intel CPU with Quick Sync, 1 Gbps unmetered bandwidth and Debian 11, delivered pre-installed within 2 business days when in stock. See MiniDedi plans.
See also
- Rootless DOCKER — containers without root, ports and restart behaviour
- Apps Tab on PMSS — start, stop and restart the panel apps
- Install Media Stack — Jellyfin, Sonarr, Radarr and the rest in one installer
- Self-Hosted Apps on PMSS — 39 apps with their container settings
- SSH — connecting to your seedbox