If you want to use rsync in doas with #openbsd (and here nopass) you have to use something like: permit nopass myuser as root cmd rsync args -av /home/myuser/something /to/someplace/else/ The args-parameter was missing in my case