[Nut-upsuser] Request For Additional Status Confirmation

Roger Price roger at rogerprice.org
Sun Mar 7 20:13:58 GMT 2021


On Sun, 7 Mar 2021, Tim Dawson wrote:

> Su asks for nothing if executed as root . . . it already knows it has 
> authority, so simply changes the user id the command is run as (as I recall, 
> with "-c" to run a script).
> 
> - Tim

Then « su -c "/usr/local/bin/myscript" nut » looks like the best choice.  Roger


More information about the Nut-upsuser mailing list