User Tools

Site Tools


fmlist_scanner:prepare_exisiting_linux_or_preinstalled_pi

2.2 Setup on a pre-installed Pi or PC

if you already have a Pi or PC with a Linux-OS in one of following flavours, you can use that installation for the FMList-scanner

  • Debian
  • Ubuntu
  • Raspbian
  • Raspberry Pi OS

in any case, it is recommended to setup a new user - to allow a clean uninstall. we suggest the user scanner

sudo useradd -s /bin/bash -m scanner
sudo passwd scanner

for access to the GPIO pins, gpsd control and probably for something else, the new user will need sudo rights.

sudo nano /etc/sudoers.d/010_scanner-nopasswd

enter a line with

scanner ALL=(ALL) NOPASSWD:ALL

then save and close the editor nano.

alternatively use the following command

echo "scanner ALL=(ALL) NOPASSWD:ALL" |sudo tee /etc/sudoers.d/010_scanner-nopasswd

note: in theory, the scanner might run without sudo rights, but i don't remember having tested this. please report if you try this

with sudo rights, you can quickly change to that user

sudo su -l scanner
fmlist_scanner/prepare_exisiting_linux_or_preinstalled_pi.txt · Last modified: 2022/06/18 (external edit)