Displaying 20 results from an estimated 4000 matches similar to: "Making the driver keeping root privileges"
2005 Oct 05
1
serial/USB-over-HID layer for fentonups
Do you know some piece of code I could look at to see learn more about
this ?
2005 Oct 05
1
serial/USB-over-HID layer for fentonups
Do you know some piece of code I could look at to see learn more about
this ?
2005 Dec 28
1
Non Standard USB HID UPS
Hello, I've already written to the list before about my non-standard hid Unitek
UPS.
I've tried to use hiddev to access my UPS as its USB HID interface is the same
as the energizerups. Nevertheless, the protocols are different and I didn't
manage to communicate with my UPS through hiddev. Moreover, the problem
described in this page http://www.vttoth.com/ER-OF800.htm about the Linux
2005 Oct 04
1
Unitek
Hello,
I would like to know if it's possible to use nut with a Unitek Alpha
650ip* and if it's possible which driver should I use ?
Thanks.
2006 Feb 14
3
Master privileges unavailable on UPS
Hello all,
I'm having problems with what I'm told should be a straightforward
issue.
The message in /var/log/daemon is:
<quote>
Feb 13 10:37:57 lupin upsmon[31324]: Master privileges unavailable on
UPS [lupin1500AVR@localhost]
2007 Jun 24
1
usbmon fails silently to start with invalid RUN_AS_USER values
Hi. I have an improvement suggestion.
Say that a careless user starts editing upsmon.conf before having read
the complete documentation (not that I know of any such users of course)
and starts by adding "RUN_AS_USER = nutmon" and then creates this user.
Later he discovers that the rpm package already has created a "nut" user
and therefore deletes the nutmon user but forgets to
2017 Jun 15
1
Apple Mac slave
Ok rebooted
All running ok now. Great thanks a lot!
In system.log
Jun 15 21:38:54 c01 com.apple.xpc.launchd[1] (org.networkupstools.upsmon): Unknown key for Boolean: SuccessfulExit
Jun 15 21:38:54 c01 com.apple.xpc.launchd[1] (org.networkupstools.upsmon): This service is defined to be constantly running and is inherently inefficient.
What is the purpose of Boolean: SuccessfulExit?
2015 Sep 21
1
problem with NOTIFYCMD
After some testing, I notice that my NOTIFYCMD script seems to work if I
call it as user 'john' (that's me) but if I call it as 'root' it does not
work. So is there a permissions issue ? I have permission on the file set
to 755. I see there is a variable in upsmon.conf called RUN_AS_USER. I do
not have this defined. Does this variable need to be defined ? I presume
that if
2014 Jun 18
2
upsd.conf - run as user option
The upsmon.conf has the option of setting RUN_AS_USER username
Might it be possible to add a similar option to the upsd.conf file?
I see the -u command-line option for both upsmon and upsd, however,
upsd doesn't seem to carry that to the configuration file, as upsmon
does.
Thanks.
2024 Jun 10
3
Permissions error
https://youtu.be/vyBP7wpN72c?si=SQFhJQ7bhUAUNCIW
I watched a youtube video to get this installed.
I have standalone nut installation on Ubuntu 22.04.? UPS is a
CP1500PFCLCD.? I have gotten as far as eliminating the no connection
error that I was being broadcast.? I have the web view viewable at
http://192.168.1.105/cgi-bin/nut/upsstats.cgi
The problem I have I believe is permissions.
2008 Jul 11
1
upsmon issue: user monuser not found
Short description: when upsmon starts it logs this to /var/log/messages:
Jul 11 12:35:55 sorcerer upsmon[23902]: Startup successful
Jul 11 12:35:55 sorcerer upsmon[23902]: user monuser not found
Near as I can tell upsd is running properly.
Long description:
Centos 5 system (x86_64), built nut 2.2.2 from stable source with
./configure --with-usb --with-user=nut --with-group-nut
make
2020 Jan 27
3
Nut-upsuser Digest, Vol 175, Issue 32
Here are my permissions and user info. Let me know if there is anything
else I should check
pi at nutpi:~ $ ls -alt /etc/nut
total 56
drwxr-xr-x 87 root root 4096 Jan 26 15:22 ..
drwxr-xr-x 2 root nut 4096 Jan 26 13:53 .
-rw-r----- 1 root nut 4719 Jan 26 13:15 upssched.conf
-rw-r----- 1 root nut 15347 Jan 26 11:25 upsmon.conf
-rw-r----- 1 root nut 1543 Jan 26 10:02 nut.conf
-rw-r-----
2014 Jun 19
0
upsd.conf - run as user option
On Jun 18, 2014, at 1:51 PM, Mike. <the.lists at mgm51.com> wrote:
> The upsmon.conf has the option of setting RUN_AS_USER username
>
> Might it be possible to add a similar option to the upsd.conf file?
>
> I see the -u command-line option for both upsmon and upsd, however,
> upsd doesn't seem to carry that to the configuration file, as upsmon
> does.
2014 Jun 19
1
upsd.conf - run as user option
On 6/19/2014 at 9:03 AM Charles Lepple wrote:
|On Jun 18, 2014, at 1:51 PM, Mike. <the.lists at mgm51.com> wrote:
|
|> The upsmon.conf has the option of setting RUN_AS_USER username
|>
|> Might it be possible to add a similar option to the upsd.conf
file?
|>
|> I see the -u command-line option for both upsmon and upsd,
however,
|> upsd doesn't seem to carry that
2007 Mar 04
1
configure: added --with-group
I just committed the --with-group option for configure. One thing is not
quite what I like, but I have no idea how to script this in autoconf.
Currently both RUN_AS_USER and RUN_AS_GROUP have the defaults "nobody"
and "nogroup" respectively. I think this really should be changed to the
following:
- if neither --with-user, nor --with-group are specified, we apply the
defaults
2005 Dec 19
1
Upsmon problem
Hi,
I feel that i'm having a small problem with my upsmon configuration
(maybe even simply a permissions problem) since I upgrade today to 2.0.2
I have apcsmart set up and talk to my ups no problem (upsc get answer).
I have upsd running no problem!
But when I try to start upsmon, it's unable to talk to my upsd. Having
try a few option I found that saying RUN_AS_USER=root makes my upsmon
2020 Aug 08
3
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
upsmon.conf on server: https://pastebin.com/z4CrUTxb
nut.conf on server: https://pastebin.com/540ShZH7
Permissions for /etc/nut: https://hastebin.com/qecolodapi.diff
On the Synology (I didn’t edit any of these files):
ups.conf: https://hastebin.com/dedereqizi.shell
upsd.conf: https://hastebin.com/pupeseweda.css
upsd.users: https://hastebin.com/ocenamecex.cs
I don’t think I am able to run
2010 Nov 16
2
Shutdown script does not trigger
Dear nut users,
I am fighting to configure a smooth server shutdown with an ubuntu
server and a dell usb ups using nut.
It seems that the drivers connect properly (upsc gives very coherent
outputs).
However I can't get anything to happen when the ups goes on battery.
How can I be sure the the UPS status is really monitored ?
Is there a particular log file where I upsmon reports problems
2020 Jan 27
1
Timer doesn't appear to start
Here is the output
root at nutpi:/etc/nut# ps -elf | grep -E '[n]ut|ups[dms]'
4 S avahi 246 1 0 80 0 - 1472 poll_s Jan26 ? 00:00:31
avahi-daemon: running [nutpi.local]
1 S nut 451 1 0 80 0 - 678 poll_s Jan26 ? 00:03:41
/lib/nut/upscode2 -a deltec-PRA1500
1 S nut 454 1 0 80 0 - 1173 poll_s Jan26 ? 00:00:28
/lib/nut/upsd
1
2020 Aug 08
4
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
On Fri, 7 Aug 2020, Todd Benivegna wrote:
> APC Back-UPS NS 650M1 UPS ---USB---> Synology NAS (DS416 - Master?)
> ---Ethernet---> Netgear Managed Switch w/ uplink to router <---Ethernet---
> Servers (Ubuntu 20.04 - Plex, Pulsar, Proton - All three set as slaves)
I'm guessing that the UPS supplies only the NAS, not the 3 Ubuntu machines. Do
they have their own UPS's?