[Nut-upsuser] Low Battery Problems

Gene Heskett gheskett at shentel.net
Mon Jun 22 20:42:50 BST 2020


On Monday 22 June 2020 15:26:23 Larry Fahnoe wrote:

> On Mon, Jun 22, 2020 at 12:26 PM Gene Heskett <gheskett at shentel.net> 
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 at rpi4:~ $ upscmd myups test.battery.start.quick
> > Username (pi): pi
> > Password:
> > Unexpected response from upsd: ERR ACCESS-DENIED
> > pi at 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 at rpi4:~ $ sudo nano /etc/nut/upsd.users
pi at 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>



More information about the Nut-upsuser mailing list