Add config option for librenms user + validate.php support #1956

merged 2 commits into from Sep 22, 2015


None yet

3 participants

laf commented Sep 21, 2015

At present we ask people to create a librenms user (some may do this, some may run as root and some may choose their own user). However we have no idea what has been done.

I've added a config.php option $config['user'] that is now set within the users config (not in as I don't want to add this to everyone - some are not running librenms as librenms user).

We then use that in validate.php to tell people when files are no longer owned by that user and print the list. logs is excluded as this is by the web server user.

laf added some commits Sep 21, 2015
@laf laf Added support for specifying user in config and then validating install 4cc9482
@laf laf Updated validate.php docs
@f0o f0o merged commit 9392188 into librenms:master Sep 22, 2015

2 checks passed

Auto-Deploy Build finished. No test results found.
Scrutinizer No new issues
@laf laf deleted the laf:user-validation branch Sep 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment