SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

UserRC is a small program which is run from the FreeBSD rcng system to dispatch users rc scripts at bootup/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.

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.

Any comments or suggestions to matt@root-access.ws


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.