guysoft / FullPageOS

A raspberrypi distro to display a full page browser on boot
GNU General Public License v3.0
3.91k stars 243 forks source link

Scripts fail if username isn't "pi" #595

Closed chrwei closed 1 month ago

chrwei commented 1 month ago

What were you doing?

Write SD card using RaspberryPi Imager, changing the default username.

What did you expect to happen?

boot as normal

What happened instead?

got error about scripts in /home.pi/scripts/

Version of FullPageOS?

version 0.13.0

as a quick hack I symlinked my users home to /home/pi. Ideally the needed files would not live in the users home folder, but /opt or somewhere user agnostic.

using a username other than pi removes a common attack vector, and allows better integration with other systems.

guysoft commented 1 month ago

Duplicate of https://github.com/guysoft/FullPageOS/issues/525 Fixed in https://github.com/guysoft/CustomPiOS/issues/218 Commit:

Please use nightly until a sable release is out with the fix.