userrc/README.md

12 lines
499 B
Markdown
Raw Permalink Normal View History

2015-08-17 10:46:09 +00:00
userrc
======
A very simple script that executes ~/.config/rc.local for your users.
> ./userrc -h
Usage: userrc [-c config] [-l logdir]
The script has two access modes: blacklist (default) and explicit. It is set via the `access_mode` variable in the config.
2015-08-17 10:46:09 +00:00
In blacklist mode, it will find and execute rc.local for every user in the system except for the ones in the `users_deny` array.
In expicit mode, it will find and execute rc.local for every user in the `users_allow` array.