02-22-2020, 01:19 PM
(02-22-2020, 12:48 PM)TheOldPresbyope Wrote: @rh2018
Hi, Richard.
Nice catch about the permissions issue. I can't find any explicit mention in the README or the man pages. I suppose my spidey sense should have tingled when I read "it works independently from a specific user being logged in ".
Curious about the powered USB-hub. They seem to be a bit of chimera---solve one problem and create another.
Regards,
Kent
Hi Kent,
/etc/default/triggerhappy contains;
Code:
# Defaults for triggerhappy initscript
# sourced by /etc/init.d/triggerhappy
# installed at /etc/default/triggerhappy by the maintainer scripts
#
# This is a POSIX shell fragment
#
# Additional options that are passed to the Daemon.
DAEMON_OPTS=""
# The Triggerhappy daemon (thd) drops its root privileges after
# startup and becomes "nobody". If you want it to retain its root
# status (e.g. to run commands only accessible to the system user),
# uncomment the following line or specifiy the user option yourself:
#
# DAEMON_OPTS="--user root"
I tried uncommenting the last line but still couldn't use a direct shutdown command so don't know how that is supposed to work.
Regards,
Richard.