i have the following line entered in /etc/rc.local (this seems to work in other linux distro's but not in debian):
Code: Select all
su- 1000 -c /home/pi/./fooCode: Select all
su- 1000 -c /home/pi/./fooHuh? "su-" is not a command. su does not accept numeric uids—you must specify "pi" rather than "1000". The "/./" in the command path is redundant.unclejed613 wrote:su- 1000 -c /home/pi/./foo
But maybe the (non-standard) "su-" command does…jojopi wrote:Huh? "su-" is not a command. su does not accept numeric uids—you must specify "pi" rather than "1000". The "/./" in the command path is redundant.unclejed613 wrote:su- 1000 -c /home/pi/./foo