On Monday 22 June 2020 15:26:23 Larry Fahnoe wrote: > On Mon, Jun 22, 2020 at 12:26 PM Gene Heskett <[email protected]> wrote: > > So I just edited /etc/nut/upsd.users to add both the commands it > > claims to have but get this response to either: > > > > pi@rpi4:~ $ upscmd myups test.battery.start.quick > > Username (pi): pi > > Password: > > Unexpected response from upsd: ERR ACCESS-DENIED > > pi@rpi4:~ $ upscmd myups test.battery.start.deep > > Username (pi): pi > > Password: > > Unexpected response from upsd: ERR ACCESS-DENIED > > What about "instcmds = ALL" as a test, perhaps to rule out a parsing > error?
Same result: pi@rpi4:~ $ sudo nano /etc/nut/upsd.users pi@rpi4:~ $ upscmd myups test.battery.start.deep Username (pi): pi Password: Unexpected response from upsd: ERR ACCESS-DENIED Interesting maybe, user 'nut' and group 'nut' own that whole diretory and contents. OTOH, pi is a member of group 'nut' ??? Thanks Larry. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene> _______________________________________________ Nut-upsuser mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser
