scratch icon indicating copy to clipboard operation
scratch copied to clipboard

starting scratch as a user different from "root" or "pi"

Open heppg opened this issue 8 years ago • 0 comments

See also https://www.raspberrypi.org/forums/viewtopic.php?p=1119185#p1119185

To start scratch /usr/bin/scratch, there is also a start of pigpiod included. The command is "sudo systemctl start pigpiod" When a new user is created (say 'pi2'), same groups as pi and especially also sudo group, the start of pigpiod fails as the sudo sytemctl... requests a password. Removing password in sudoers with "%sudo ALL=(ALL:ALL) NOPASSWD:ALL" corrects the problem, but opens some security risks.

Expected bahavior: for users other than pi, start of scratch including all required other processes should be possible without editing system files.

heppg avatar Feb 24 '17 10:02 heppg