[Nut-upsuser] new mobo, ups doesn't connect

Gene Heskett gheskett at shentel.net
Sun Dec 8 17:52:17 GMT 2019


On Sunday 08 December 2019 09:25:29 Roger Price wrote:

ls -lF /var/run/nut/
total 8
-rw-r--r-- 1 nut  nut  5 Dec  7 18:49 upsd.pid
-rw-r--r-- 1 root root 5 Dec  7 18:52 upsmon.pid

No permission if I look as gene(me)

Now, I do have a /home/nut
ls -l /home
root at coyote:Daily$ ls -l /home
total 16
drwx------ 53 amanda backup 4096 Jul  8 12:22 amanda
drwxr-xr-x 72 gene   gene   4096 Dec  8 12:17 gene
drwxr-xr-x 15 nut    nut    4096 Dec 14  2016 nut
drwx------ 16 nut    nut    4096 Jun 17  2012 ups

Something back in time forced me to give amanda a passwd, so as root "su 
amanda -c "command works" but nut is empty so that doesn't work now:

nut:x:121:125::/var/lib/nut:/bin/false

Is this where I need to fix it? With a passwd nut as root?

Thanks Roger.

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