With doas instead of sudo, could put "permit nopass /path/to/sftp" in /etc/doas.conf so that the only thing that could run without a password is sftp
------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td70802e6170e6971-M8c01e33bb5d8fa6796e1b749 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
