On 11/19/20 9:09 AM, Roger Price wrote: > I would like to build a list of the user names and configuration file > locations > for the most common distributions which include NUT. So far I have: > > Distrib User Config directory > debian nut /etc/nut/ > opensuse upsd /etc/ups/ > > These will be used to produce more user-friendly tools and documentation for > NUT. If you use some other distribution, could you report > > 1. How does the distribution identify itself? > Suggestion: command grep ID /etc/os-release
minbar:root:~:2 # cat /etc/gentoo-release Gentoo Base System release 2.7 > 2. Which non-root user is used to run the upsd and upsmon daemons? > Suggestion: command ps -ef | grep upsd | grep -v -E "grep|cupsd" minbar:root:~:6 # ps aux | grep $(which upsd) nut 5738 0.0 0.0 6064 448 ? Ss Nov01 1:28 /usr/sbin/upsd > 3. Where does the distribution place the NUT configuration files? > Suggestion 1: command locate upsd.conf | grep -E "^/etc" | grep -v cups > Suggestion 2: command ls -d /etc/*/* | grep "upsd.conf" | grep -v cups Gentoo uses /etc/nut -- Phil Stracchino Babylon Communications ph...@caerllewys.net p...@co.ordinate.org Landline: +1.603.293.8485 Mobile: +1.603.998.6958 _______________________________________________ Nut-upsuser mailing list Nut-upsuser@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser