update dump/restore to use rcmdsh() instead of rcmd()

2022-04-26 Thread Jim Lawson
>Synopsis: dump/restore still uses the deprecated rcmd() to communicate >with remote tape/files >Category: user >Environment: System : OpenBSD 7.0 Details : OpenBSD 7.0 (GENERIC) #6: Mon Apr 4 00:45:25 MDT 2022 r...@syspatch-70-i386.ope

Re: update dump/restore to use rcmdsh() instead of rcmd()

2022-04-26 Thread Jim Lawson
Thanks todd. I wasn't aware anyone ran dump as anything other than root. I noticed the problem when I couldn't do any dumps to remote files, unless I dumped to stdout and piped the output through ssh. > On Apr 26, 2022, at 3:04 PM, Todd C. Miller wrote: > > On OpenBSD, rcmd(3) calls rcmdsh(3)