12 lines
499 B
Markdown
12 lines
499 B
Markdown
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.
|
|
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.
|