UserRC 1.0.0 review
Download
|
|
UserRC is a small program to run from rcNG to start or stop user processes at bootup and shutdown.
A feew checks are made on the scripts before they are executed:
1) Is the script owned by right person?
2) Are the file permissions restrictive enough?
A user's RC files are placed in $HOME/rc.d and UserRC, after forking for the user, sets its UID to be that of the owner of the rc script.
A few security checks are performed, and the user's rcNG scripts are run as the UID of the owner.
Installation
Compiliing:
Just type "make install"
Activiting:
Add:
$userrc_enable="YES"
to your /etc/rc.conf file
Running:
/etc/rc.d/userrc start :will start any user services as that user
/etc/rc.d/userrc stop :will stop all user services.
UserRC 1.0.0 keywords