ldap: Update OpenBSD's login.conf template
Also, increase dovecot's open files limit.
This commit is contained in:
parent
8b00cd4071
commit
2664108efd
1 changed files with 24 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
# $OpenBSD: login.conf,v 1.2 2014/04/22 11:03:40 reyk Exp $
|
||||
# $OpenBSD: login.conf,v 1.7 2016/06/26 20:32:31 tedu Exp $
|
||||
|
||||
#
|
||||
# Sample login.conf file. See login.conf(5) for details.
|
||||
|
@ -47,8 +47,7 @@ default:\
|
|||
:maxproc-cur=128:\
|
||||
:openfiles-cur=512:\
|
||||
:stacksize-cur=4M:\
|
||||
:localcipher=blowfish,8:\
|
||||
:ypcipher=old:\
|
||||
:localcipher=blowfish,a:\
|
||||
:tc=auth-defaults:\
|
||||
:tc=auth-ftp-defaults:
|
||||
|
||||
|
@ -61,19 +60,19 @@ daemon:\
|
|||
:ignorenologin:\
|
||||
:datasize=infinity:\
|
||||
:maxproc=infinity:\
|
||||
:openfiles-cur=1024:\
|
||||
:openfiles-cur=128:\
|
||||
:stacksize-cur=8M:\
|
||||
:localcipher=blowfish,9:\
|
||||
:localcipher=blowfish,a:\
|
||||
:tc=default:
|
||||
|
||||
#
|
||||
# Staff have fewer restrictions and can login even when nologins are set.
|
||||
#
|
||||
staff:\
|
||||
:datasize-cur=512M:\
|
||||
:datasize-cur=1536M:\
|
||||
:datasize-max=infinity:\
|
||||
:maxproc-max=512:\
|
||||
:maxproc-cur=128:\
|
||||
:maxproc-cur=256:\
|
||||
:ignorenologin:\
|
||||
:requirehome@:\
|
||||
:tc=default:
|
||||
|
@ -86,6 +85,16 @@ authpf:\
|
|||
:shell=/usr/sbin/authpf:\
|
||||
:tc=default:
|
||||
|
||||
#
|
||||
# Building ports with DPB uses raised limits
|
||||
#
|
||||
pbuild:\
|
||||
:datasize-max=infinity:\
|
||||
:datasize-cur=4096M:\
|
||||
:maxproc-max=1024:\
|
||||
:maxproc-cur=256:\
|
||||
:tc=default:
|
||||
|
||||
#
|
||||
# Override resource limits for certain daemons started by rc.d(8)
|
||||
#
|
||||
|
@ -93,6 +102,14 @@ bgpd:\
|
|||
:openfiles-cur=512:\
|
||||
:tc=daemon:
|
||||
|
||||
unbound:\
|
||||
:openfiles-cur=512:\
|
||||
:tc=daemon:
|
||||
|
||||
dovecot:\
|
||||
:openfiles-cur=1024:\
|
||||
:tc=daemon:
|
||||
|
||||
<%
|
||||
require 'uri'
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue