You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

499 B

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.