Changeset View
Changeset View
Standalone View
Standalone View
share/man/man5/rc.conf.5
Show All 18 Lines | |||||||||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||||||||
.\" | .\" | ||||||||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||||||||
.\" | .\" | ||||||||||
.Dd November 21, 2021 | .Dd November 26, 2021 | ||||||||||
.Dt RC.CONF 5 | .Dt RC.CONF 5 | ||||||||||
.Os | .Os | ||||||||||
.Sh NAME | .Sh NAME | ||||||||||
.Nm rc.conf | .Nm rc.conf | ||||||||||
.Nd system configuration information | .Nd system configuration information | ||||||||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||||||||
The file | The file | ||||||||||
.Nm | .Nm | ||||||||||
▲ Show 20 Lines • Show All 151 Lines • ▼ Show 20 Lines | |||||||||||
Setting this option will bypass that check at boot time and | Setting this option will bypass that check at boot time and | ||||||||||
always test whether or not the service is actually running. | always test whether or not the service is actually running. | ||||||||||
Enabling this option is likely to increase your boot time if | Enabling this option is likely to increase your boot time if | ||||||||||
services are enabled that utilize the force_depend check. | services are enabled that utilize the force_depend check. | ||||||||||
.It Ao Ar name Ac Ns Va _chroot | .It Ao Ar name Ac Ns Va _chroot | ||||||||||
.Pq Vt str | .Pq Vt str | ||||||||||
.Xr chroot 8 | .Xr chroot 8 | ||||||||||
to this directory before running the service. | to this directory before running the service. | ||||||||||
.It Ao Ar name Ac Ns Va _user | |||||||||||
.Pq Vt str | |||||||||||
Run the service under this user account. | |||||||||||
.It Ao Ar name Ac Ns Va _group | |||||||||||
.Pq Vt str | |||||||||||
Run the chrooted service under this system group. | |||||||||||
Unlike the _user | |||||||||||
setting, this setting has no effect if the service is not chrooted. | |||||||||||
.It Ao Ar name Ac Ns Va _fib | .It Ao Ar name Ac Ns Va _fib | ||||||||||
.Pq Vt int | .Pq Vt int | ||||||||||
The | The | ||||||||||
.Xr setfib 1 | .Xr setfib 1 | ||||||||||
value to run the service under. | value to run the service under. | ||||||||||
.It Ao Ar name Ac Ns Va _group | |||||||||||
.Pq Vt str | |||||||||||
Run the chrooted service under this system group. | |||||||||||
Unlike the | |||||||||||
0mpUnsubmitted Done Inline Actions
0mp: | |||||||||||
.Ao Ar name Ac Ns Va _user | |||||||||||
setting, this setting has no effect if the service is not chrooted. | |||||||||||
.It Ao Ar name Ac Ns Va _limits | |||||||||||
.Pq Vt str | |||||||||||
Resource limits to apply to the service using | |||||||||||
.Xr limits 1 . | |||||||||||
By default, resource limits are based on the login class defined in | |||||||||||
.Ao Ar name Ac Ns Va _login_class . | |||||||||||
.It Ao Ar name Ac Ns Va _login_class | |||||||||||
.Pq Vt str | |||||||||||
Login class to be used with | |||||||||||
.Ao Ar name Ac Ns Va _limits . | |||||||||||
Defaults to | |||||||||||
.Dq Li daemon . | |||||||||||
.It Ao Ar name Ac Ns Va _nice | .It Ao Ar name Ac Ns Va _nice | ||||||||||
.Pq Vt int | .Pq Vt int | ||||||||||
The | The | ||||||||||
.Xr nice 1 | .Xr nice 1 | ||||||||||
value to run the service under. | value to run the service under. | ||||||||||
.It Ao Ar name Ac Ns Va _oomprotect | |||||||||||
Use | |||||||||||
Not Done Inline Actions
0mp: | |||||||||||
.Xr protect 1 | |||||||||||
to prevent the service from being killed when swap space | |||||||||||
is exhausted. | |||||||||||
Done Inline Actions
a.wolk_fudosecurity.com: | |||||||||||
Use | |||||||||||
.Dq Li YES | |||||||||||
to protect only the service itself, and | |||||||||||
.Dq Li ALL | |||||||||||
Done Inline Actions
a.wolk_fudosecurity.com: | |||||||||||
Done Inline ActionsAdd login.conf(5) to SEE ALSO ? ceri: Add login.conf(5) to SEE ALSO ? | |||||||||||
to protect the service and all child processes. | |||||||||||
.Pp | |||||||||||
Please note rc scripts that redefine | |||||||||||
.Bd | |||||||||||
${name}_cmd | |||||||||||
.Ed | |||||||||||
such as PostgreSQL will not a inherit the OOM killer protection. | |||||||||||
.It Ao Ar name Ac Ns Va _user | |||||||||||
.Pq Vt str | |||||||||||
Run the service under this user account. | |||||||||||
.It Va apm_enable | .It Va apm_enable | ||||||||||
.Pq Vt bool | .Pq Vt bool | ||||||||||
If set to | If set to | ||||||||||
.Dq Li YES , | .Dq Li YES , | ||||||||||
enable support for Automatic Power Management with | enable support for Automatic Power Management with | ||||||||||
the | the | ||||||||||
.Xr apm 8 | .Xr apm 8 | ||||||||||
command. | command. | ||||||||||
▲ Show 20 Lines • Show All 4,399 Lines • ▼ Show 20 Lines | |||||||||||
.It Pa /etc/rc.conf | .It Pa /etc/rc.conf | ||||||||||
.It Pa /etc/rc.conf.local | .It Pa /etc/rc.conf.local | ||||||||||
.El | .El | ||||||||||
.Sh SEE ALSO | .Sh SEE ALSO | ||||||||||
.Xr chmod 1 , | .Xr chmod 1 , | ||||||||||
.Xr gdb 1 , | .Xr gdb 1 , | ||||||||||
.Xr info 1 , | .Xr info 1 , | ||||||||||
.Xr kbdcontrol 1 , | .Xr kbdcontrol 1 , | ||||||||||
.Xr limits 1 , | |||||||||||
.Xr protect 1 , | |||||||||||
Done Inline Actionsmakewhatis is (8) in -current per contrib/mandoc, and already Xr'd with that section# in rc.conf.5. pauamma_gundo.com: makewhatis is (8) in -current per contrib/mandoc, and already Xr'd with that section# in rc. | |||||||||||
.Xr sh 1 , | .Xr sh 1 , | ||||||||||
.Xr vi 1 , | .Xr vi 1 , | ||||||||||
.Xr vidcontrol 1 , | .Xr vidcontrol 1 , | ||||||||||
.Xr bridge 4 , | .Xr bridge 4 , | ||||||||||
.Xr dummynet 4 , | .Xr dummynet 4 , | ||||||||||
.Xr ip 4 , | .Xr ip 4 , | ||||||||||
.Xr ipf 4 , | .Xr ipf 4 , | ||||||||||
.Xr ipfw 4 , | .Xr ipfw 4 , | ||||||||||
.Xr ipnat 4 , | .Xr ipnat 4 , | ||||||||||
.Xr kld 4 , | .Xr kld 4 , | ||||||||||
.Xr pf 4 , | .Xr pf 4 , | ||||||||||
.Xr pflog 4 , | .Xr pflog 4 , | ||||||||||
.Xr pfsync 4 , | .Xr pfsync 4 , | ||||||||||
.Xr tcp 4 , | .Xr tcp 4 , | ||||||||||
.Xr udp 4 , | .Xr udp 4 , | ||||||||||
.Xr exports 5 , | .Xr exports 5 , | ||||||||||
.Xr fstab 5 , | .Xr fstab 5 , | ||||||||||
.Xr ipf 5 , | .Xr ipf 5 , | ||||||||||
.Xr ipnat 5 , | .Xr ipnat 5 , | ||||||||||
.Xr jail.conf 5 , | .Xr jail.conf 5 , | ||||||||||
.Xr loader.conf 5 , | .Xr loader.conf 5 , | ||||||||||
.Xr login.conf 5 , | |||||||||||
.Xr motd 5 , | .Xr motd 5 , | ||||||||||
.Xr newsyslog.conf 5 , | .Xr newsyslog.conf 5 , | ||||||||||
.Xr pf.conf 5 , | .Xr pf.conf 5 , | ||||||||||
.Xr firewall 7 , | .Xr firewall 7 , | ||||||||||
.Xr growfs 7 , | .Xr growfs 7 , | ||||||||||
.Xr security 7 , | .Xr security 7 , | ||||||||||
.Xr tuning 7 , | .Xr tuning 7 , | ||||||||||
.Xr accton 8 , | .Xr accton 8 , | ||||||||||
Show All 32 Lines | |||||||||||
.Xr pfctl 8 , | .Xr pfctl 8 , | ||||||||||
.Xr pflogd 8 , | .Xr pflogd 8 , | ||||||||||
.Xr ping 8 , | .Xr ping 8 , | ||||||||||
.Xr powerd 8 , | .Xr powerd 8 , | ||||||||||
.Xr quotacheck 8 , | .Xr quotacheck 8 , | ||||||||||
.Xr quotaon 8 , | .Xr quotaon 8 , | ||||||||||
.Xr rc 8 , | .Xr rc 8 , | ||||||||||
.Xr rc.sendmail 8 , | .Xr rc.sendmail 8 , | ||||||||||
.Xr rc.subr 8 , | |||||||||||
.Xr rcorder 8 , | .Xr rcorder 8 , | ||||||||||
.Xr rfcomm_pppd 8 , | .Xr rfcomm_pppd 8 , | ||||||||||
.Xr route 8 , | .Xr route 8 , | ||||||||||
.Xr routed 8 , | .Xr routed 8 , | ||||||||||
.Xr rpc.lockd 8 , | .Xr rpc.lockd 8 , | ||||||||||
.Xr rpc.statd 8 , | .Xr rpc.statd 8 , | ||||||||||
.Xr rpc.tlsclntd 8 , | .Xr rpc.tlsclntd 8 , | ||||||||||
.Xr rpc.tlsservd 8 , | .Xr rpc.tlsservd 8 , | ||||||||||
Show All 24 Lines |