* Gene Heskett <ghesk...@shentel.net> [201227 23:33]:
> > unicorn:~$ cat /etc/default/su
> > ALWAYS_SET_PATH yes
> 
> This has been done on stretch, but has no effect on this:
> 
> gene@coyote:~$ sudo -i
> [sudo] password for gene:
> root@coyote:~$ su amanda -c "geany bak-indices-configs"
> configuration error - unknown item 'ALWAYS_SET_PATH' (notify administrator)
> 
> Is there a better fix for uptodate stretch?

/etc/default/su uses "shell" format, so it should be:
    ALWAYS_SET_PATH=yes
instead.

I have updated the NEWS entry, and will close this bug with the next
upload.

Best,
Chris

Reply via email to