ok deraadt millertOPENBSD_5_6
@ -0,0 +1,96 @@ | |||
# $OpenBSD: login.conf,v 1.1 2014/03/26 20:17:00 tedu Exp $ | |||
# | |||
# Sample login.conf file. See login.conf(5) for details. | |||
# | |||
# | |||
# Standard authentication styles: | |||
# | |||
# krb5-or-pwd First try Kerberos V password, then local password file | |||
# passwd Use only the local password file | |||
# krb5 Use only the Kerberos V password | |||
# chpass Do not authenticate, but change users password (change | |||
# the YP password if the user has one, else change the | |||
# local password) | |||
# lchpass Do not login; change user's local password instead | |||
# radius Use radius authentication | |||
# reject Use rejected authentication | |||
# skey Use S/Key authentication | |||
# activ ActivCard X9.9 token authentication | |||
# crypto CRYPTOCard X9.9 token authentication | |||
# snk Digital Pathways SecureNet Key authentication | |||
# tis TIS Firewall Toolkit authentication | |||
# token Generic X9.9 token authentication | |||
# yubikey YubiKey authentication | |||
# | |||
# Default allowed authentication styles | |||
auth-defaults:auth=passwd,skey: | |||
# Default allowed authentication styles for authentication type ftp | |||
auth-ftp-defaults:auth-ftp=passwd: | |||
# | |||
# The default values | |||
# To alter the default authentication types change the line: | |||
# :tc=auth-defaults:\ | |||
# to be read something like: (enables passwd, "myauth", and activ) | |||
# :auth=passwd,myauth,activ:\ | |||
# Any value changed in the daemon class should be reset in default | |||
# class. | |||
# | |||
default:\ | |||
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin /usr/local/sbin:\ | |||
:umask=022:\ | |||
:datasize-max=512M:\ | |||
:datasize-cur=512M:\ | |||
:maxproc-max=256:\ | |||
:maxproc-cur=128:\ | |||
:openfiles-cur=512:\ | |||
:stacksize-cur=4M:\ | |||
:localcipher=blowfish,8:\ | |||
:ypcipher=old:\ | |||
:tc=auth-defaults:\ | |||
:tc=auth-ftp-defaults: | |||
# | |||
# Settings used by /etc/rc and root | |||
# This must be set properly for daemons started as root by inetd as well. | |||
# Be sure reset these values back to system defaults in the default class! | |||
# | |||
daemon:\ | |||
:ignorenologin:\ | |||
:datasize=infinity:\ | |||
:maxproc=infinity:\ | |||
:openfiles-cur=128:\ | |||
:stacksize-cur=8M:\ | |||
:localcipher=blowfish,9:\ | |||
:tc=default: | |||
# | |||
# Staff have fewer restrictions and can login even when nologins are set. | |||
# | |||
staff:\ | |||
:datasize-cur=512M:\ | |||
:datasize-max=infinity:\ | |||
:maxproc-max=512:\ | |||
:maxproc-cur=128:\ | |||
:ignorenologin:\ | |||
:requirehome@:\ | |||
:tc=default: | |||
# | |||
# Authpf accounts get a special motd and shell | |||
# | |||
authpf:\ | |||
:welcome=/etc/motd.authpf:\ | |||
:shell=/usr/sbin/authpf:\ | |||
:tc=default: | |||
# | |||
# Override resource limits for certain daemons started by rc.d(8) | |||
# | |||
bgpd:\ | |||
:openfiles-cur=512:\ | |||
:tc=daemon: |
@ -0,0 +1,96 @@ | |||
# $OpenBSD: login.conf,v 1.1 2014/03/26 20:17:00 tedu Exp $ | |||
# | |||
# Sample login.conf file. See login.conf(5) for details. | |||
# | |||
# | |||
# Standard authentication styles: | |||
# | |||
# krb5-or-pwd First try Kerberos V password, then local password file | |||
# passwd Use only the local password file | |||
# krb5 Use only the Kerberos V password | |||
# chpass Do not authenticate, but change users password (change | |||
# the YP password if the user has one, else change the | |||
# local password) | |||
# lchpass Do not login; change user's local password instead | |||
# radius Use radius authentication | |||
# reject Use rejected authentication | |||
# skey Use S/Key authentication | |||
# activ ActivCard X9.9 token authentication | |||
# crypto CRYPTOCard X9.9 token authentication | |||
# snk Digital Pathways SecureNet Key authentication | |||
# tis TIS Firewall Toolkit authentication | |||
# token Generic X9.9 token authentication | |||
# yubikey YubiKey authentication | |||
# | |||
# Default allowed authentication styles | |||
auth-defaults:auth=passwd,skey: | |||
# Default allowed authentication styles for authentication type ftp | |||
auth-ftp-defaults:auth-ftp=passwd: | |||
# | |||
# The default values | |||
# To alter the default authentication types change the line: | |||
# :tc=auth-defaults:\ | |||
# to be read something like: (enables passwd, "myauth", and activ) | |||
# :auth=passwd,myauth,activ:\ | |||
# Any value changed in the daemon class should be reset in default | |||
# class. | |||
# | |||
default:\ | |||
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin /usr/local/sbin:\ | |||
:umask=022:\ | |||
:datasize-max=512M:\ | |||
:datasize-cur=512M:\ | |||
:maxproc-max=256:\ | |||
:maxproc-cur=128:\ | |||
:openfiles-cur=512:\ | |||
:stacksize-cur=4M:\ | |||
:localcipher=blowfish,8:\ | |||
:ypcipher=old:\ | |||
:tc=auth-defaults:\ | |||
:tc=auth-ftp-defaults: | |||
# | |||
# Settings used by /etc/rc and root | |||
# This must be set properly for daemons started as root by inetd as well. | |||
# Be sure reset these values back to system defaults in the default class! | |||
# | |||
daemon:\ | |||
:ignorenologin:\ | |||
:datasize=infinity:\ | |||
:maxproc=infinity:\ | |||
:openfiles-cur=128:\ | |||
:stacksize-cur=8M:\ | |||
:localcipher=blowfish,9:\ | |||
:tc=default: | |||
# | |||
# Staff have fewer restrictions and can login even when nologins are set. | |||
# | |||
staff:\ | |||
:datasize-cur=512M:\ | |||
:datasize-max=infinity:\ | |||
:maxproc-max=512:\ | |||
:maxproc-cur=128:\ | |||
:ignorenologin:\ | |||
:requirehome@:\ | |||
:tc=default: | |||
# | |||
# Authpf accounts get a special motd and shell | |||
# | |||
authpf:\ | |||
:welcome=/etc/motd.authpf:\ | |||
:shell=/usr/sbin/authpf:\ | |||
:tc=default: | |||
# | |||
# Override resource limits for certain daemons started by rc.d(8) | |||
# | |||
bgpd:\ | |||
:openfiles-cur=512:\ | |||
:tc=daemon: |
@ -0,0 +1,96 @@ | |||
# $OpenBSD: login.conf,v 1.1 2014/03/26 20:17:00 tedu Exp $ | |||
# | |||
# Sample login.conf file. See login.conf(5) for details. | |||
# | |||
# | |||
# Standard authentication styles: | |||
# | |||
# krb5-or-pwd First try Kerberos V password, then local password file | |||
# passwd Use only the local password file | |||
# krb5 Use only the Kerberos V password | |||
# chpass Do not authenticate, but change users password (change | |||
# the YP password if the user has one, else change the | |||
# local password) | |||
# lchpass Do not login; change user's local password instead | |||
# radius Use radius authentication | |||
# reject Use rejected authentication | |||
# skey Use S/Key authentication | |||
# activ ActivCard X9.9 token authentication | |||
# crypto CRYPTOCard X9.9 token authentication | |||
# snk Digital Pathways SecureNet Key authentication | |||
# tis TIS Firewall Toolkit authentication | |||
# token Generic X9.9 token authentication | |||
# yubikey YubiKey authentication | |||
# | |||
# Default allowed authentication styles | |||
auth-defaults:auth=passwd,skey: | |||
# Default allowed authentication styles for authentication type ftp | |||
auth-ftp-defaults:auth-ftp=passwd: | |||
# | |||
# The default values | |||
# To alter the default authentication types change the line: | |||
# :tc=auth-defaults:\ | |||
# to be read something like: (enables passwd, "myauth", and activ) | |||
# :auth=passwd,myauth,activ:\ | |||
# Any value changed in the daemon class should be reset in default | |||
# class. | |||
# | |||
default:\ | |||
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin /usr/local/sbin:\ | |||
:umask=022:\ | |||
:datasize-max=512M:\ | |||
:datasize-cur=512M:\ | |||
:maxproc-max=256:\ | |||
:maxproc-cur=128:\ | |||
:openfiles-cur=512:\ | |||
:stacksize-cur=4M:\ | |||
:localcipher=blowfish,8:\ | |||
:ypcipher=old:\ | |||
:tc=auth-defaults:\ | |||
:tc=auth-ftp-defaults: | |||
# | |||
# Settings used by /etc/rc and root | |||
# This must be set properly for daemons started as root by inetd as well. | |||
# Be sure reset these values back to system defaults in the default class! | |||
# | |||
daemon:\ | |||
:ignorenologin:\ | |||
:datasize=infinity:\ | |||
:maxproc=infinity:\ | |||
:openfiles-cur=128:\ | |||
:stacksize-cur=8M:\ | |||
:localcipher=blowfish,9:\ | |||
:tc=default: | |||
# | |||
# Staff have fewer restrictions and can login even when nologins are set. | |||
# | |||
staff:\ | |||
:datasize-cur=512M:\ | |||
:datasize-max=infinity:\ | |||
:maxproc-max=512:\ | |||
:maxproc-cur=128:\ | |||
:ignorenologin:\ | |||
:requirehome@:\ | |||
:tc=default: | |||
# | |||
# Authpf accounts get a special motd and shell | |||
# | |||
authpf:\ | |||
:welcome=/etc/motd.authpf:\ | |||
:shell=/usr/sbin/authpf:\ | |||
:tc=default: | |||
# | |||
# Override resource limits for certain daemons started by rc.d(8) | |||
# | |||
bgpd:\ | |||
:openfiles-cur=512:\ | |||
:tc=daemon: |
@ -0,0 +1,96 @@ | |||
# $OpenBSD: login.conf,v 1.1 2014/03/26 20:17:00 tedu Exp $ | |||
# | |||
# Sample login.conf file. See login.conf(5) for details. | |||
# | |||
# | |||
# Standard authentication styles: | |||
# | |||
# krb5-or-pwd First try Kerberos V password, then local password file | |||
# passwd Use only the local password file | |||
# krb5 Use only the Kerberos V password | |||
# chpass Do not authenticate, but change users password (change | |||
# the YP password if the user has one, else change the | |||
# local password) | |||
# lchpass Do not login; change user's local password instead | |||
# radius Use radius authentication | |||
# reject Use rejected authentication | |||
# skey Use S/Key authentication | |||
# activ ActivCard X9.9 token authentication | |||
# crypto CRYPTOCard X9.9 token authentication | |||
# snk Digital Pathways SecureNet Key authentication | |||
# tis TIS Firewall Toolkit authentication | |||
# token Generic X9.9 token authentication | |||
# yubikey YubiKey authentication | |||
# | |||
# Default allowed authentication styles | |||
auth-defaults:auth=passwd,skey: | |||
# Default allowed authentication styles for authentication type ftp | |||
auth-ftp-defaults:auth-ftp=passwd: | |||
# | |||
# The default values | |||
# To alter the default authentication types change the line: | |||
# :tc=auth-defaults:\ | |||
# to be read something like: (enables passwd, "myauth", and activ) | |||
# :auth=passwd,myauth,activ:\ | |||
# Any value changed in the daemon class should be reset in default | |||
# class. | |||
# | |||
default:\ | |||
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin /usr/local/sbin:\ | |||
:umask=022:\ | |||
:datasize-max=512M:\ | |||
:datasize-cur=512M:\ | |||
:maxproc-max=256:\ | |||
:maxproc-cur=128:\ | |||
:openfiles-cur=512:\ | |||
:stacksize-cur=4M:\ | |||
:localcipher=blowfish,8:\ | |||
:ypcipher=old:\ | |||
:tc=auth-defaults:\ | |||
:tc=auth-ftp-defaults: | |||
# | |||
# Settings used by /etc/rc and root | |||
# This must be set properly for daemons started as root by inetd as well. | |||
# Be sure reset these values back to system defaults in the default class! | |||
# | |||
daemon:\ | |||
:ignorenologin:\ | |||
:datasize=infinity:\ | |||
:maxproc=infinity:\ | |||
:openfiles-cur=128:\ | |||
:stacksize-cur=8M:\ | |||
:localcipher=blowfish,9:\ | |||
:tc=default: | |||
# | |||
# Staff have fewer restrictions and can login even when nologins are set. | |||
# | |||
staff:\ | |||
:datasize-cur=512M:\ | |||
:datasize-max=infinity:\ | |||
:maxproc-max=512:\ | |||
:maxproc-cur=128:\ | |||
:ignorenologin:\ | |||
:requirehome@:\ | |||
:tc=default: | |||
# | |||
# Authpf accounts get a special motd and shell | |||
# | |||
authpf:\ | |||
:welcome=/etc/motd.authpf:\ | |||
:shell=/usr/sbin/authpf:\ | |||
:tc=default: | |||
# | |||
# Override resource limits for certain daemons started by rc.d(8) | |||
# | |||
bgpd:\ | |||
:openfiles-cur=512:\ | |||
:tc=daemon: |
@ -0,0 +1,96 @@ | |||
# $OpenBSD: login.conf,v 1.1 2014/03/26 20:17:00 tedu Exp $ | |||
# | |||
# Sample login.conf file. See login.conf(5) for details. | |||
# | |||
# | |||
# Standard authentication styles: | |||
# | |||
# krb5-or-pwd First try Kerberos V password, then local password file | |||
# passwd Use only the local password file | |||
# krb5 Use only the Kerberos V password | |||
# chpass Do not authenticate, but change users password (change | |||
# the YP password if the user has one, else change the | |||
# local password) | |||
# lchpass Do not login; change user's local password instead | |||
# radius Use radius authentication | |||
# reject Use rejected authentication | |||
# skey Use S/Key authentication | |||
# activ ActivCard X9.9 token authentication | |||
# crypto CRYPTOCard X9.9 token authentication | |||
# snk Digital Pathways SecureNet Key authentication | |||
# tis TIS Firewall Toolkit authentication | |||
# token Generic X9.9 token authentication | |||
# yubikey YubiKey authentication | |||
# | |||
# Default allowed authentication styles | |||
auth-defaults:auth=passwd,skey: | |||
# Default allowed authentication styles for authentication type ftp | |||
auth-ftp-defaults:auth-ftp=passwd: | |||
# | |||
# The default values | |||
# To alter the default authentication types change the line: | |||
# :tc=auth-defaults:\ | |||
# to be read something like: (enables passwd, "myauth", and activ) | |||
# :auth=passwd,myauth,activ:\ | |||
# Any value changed in the daemon class should be reset in default | |||
# class. | |||
# | |||
default:\ | |||
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin /usr/local/sbin:\ | |||
:umask=022:\ | |||
:datasize-max=512M:\ | |||
:datasize-cur=512M:\ | |||
:maxproc-max=256:\ | |||
:maxproc-cur=128:\ | |||
:openfiles-cur=512:\ | |||
:stacksize-cur=4M:\ | |||
:localcipher=blowfish,8:\ | |||
:ypcipher=old:\ | |||
:tc=auth-defaults:\ | |||
:tc=auth-ftp-defaults: | |||
# | |||
# Settings used by /etc/rc and root | |||
# This must be set properly for daemons started as root by inetd as well. | |||
# Be sure reset these values back to system defaults in the default class! | |||
# | |||
daemon:\ | |||
:ignorenologin:\ | |||
:datasize=infinity:\ | |||
:maxproc=infinity:\ | |||
:openfiles-cur=128:\ | |||
:stacksize-cur=8M:\ | |||
:localcipher=blowfish,9:\ | |||
:tc=default: | |||
# | |||
# Staff have fewer restrictions and can login even when nologins are set. | |||
# | |||
staff:\ | |||
:datasize-cur=512M:\ | |||
:datasize-max=infinity:\ | |||
:maxproc-max=512:\ | |||
:maxproc-cur=128:\ | |||
:ignorenologin:\ | |||
:requirehome@:\ | |||
:tc=default: | |||
# | |||
# Authpf accounts get a special motd and shell | |||
# | |||
authpf:\ | |||
:welcome=/etc/motd.authpf:\ | |||
:shell=/usr/sbin/authpf:\ | |||
:tc=default: | |||
# | |||
# Override resource limits for certain daemons started by rc.d(8) | |||
# | |||
bgpd:\ | |||
:openfiles-cur=512:\ | |||
:tc=daemon: |
@ -0,0 +1,96 @@ | |||
# $OpenBSD: login.conf,v 1.1 2014/03/26 20:17:00 tedu Exp $ | |||
# | |||
# Sample login.conf file. See login.conf(5) for details. | |||
# | |||
# | |||
# Standard authentication styles: | |||
# | |||
# krb5-or-pwd First try Kerberos V password, then local password file | |||
# passwd Use only the local password file | |||
# krb5 Use only the Kerberos V password | |||
# chpass Do not authenticate, but change users password (change | |||
# the YP password if the user has one, else change the | |||
# local password) | |||
# lchpass Do not login; change user's local password instead | |||
# radius Use radius authentication | |||
# reject Use rejected authentication | |||
# skey Use S/Key authentication | |||
# activ ActivCard X9.9 token authentication | |||
# crypto CRYPTOCard X9.9 token authentication | |||
# snk Digital Pathways SecureNet Key authentication | |||
# tis TIS Firewall Toolkit authentication | |||
# token Generic X9.9 token authentication | |||
# yubikey YubiKey authentication | |||
# | |||
# Default allowed authentication styles | |||
auth-defaults:auth=passwd,skey: | |||
# Default allowed authentication styles for authentication type ftp | |||
auth-ftp-defaults:auth-ftp=passwd: | |||
# | |||
# The default values | |||
# To alter the default authentication types change the line: | |||
# :tc=auth-defaults:\ | |||
# to be read something like: (enables passwd, "myauth", and activ) | |||
# :auth=passwd,myauth,activ:\ | |||
# Any value changed in the daemon class should be reset in default | |||
# class. | |||
# | |||
default:\ | |||
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin /usr/local/sbin:\ | |||
:umask=022:\ | |||
:datasize-max=512M:\ | |||
:datasize-cur=512M:\ | |||
:maxproc-max=256:\ | |||
:maxproc-cur=128:\ | |||
:openfiles-cur=512:\ | |||
:stacksize-cur=4M:\ | |||
:localcipher=blowfish,8:\ | |||
:ypcipher=old:\ | |||
:tc=auth-defaults:\ | |||
:tc=auth-ftp-defaults: | |||
# | |||
# Settings used by /etc/rc and root | |||
# This must be set properly for daemons started as root by inetd as well. | |||
# Be sure reset these values back to system defaults in the default class! | |||
# | |||
daemon:\ | |||
:ignorenologin:\ | |||
:datasize=infinity:\ | |||
:maxproc=infinity:\ | |||
:openfiles-cur=128:\ | |||
:stacksize-cur=8M:\ | |||
:localcipher=blowfish,9:\ | |||
:tc=default: | |||
# | |||
# Staff have fewer restrictions and can login even when nologins are set. | |||
# | |||
staff:\ | |||
:datasize-cur=512M:\ | |||
:datasize-max=infinity:\ | |||
:maxproc-max=512:\ | |||
:maxproc-cur=128:\ | |||
:ignorenologin:\ | |||
:requirehome@:\ | |||
:tc=default: | |||
# | |||
# Authpf accounts get a special motd and shell | |||
# | |||
authpf:\ | |||
:welcome=/etc/motd.authpf:\ | |||
:shell=/usr/sbin/authpf:\ | |||
:tc=default: | |||
# | |||
# Override resource limits for certain daemons started by rc.d(8) | |||
# | |||
bgpd:\ | |||
:openfiles-cur=512:\ | |||
:tc=daemon: |
@ -0,0 +1,96 @@ | |||
# $OpenBSD: login.conf,v 1.1 2014/03/26 20:17:00 tedu Exp $ | |||
# | |||
# Sample login.conf file. See login.conf(5) for details. | |||
# | |||
# | |||
# Standard authentication styles: | |||
# | |||
# krb5-or-pwd First try Kerberos V password, then local password file | |||
# passwd Use only the local password file | |||
# krb5 Use only the Kerberos V password | |||
# chpass Do not authenticate, but change users password (change | |||
# the YP password if the user has one, else change the | |||
# local password) | |||
# lchpass Do not login; change user's local password instead | |||
# radius Use radius authentication | |||
# reject Use rejected authentication | |||
# skey Use S/Key authentication | |||
# activ ActivCard X9.9 token authentication | |||
# crypto CRYPTOCard X9.9 token authentication | |||
# snk Digital Pathways SecureNet Key authentication | |||
# tis TIS Firewall Toolkit authentication | |||
# token Generic X9.9 token authentication | |||
# yubikey YubiKey authentication | |||
# | |||
# Default allowed authentication styles | |||
auth-defaults:auth=passwd,skey: | |||
# Default allowed authentication styles for authentication type ftp | |||
auth-ftp-defaults:auth-ftp=passwd: | |||
# | |||
# The default values | |||
# To alter the default authentication types change the line: | |||
# :tc=auth-defaults:\ | |||
# to be read something like: (enables passwd, "myauth", and activ) | |||
# :auth=passwd,myauth,activ:\ | |||
# Any value changed in the daemon class should be reset in default | |||
# class. | |||
# | |||
default:\ | |||
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin /usr/local/sbin:\ | |||
:umask=022:\ | |||
:datasize-max=512M:\ | |||
:datasize-cur=512M:\ | |||
:maxproc-max=256:\ | |||
:maxproc-cur=128:\ | |||
:openfiles-cur=512:\ | |||
:stacksize-cur=4M:\ | |||
:localcipher=blowfish,8:\ | |||
:ypcipher=old:\ | |||
:tc=auth-defaults:\ | |||
:tc=auth-ftp-defaults: | |||
# | |||
# Settings used by /etc/rc and root | |||
# This must be set properly for daemons started as root by inetd as well. | |||
# Be sure reset these values back to system defaults in the default class! | |||
# | |||
daemon:\ | |||
:ignorenologin:\ | |||
:datasize=infinity:\ | |||
:maxproc=infinity:\ | |||
:openfiles-cur=128:\ | |||
:stacksize-cur=8M:\ | |||
:localcipher=blowfish,9:\ | |||
:tc=default: | |||
# | |||
# Staff have fewer restrictions and can login even when nologins are set. | |||
# | |||
staff:\ | |||
:datasize-cur=512M:\ | |||
:datasize-max=infinity:\ | |||
:maxproc-max=512:\ | |||
:maxproc-cur=128:\ | |||
:ignorenologin:\ | |||
:requirehome@:\ | |||
:tc=default: | |||
# | |||
# Authpf accounts get a special motd and shell | |||
# | |||
authpf:\ | |||
:welcome=/etc/motd.authpf:\ | |||
:shell=/usr/sbin/authpf:\ | |||
:tc=default: | |||
# | |||
# Override resource limits for certain daemons started by rc.d(8) | |||
# | |||
bgpd:\ | |||
:openfiles-cur=512:\ | |||
:tc=daemon: |
@ -0,0 +1,96 @@ | |||
# $OpenBSD: login.conf,v 1.1 2014/03/26 20:17:01 tedu Exp $ | |||
# | |||
# Sample login.conf file. See login.conf(5) for details. | |||
# | |||
# | |||
# Standard authentication styles: | |||
# | |||
# krb5-or-pwd First try Kerberos V password, then local password file | |||
# passwd Use only the local password file | |||
# krb5 Use only the Kerberos V password | |||
# chpass Do not authenticate, but change users password (change | |||
# the YP password if the user has one, else change the | |||
# local password) | |||
# lchpass Do not login; change user's local password instead | |||
# radius Use radius authentication | |||
# reject Use rejected authentication | |||
# skey Use S/Key authentication | |||
# activ ActivCard X9.9 token authentication | |||
# crypto CRYPTOCard X9.9 token authentication | |||
# snk Digital Pathways SecureNet Key authentication | |||
# tis TIS Firewall Toolkit authentication | |||
# token Generic X9.9 token authentication | |||
# yubikey YubiKey authentication | |||
# | |||
# Default allowed authentication styles | |||
auth-defaults:auth=passwd,skey: | |||
# Default allowed authentication styles for authentication type ftp | |||
auth-ftp-defaults:auth-ftp=passwd: | |||
# | |||
# The default values | |||
# To alter the default authentication types change the line: | |||
# :tc=auth-defaults:\ | |||
# to be read something like: (enables passwd, "myauth", and activ) | |||
# :auth=passwd,myauth,activ:\ | |||
# Any value changed in the daemon class should be reset in default | |||
# class. | |||
# | |||
default:\ | |||
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin /usr/local/sbin:\ | |||
:umask=022:\ | |||
:datasize-max=512M:\ | |||
:datasize-cur=512M:\ | |||
:maxproc-max=256:\ | |||
:maxproc-cur=128:\ | |||
:openfiles-cur=512:\ | |||
:stacksize-cur=4M:\ | |||
:localcipher=blowfish,8:\ | |||
:ypcipher=old:\ | |||
:tc=auth-defaults:\ | |||
:tc=auth-ftp-defaults: | |||
# | |||
# Settings used by /etc/rc and root | |||
# This must be set properly for daemons started as root by inetd as well. | |||
# Be sure reset these values back to system defaults in the default class! | |||
# | |||
daemon:\ | |||
:ignorenologin:\ | |||
:datasize=infinity:\ | |||
:maxproc=infinity:\ | |||
:openfiles-cur=128:\ | |||
:stacksize-cur=8M:\ | |||
:localcipher=blowfish,9:\ | |||
:tc=default: | |||
# | |||
# Staff have fewer restrictions and can login even when nologins are set. | |||
# | |||
staff:\ | |||
:datasize-cur=512M:\ | |||
:datasize-max=infinity:\ | |||
:maxproc-max=512:\ | |||
:maxproc-cur=128:\ | |||
:ignorenologin:\ | |||
:requirehome@:\ | |||
:tc=default: | |||
# | |||
# Authpf accounts get a special motd and shell | |||
# | |||
authpf:\ | |||
:welcome=/etc/motd.authpf:\ | |||
:shell=/usr/sbin/authpf:\ | |||
:tc=default: | |||
# | |||
# Override resource limits for certain daemons started by rc.d(8) | |||
# | |||
bgpd:\ | |||
:openfiles-cur=512:\ | |||
:tc=daemon: |
@ -0,0 +1,96 @@ | |||
# $OpenBSD: login.conf,v 1.1 2014/03/26 20:17:01 tedu Exp $ | |||
# | |||
# Sample login.conf file. See login.conf(5) for details. | |||
# | |||
# | |||
# Standard authentication styles: | |||
# | |||
# krb5-or-pwd First try Kerberos V password, then local password file | |||
# passwd Use only the local password file | |||
# krb5 Use only the Kerberos V password | |||
# chpass Do not authenticate, but change users password (change | |||
# the YP password if the user has one, else change the | |||
# local password) | |||
# lchpass Do not login; change user's local password instead | |||
# radius Use radius authentication | |||
# reject Use rejected authentication | |||
# skey Use S/Key authentication | |||
# activ ActivCard X9.9 token authentication | |||
# crypto CRYPTOCard X9.9 token authentication | |||
# snk Digital Pathways SecureNet Key authentication | |||
# tis TIS Firewall Toolkit authentication | |||
# token Generic X9.9 token authentication | |||
# yubikey YubiKey authentication | |||
# | |||
# Default allowed authentication styles | |||
auth-defaults:auth=passwd,skey: | |||
# Default allowed authentication styles for authentication type ftp | |||
auth-ftp-defaults:auth-ftp=passwd: | |||
# | |||
# The default values | |||
# To alter the default authentication types change the line: | |||
# :tc=auth-defaults:\ | |||
# to be read something like: (enables passwd, "myauth", and activ) | |||
# :auth=passwd,myauth,activ:\ | |||
# Any value changed in the daemon class should be reset in default | |||
# class. | |||
# | |||
default:\ | |||
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin /usr/local/sbin:\ | |||
:umask=022:\ | |||
:datasize-max=512M:\ | |||
:datasize-cur=512M:\ | |||
:maxproc-max=256:\ | |||
:maxproc-cur=128:\ | |||
:openfiles-cur=512:\ | |||
:stacksize-cur=4M:\ | |||
:localcipher=blowfish,8:\ | |||
:ypcipher=old:\ | |||
:tc=auth-defaults:\ | |||
:tc=auth-ftp-defaults: | |||
# | |||
# Settings used by /etc/rc and root | |||
# This must be set properly for daemons started as root by inetd as well. | |||
# Be sure reset these values back to system defaults in the default class! | |||
# | |||
daemon:\ | |||
:ignorenologin:\ | |||
:datasize=infinity:\ | |||
:maxproc=infinity:\ | |||
:openfiles-cur=128:\ | |||
:stacksize-cur=8M:\ | |||
:localcipher=blowfish,9:\ | |||
:tc=default: | |||
# | |||
# Staff have fewer restrictions and can login even when nologins are set. | |||
# | |||
staff:\ | |||
:datasize-cur=512M:\ | |||
:datasize-max=infinity:\ | |||
:maxproc-max=512:\ | |||
:maxproc-cur=128:\ | |||
:ignorenologin:\ | |||
:requirehome@:\ | |||
:tc=default: | |||
# | |||
# Authpf accounts get a special motd and shell | |||
# | |||
authpf:\ | |||
:welcome=/etc/motd.authpf:\ | |||
:shell=/usr/sbin/authpf:\ | |||
:tc=default: | |||
# | |||
# Override resource limits for certain daemons started by rc.d(8) | |||
# | |||
bgpd:\ | |||
:openfiles-cur=512:\ | |||
:tc=daemon: |
@ -0,0 +1,96 @@ | |||
# $OpenBSD: login.conf,v 1.1 2014/03/26 20:17:01 tedu Exp $ | |||
# | |||
# Sample login.conf file. See login.conf(5) for details. | |||
# | |||
# | |||
# Standard authentication styles: | |||
# | |||
# krb5-or-pwd First try Kerberos V password, then local password file | |||
# passwd Use only the local password file | |||
# krb5 Use only the Kerberos V password | |||
# chpass Do not authenticate, but change users password (change | |||
# the YP password if the user has one, else change the | |||
# local password) | |||
# lchpass Do not login; change user's local password instead | |||
# radius Use radius authentication | |||
# reject Use rejected authentication | |||
# skey Use S/Key authentication | |||
# activ ActivCard X9.9 token authentication | |||
# crypto CRYPTOCard X9.9 token authentication | |||
# snk Digital Pathways SecureNet Key authentication | |||
# tis TIS Firewall Toolkit authentication | |||
# token Generic X9.9 token authentication | |||
# yubikey YubiKey authentication | |||
# | |||
# Default allowed authentication styles | |||
auth-defaults:auth=passwd,skey: | |||
# Default allowed authentication styles for authentication type ftp | |||
auth-ftp-defaults:auth-ftp=passwd: | |||
# | |||
# The default values | |||
# To alter the default authentication types change the line: | |||
# :tc=auth-defaults:\ | |||
# to be read something like: (enables passwd, "myauth", and activ) | |||
# :auth=passwd,myauth,activ:\ | |||
# Any value changed in the daemon class should be reset in default | |||
# class. | |||
# | |||
default:\ | |||
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin /usr/local/sbin:\ | |||
:umask=022:\ | |||
:datasize-max=512M:\ | |||
:datasize-cur=512M:\ | |||
:maxproc-max=256:\ | |||
:maxproc-cur=128:\ | |||
:openfiles-cur=512:\ | |||
:stacksize-cur=4M:\ | |||
:localcipher=blowfish,8:\ | |||
:ypcipher=old:\ | |||
:tc=auth-defaults:\ | |||
:tc=auth-ftp-defaults: | |||
# | |||
# Settings used by /etc/rc and root | |||
# This must be set properly for daemons started as root by inetd as well. | |||
# Be sure reset these values back to system defaults in the default class! | |||
# | |||
daemon:\ | |||
:ignorenologin:\ | |||
:datasize=infinity:\ | |||
:maxproc=infinity:\ | |||
:openfiles-cur=128:\ | |||
:stacksize-cur=8M:\ | |||
:localcipher=blowfish,9:\ | |||
:tc=default: | |||
# | |||
# Staff have fewer restrictions and can login even when nologins are set. | |||
# | |||
staff:\ | |||
:datasize-cur=512M:\ | |||
:datasize-max=infinity:\ | |||
:maxproc-max=512:\ | |||
:maxproc-cur=128:\ | |||
:ignorenologin:\ | |||
:requirehome@:\ | |||
:tc=default: | |||
# | |||
# Authpf accounts get a special motd and shell | |||
# | |||
authpf:\ | |||
:welcome=/etc/motd.authpf:\ | |||
:shell=/usr/sbin/authpf:\ | |||
:tc=default: | |||
# | |||
# Override resource limits for certain daemons started by rc.d(8) | |||
# | |||
bgpd:\ | |||
:openfiles-cur=512:\ | |||
:tc=daemon: |
@ -0,0 +1,96 @@ | |||
# $OpenBSD: login.conf,v 1.1 2014/03/26 20:17:01 tedu Exp $ | |||
# | |||
# Sample login.conf file. See login.conf(5) for details. | |||
# | |||
# | |||
# Standard authentication styles: | |||
# | |||
# krb5-or-pwd First try Kerberos V password, then local password file | |||
# passwd Use only the local password file | |||
# krb5 Use only the Kerberos V password | |||
# chpass Do not authenticate, but change users password (change | |||
# the YP password if the user has one, else change the | |||
# local password) | |||
# lchpass Do not login; change user's local password instead | |||
# radius Use radius authentication | |||
# reject Use rejected authentication | |||
# skey Use S/Key authentication | |||
# activ ActivCard X9.9 token authentication | |||
# crypto CRYPTOCard X9.9 token authentication | |||
# snk Digital Pathways SecureNet Key authentication | |||
# tis TIS Firewall Toolkit authentication | |||
# token Generic X9.9 token authentication | |||
# yubikey YubiKey authentication | |||
# | |||
# Default allowed authentication styles | |||
auth-defaults:auth=passwd,skey: | |||
# Default allowed authentication styles for authentication type ftp | |||
auth-ftp-defaults:auth-ftp=passwd: | |||
# | |||
# The default values | |||
# To alter the default authentication types change the line: | |||
# :tc=auth-defaults:\ | |||
# to be read something like: (enables passwd, "myauth", and activ) | |||
# :auth=passwd,myauth,activ:\ | |||
# Any value changed in the daemon class should be reset in default | |||
# class. | |||
# | |||
default:\ | |||
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin /usr/local/sbin:\ | |||
:umask=022:\ | |||
:datasize-max=512M:\ | |||
:datasize-cur=512M:\ | |||
:maxproc-max=256:\ | |||
:maxproc-cur=128:\ | |||
:openfiles-cur=512:\ | |||
:stacksize-cur=4M:\ | |||
:localcipher=blowfish,8:\ | |||
:ypcipher=old:\ | |||
:tc=auth-defaults:\ | |||
:tc=auth-ftp-defaults: | |||
# | |||
# Settings used by /etc/rc and root | |||
# This must be set properly for daemons started as root by inetd as well. | |||
# Be sure reset these values back to system defaults in the default class! | |||
# | |||
daemon:\ | |||
:ignorenologin:\ | |||
:datasize=infinity:\ | |||
:maxproc=infinity:\ | |||
:openfiles-cur=128:\ | |||
:stacksize-cur=8M:\ | |||
:localcipher=blowfish,9:\ | |||
:tc=default: | |||
# | |||
# Staff have fewer restrictions and can login even when nologins are set. | |||
# | |||
staff:\ | |||
:datasize-cur=512M:\ | |||
:datasize-max=infinity:\ | |||
:maxproc-max=512:\ | |||
:maxproc-cur=128:\ | |||
:ignorenologin:\ | |||
:requirehome@:\ | |||
:tc=default: | |||
# | |||
# Authpf accounts get a special motd and shell | |||
# | |||
authpf:\ | |||
:welcome=/etc/motd.authpf:\ | |||
:shell=/usr/sbin/authpf:\ | |||
:tc=default: | |||
# | |||
# Override resource limits for certain daemons started by rc.d(8) | |||
# | |||
bgpd:\ | |||
:openfiles-cur=512:\ | |||
:tc=daemon: |
@ -0,0 +1,96 @@ | |||
# $OpenBSD: login.conf,v 1.1 2014/03/26 20:17:01 tedu Exp $ | |||
# | |||
# Sample login.conf file. See login.conf(5) for details. | |||
# | |||
# | |||
# Standard authentication styles: | |||
# | |||
# krb5-or-pwd First try Kerberos V password, then local password file | |||
# passwd Use only the local password file | |||
# krb5 Use only the Kerberos V password | |||
# chpass Do not authenticate, but change users password (change | |||
# the YP password if the user has one, else change the | |||
# local password) | |||
# lchpass Do not login; change user's local password instead | |||
# radius Use radius authentication | |||
# reject Use rejected authentication | |||
# skey Use S/Key authentication | |||
# activ ActivCard X9.9 token authentication | |||
# crypto CRYPTOCard X9.9 token authentication | |||
# snk Digital Pathways SecureNet Key authentication | |||
# tis TIS Firewall Toolkit authentication | |||
# token Generic X9.9 token authentication | |||
# yubikey YubiKey authentication | |||
# | |||
# Default allowed authentication styles | |||
auth-defaults:auth=passwd,skey: | |||
# Default allowed authentication styles for authentication type ftp | |||
auth-ftp-defaults:auth-ftp=passwd: | |||
# | |||
# The default values | |||
# To alter the default authentication types change the line: | |||
# :tc=auth-defaults:\ | |||
# to be read something like: (enables passwd, "myauth", and activ) | |||
# :auth=passwd,myauth,activ:\ | |||
# Any value changed in the daemon class should be reset in default | |||
# class. | |||
# | |||
default:\ | |||
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin /usr/local/sbin:\ | |||
:umask=022:\ | |||
:datasize-max=512M:\ | |||
:datasize-cur=512M:\ | |||
:maxproc-max=256:\ | |||
:maxproc-cur=128:\ | |||
:openfiles-cur=512:\ | |||
:stacksize-cur=4M:\ | |||
:localcipher=blowfish,8:\ | |||
:ypcipher=old:\ | |||
:tc=auth-defaults:\ | |||
:tc=auth-ftp-defaults: | |||
# | |||
# Settings used by /etc/rc and root | |||
# This must be set properly for daemons started as root by inetd as well. | |||
# Be sure reset these values back to system defaults in the default class! | |||
# | |||
daemon:\ | |||
:ignorenologin:\ | |||
:datasize=infinity:\ | |||
:maxproc=infinity:\ | |||
:openfiles-cur=128:\ | |||
:stacksize-cur=8M:\ | |||
:localcipher=blowfish,9:\ | |||
:tc=default: | |||
# | |||
# Staff have fewer restrictions and can login even when nologins are set. | |||
# | |||
staff:\ | |||
:datasize-cur=512M:\ | |||
:datasize-max=infinity:\ | |||
:maxproc-max=512:\ | |||
:maxproc-cur=128:\ | |||
:ignorenologin:\ | |||
:requirehome@:\ | |||
:tc=default: | |||
# | |||
# Authpf accounts get a special motd and shell | |||
# | |||
authpf:\ | |||
:welcome=/etc/motd.authpf:\ | |||
:shell=/usr/sbin/authpf:\ | |||
:tc=default: | |||
# | |||
# Override resource limits for certain daemons started by rc.d(8) | |||
# | |||
bgpd:\ | |||
:openfiles-cur=512:\ | |||
:tc=daemon: |
@ -0,0 +1,96 @@ | |||
# $OpenBSD: login.conf,v 1.1 2014/03/26 20:17:01 tedu Exp $ | |||
# | |||
# Sample login.conf file. See login.conf(5) for details. | |||
# | |||
# | |||
# Standard authentication styles: | |||
# | |||
# krb5-or-pwd First try Kerberos V password, then local password file | |||
# passwd Use only the local password file | |||
# krb5 Use only the Kerberos V password | |||
# chpass Do not authenticate, but change users password (change | |||
# the YP password if the user has one, else change the | |||
# local password) | |||
# lchpass Do not login; change user's local password instead | |||
# radius Use radius authentication | |||
# reject Use rejected authentication | |||
# skey Use S/Key authentication | |||
# activ ActivCard X9.9 token authentication | |||
# crypto CRYPTOCard X9.9 token authentication | |||
# snk Digital Pathways SecureNet Key authentication | |||
# tis TIS Firewall Toolkit authentication | |||
# token Generic X9.9 token authentication | |||
# yubikey YubiKey authentication | |||
# | |||
# Default allowed authentication styles | |||
auth-defaults:auth=passwd,skey: | |||
# Default allowed authentication styles for authentication type ftp | |||
auth-ftp-defaults:auth-ftp=passwd: | |||
# | |||
# The default values | |||
# To alter the default authentication types change the line: | |||
# :tc=auth-defaults:\ | |||
# to be read something like: (enables passwd, "myauth", and activ) | |||
# :auth=passwd,myauth,activ:\ | |||
# Any value changed in the daemon class should be reset in default | |||
# class. | |||
# | |||
default:\ | |||
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin /usr/local/sbin:\ | |||
:umask=022:\ | |||
:datasize-max=512M:\ | |||
:datasize-cur=512M:\ | |||
:maxproc-max=256:\ | |||
:maxproc-cur=128:\ | |||
:openfiles-cur=512:\ | |||
:stacksize-cur=4M:\ | |||
:localcipher=blowfish,8:\ | |||
:ypcipher=old:\ | |||
:tc=auth-defaults:\ | |||
:tc=auth-ftp-defaults: | |||
# | |||
# Settings used by /etc/rc and root | |||
# This must be set properly for daemons started as root by inetd as well. | |||
# Be sure reset these values back to system defaults in the default class! | |||
# | |||
daemon:\ | |||
:ignorenologin:\ | |||
:datasize=infinity:\ | |||
:maxproc=infinity:\ | |||
:openfiles-cur=128:\ | |||
:stacksize-cur=8M:\ | |||
:localcipher=blowfish,9:\ | |||
:tc=default: | |||
# | |||
# Staff have fewer restrictions and can login even when nologins are set. | |||
# | |||
staff:\ | |||
:datasize-cur=512M:\ | |||
:datasize-max=infinity:\ | |||
:maxproc-max=512:\ | |||
:maxproc-cur=128:\ | |||
:ignorenologin:\ | |||
:requirehome@:\ | |||
:tc=default: | |||
# | |||
# Authpf accounts get a special motd and shell | |||
# | |||
authpf:\ | |||
:welcome=/etc/motd.authpf:\ | |||
:shell=/usr/sbin/authpf:\ | |||
:tc=default: | |||
# | |||
# Override resource limits for certain daemons started by rc.d(8) | |||
# | |||
bgpd:\ | |||
:openfiles-cur=512:\ | |||
:tc=daemon: |
@ -0,0 +1,96 @@ | |||
# $OpenBSD: login.conf,v 1.1 2014/03/26 20:17:01 tedu Exp $ | |||
# | |||
# Sample login.conf file. See login.conf(5) for details. | |||
# | |||
# | |||
# Standard authentication styles: | |||
# | |||
# krb5-or-pwd First try Kerberos V password, then local password file | |||
# passwd Use only the local password file | |||
# krb5 Use only the Kerberos V password | |||
# chpass Do not authenticate, but change users password (change | |||
# the YP password if the user has one, else change the | |||
# local password) | |||
# lchpass Do not login; change user's local password instead | |||
# radius Use radius authentication | |||
# reject Use rejected authentication | |||
# skey Use S/Key authentication | |||
# activ ActivCard X9.9 token authentication | |||
# crypto CRYPTOCard X9.9 token authentication | |||
# snk Digital Pathways SecureNet Key authentication | |||
# tis TIS Firewall Toolkit authentication | |||
# token Generic X9.9 token authentication | |||
# yubikey YubiKey authentication | |||
# | |||
# Default allowed authentication styles | |||
auth-defaults:auth=passwd,skey: | |||
# Default allowed authentication styles for authentication type ftp | |||
auth-ftp-defaults:auth-ftp=passwd: | |||
# | |||
# The default values | |||
# To alter the default authentication types change the line: | |||
# :tc=auth-defaults:\ | |||
# to be read something like: (enables passwd, "myauth", and activ) | |||
# :auth=passwd,myauth,activ:\ | |||
# Any value changed in the daemon class should be reset in default | |||
# class. | |||
# | |||
default:\ | |||
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin /usr/local/sbin:\ | |||
:umask=022:\ | |||
:datasize-max=512M:\ | |||
:datasize-cur=512M:\ | |||
:maxproc-max=256:\ | |||
:maxproc-cur=128:\ | |||
:openfiles-cur=512:\ | |||
:stacksize-cur=4M:\ | |||
:localcipher=blowfish,8:\ | |||
:ypcipher=old:\ | |||
:tc=auth-defaults:\ | |||
:tc=auth-ftp-defaults: | |||
# | |||
# Settings used by /etc/rc and root | |||
# This must be set properly for daemons started as root by inetd as well. | |||
# Be sure reset these values back to system defaults in the default class! | |||
# | |||
daemon:\ | |||
:ignorenologin:\ | |||
:datasize=infinity:\ | |||
:maxproc=infinity:\ | |||
:openfiles-cur=128:\ | |||
:stacksize-cur=8M:\ | |||
:localcipher=blowfish,9:\ | |||
:tc=default: | |||
# | |||
# Staff have fewer restrictions and can login even when nologins are set. | |||
# | |||
staff:\ | |||
:datasize-cur=512M:\ | |||
:datasize-max=infinity:\ | |||
:maxproc-max=512:\ | |||
:maxproc-cur=128:\ | |||
:ignorenologin:\ | |||
:requirehome@:\ | |||
:tc=default: | |||
# | |||
# Authpf accounts get a special motd and shell | |||
# | |||
authpf:\ | |||
:welcome=/etc/motd.authpf:\ | |||
:shell=/usr/sbin/authpf:\ | |||
:tc=default: | |||
# | |||
# Override resource limits for certain daemons started by rc.d(8) | |||
# | |||
bgpd:\ | |||
:openfiles-cur=512:\ | |||
:tc=daemon: |
@ -0,0 +1,96 @@ | |||
# $OpenBSD: login.conf,v 1.1 2014/03/26 20:17:01 tedu Exp $ | |||
# | |||
# Sample login.conf file. See login.conf(5) for details. | |||
# | |||
# | |||
# Standard authentication styles: | |||
# | |||
# krb5-or-pwd First try Kerberos V password, then local password file | |||
# passwd Use only the local password file | |||
# krb5 Use only the Kerberos V password | |||
# chpass Do not authenticate, but change users password (change | |||
# the YP password if the user has one, else change the | |||
# local password) | |||
# lchpass Do not login; change user's local password instead | |||
# radius Use radius authentication | |||
# reject Use rejected authentication | |||
# skey Use S/Key authentication | |||
# activ ActivCard X9.9 token authentication | |||
# crypto CRYPTOCard X9.9 token authentication | |||
# snk Digital Pathways SecureNet Key authentication | |||
# tis TIS Firewall Toolkit authentication | |||
# token Generic X9.9 token authentication | |||
# yubikey YubiKey authentication | |||
# | |||
# Default allowed authentication styles | |||
auth-defaults:auth=passwd,skey: | |||
# Default allowed authentication styles for authentication type ftp | |||
auth-ftp-defaults:auth-ftp=passwd: | |||
# | |||
# The default values | |||
# To alter the default authentication types change the line: | |||
# :tc=auth-defaults:\ | |||
# to be read something like: (enables passwd, "myauth", and activ) | |||
# :auth=passwd,myauth,activ:\ | |||
# Any value changed in the daemon class should be reset in default | |||
# class. | |||
# | |||
default:\ | |||
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin /usr/local/sbin:\ | |||
:umask=022:\ | |||
:datasize-max=512M:\ | |||
:datasize-cur=512M:\ | |||
:maxproc-max=256:\ | |||
:maxproc-cur=128:\ | |||
:openfiles-cur=512:\ | |||
:stacksize-cur=4M:\ | |||
:localcipher=blowfish,8:\ | |||
:ypcipher=old:\ | |||
:tc=auth-defaults:\ | |||
:tc=auth-ftp-defaults: | |||
# | |||
# Settings used by /etc/rc and root | |||
# This must be set properly for daemons started as root by inetd as well. | |||
# Be sure reset these values back to system defaults in the default class! | |||
# | |||
daemon:\ | |||
:ignorenologin:\ | |||
:datasize=infinity:\ | |||
:maxproc=infinity:\ | |||
:openfiles-cur=128:\ | |||
:stacksize-cur=8M:\ | |||
:localcipher=blowfish,9:\ | |||
:tc=default: | |||
# | |||
# Staff have fewer restrictions and can login even when nologins are set. | |||
# | |||
staff:\ | |||
:datasize-cur=512M:\ | |||
:datasize-max=infinity:\ | |||
:maxproc-max=512:\ | |||
:maxproc-cur=128:\ | |||
:ignorenologin:\ | |||
:requirehome@:\ | |||
:tc=default: | |||
# | |||
# Authpf accounts get a special motd and shell | |||
# | |||
authpf:\ | |||
:welcome=/etc/motd.authpf:\ | |||
:shell=/usr/sbin/authpf:\ | |||
:tc=default: | |||
# | |||
# Override resource limits for certain daemons started by rc.d(8) | |||
# | |||
bgpd:\ | |||
:openfiles-cur=512:\ | |||
:tc=daemon: |
@ -0,0 +1,96 @@ | |||
# $OpenBSD: login.conf,v 1.1 2014/03/26 20:17:01 tedu Exp $ | |||
# | |||
# Sample login.conf file. See login.conf(5) for details. | |||
# | |||
# | |||
# Standard authentication styles: | |||
# | |||
# krb5-or-pwd First try Kerberos V password, then local password file | |||
# passwd Use only the local password file | |||
# krb5 Use only the Kerberos V password | |||
# chpass Do not authenticate, but change users password (change | |||
# the YP password if the user has one, else change the | |||
# local password) | |||
# lchpass Do not login; change user's local password instead | |||
# radius Use radius authentication | |||
# reject Use rejected authentication | |||
# skey Use S/Key authentication | |||
# activ ActivCard X9.9 token authentication | |||
# crypto CRYPTOCard X9.9 token authentication | |||
# snk Digital Pathways SecureNet Key authentication | |||
# tis TIS Firewall Toolkit authentication | |||
# token Generic X9.9 token authentication | |||
# yubikey YubiKey authentication | |||
# | |||
# Default allowed authentication styles | |||
auth-defaults:auth=passwd,skey: | |||
# Default allowed authentication styles for authentication type ftp | |||
auth-ftp-defaults:auth-ftp=passwd: | |||
# | |||
# The default values | |||
# To alter the default authentication types change the line: | |||
# :tc=auth-defaults:\ | |||
# to be read something like: (enables passwd, "myauth", and activ) | |||
# :auth=passwd,myauth,activ:\ | |||
# Any value changed in the daemon class should be reset in default | |||
# class. | |||
# | |||
default:\ | |||
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin /usr/local/sbin:\ | |||
:umask=022:\ | |||
:datasize-max=512M:\ | |||
:datasize-cur=512M:\ | |||
:maxproc-max=256:\ | |||
:maxproc-cur=128:\ | |||
:openfiles-cur=512:\ | |||
:stacksize-cur=4M:\ | |||
:localcipher=blowfish,8:\ | |||
:ypcipher=old:\ | |||
:tc=auth-defaults:\ | |||
:tc=auth-ftp-defaults: | |||
# | |||
# Settings used by /etc/rc and root | |||
# This must be set properly for daemons started as root by inetd as well. | |||
# Be sure reset these values back to system defaults in the default class! | |||
# | |||
daemon:\ | |||
:ignorenologin:\ | |||
:datasize=infinity:\ | |||
:maxproc=infinity:\ | |||
:openfiles-cur=128:\ | |||
:stacksize-cur=8M:\ | |||
:localcipher=blowfish,9:\ | |||
:tc=default: | |||
# | |||
# Staff have fewer restrictions and can login even when nologins are set. | |||
# | |||
staff:\ | |||
:datasize-cur=512M:\ | |||
:datasize-max=infinity:\ | |||
:maxproc-max=512:\ | |||
:maxproc-cur=128:\ | |||
:ignorenologin:\ | |||
:requirehome@:\ | |||
:tc=default: | |||
# | |||
# Authpf accounts get a special motd and shell | |||
# | |||
authpf:\ | |||
:welcome=/etc/motd.authpf:\ | |||
:shell=/usr/sbin/authpf:\ | |||
:tc=default: | |||
# | |||
# Override resource limits for certain daemons started by rc.d(8) | |||
# | |||
bgpd:\ | |||
:openfiles-cur=512:\ | |||
:tc=daemon: |
@ -0,0 +1,96 @@ | |||
# $OpenBSD: login.conf,v 1.1 2014/03/26 20:17:01 tedu Exp $ | |||
# | |||
# Sample login.conf file. See login.conf(5) for details. | |||
# | |||
# | |||
# Standard authentication styles: | |||
# | |||
# krb5-or-pwd First try Kerberos V password, then local password file | |||
# passwd Use only the local password file | |||
# krb5 Use only the Kerberos V password | |||
# chpass Do not authenticate, but change users password (change | |||
# the YP password if the user has one, else change the | |||
# local password) | |||
# lchpass Do not login; change user's local password instead | |||
# radius Use radius authentication | |||
# reject Use rejected authentication | |||
# skey Use S/Key authentication | |||
# activ ActivCard X9.9 token authentication | |||
# crypto CRYPTOCard X9.9 token authentication | |||
# snk Digital Pathways SecureNet Key authentication | |||
# tis TIS Firewall Toolkit authentication | |||
# token Generic X9.9 token authentication | |||
# yubikey YubiKey authentication | |||
# | |||
# Default allowed authentication styles | |||
auth-defaults:auth=passwd,skey: | |||
# Default allowed authentication styles for authentication type ftp | |||
auth-ftp-defaults:auth-ftp=passwd: | |||
# | |||
# The default values | |||
# To alter the default authentication types change the line: | |||
# :tc=auth-defaults:\ | |||
# to be read something like: (enables passwd, "myauth", and activ) | |||
# :auth=passwd,myauth,activ:\ | |||
# Any value changed in the daemon class should be reset in default | |||
# class. | |||
# | |||
default:\ | |||
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin /usr/local/sbin:\ | |||
:umask=022:\ | |||
:datasize-max=512M:\ | |||
:datasize-cur=512M:\ | |||
:maxproc-max=256:\ | |||
:maxproc-cur=128:\ | |||
:openfiles-cur=512:\ | |||
:stacksize-cur=4M:\ | |||
:localcipher=blowfish,8:\ | |||
:ypcipher=old:\ | |||
:tc=auth-defaults:\ | |||
:tc=auth-ftp-defaults: | |||
# | |||
# Settings used by /etc/rc and root | |||
# This must be set properly for daemons started as root by inetd as well. | |||
# Be sure reset these values back to system defaults in the default class! | |||
# | |||
daemon:\ | |||
:ignorenologin:\ | |||
:datasize=infinity:\ | |||
:maxproc=infinity:\ | |||
:openfiles-cur=128:\ | |||
:stacksize-cur=8M:\ | |||
:localcipher=blowfish,9:\ | |||
:tc=default: | |||
# | |||
# Staff have fewer restrictions and can login even when nologins are set. | |||
# | |||
staff:\ | |||
:datasize-cur=512M:\ | |||
:datasize-max=infinity:\ | |||
:maxproc-max=512:\ | |||
:maxproc-cur=128:\ | |||
:ignorenologin:\ | |||
:requirehome@:\ | |||
:tc=default: | |||
# | |||
# Authpf accounts get a special motd and shell | |||
# | |||
authpf:\ | |||
:welcome=/etc/motd.authpf:\ | |||
:shell=/usr/sbin/authpf:\ | |||
:tc=default: | |||
# | |||
# Override resource limits for certain daemons started by rc.d(8) | |||
# | |||
bgpd:\ | |||
:openfiles-cur=512:\ | |||
:tc=daemon: |
@ -0,0 +1,96 @@ | |||
# $OpenBSD: login.conf,v 1.1 2014/03/26 20:17:01 tedu Exp $ | |||
# | |||
# Sample login.conf file. See login.conf(5) for details. | |||
# | |||
# | |||
# Standard authentication styles: | |||
# | |||
# krb5-or-pwd First try Kerberos V password, then local password file | |||
# passwd Use only the local password file | |||
# krb5 Use only the Kerberos V password | |||
# chpass Do not authenticate, but change users password (change | |||
# the YP password if the user has one, else change the | |||
# local password) | |||
# lchpass Do not login; change user's local password instead | |||
# radius Use radius authentication | |||
# reject Use rejected authentication | |||
# skey Use S/Key authentication | |||
# activ ActivCard X9.9 token authentication | |||
# crypto CRYPTOCard X9.9 token authentication | |||
# snk Digital Pathways SecureNet Key authentication | |||
# tis TIS Firewall Toolkit authentication | |||
# token Generic X9.9 token authentication | |||
# yubikey YubiKey authentication | |||
# | |||
# Default allowed authentication styles | |||
auth-defaults:auth=passwd,skey: | |||
# Default allowed authentication styles for authentication type ftp | |||
auth-ftp-defaults:auth-ftp=passwd: | |||
# | |||
# The default values | |||
# To alter the default authentication types change the line: | |||
# :tc=auth-defaults:\ | |||
# to be read something like: (enables passwd, "myauth", and activ) | |||
# :auth=passwd,myauth,activ:\ | |||
# Any value changed in the daemon class should be reset in default | |||
# class. | |||
# | |||
default:\ | |||
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin /usr/local/sbin:\ | |||
:umask=022:\ | |||
:datasize-max=512M:\ | |||
:datasize-cur=512M:\ | |||
:maxproc-max=256:\ | |||
:maxproc-cur=128:\ | |||
:openfiles-cur=512:\ | |||
:stacksize-cur=4M:\ | |||
:localcipher=blowfish,8:\ | |||
:ypcipher=old:\ | |||
:tc=auth-defaults:\ | |||
:tc=auth-ftp-defaults: | |||
# | |||
# Settings used by /etc/rc and root | |||
# This must be set properly for daemons started as root by inetd as well. | |||
# Be sure reset these values back to system defaults in the default class! | |||
# | |||
daemon:\ | |||
:ignorenologin:\ | |||
:datasize=infinity:\ | |||
:maxproc=infinity:\ | |||
:openfiles-cur=128:\ | |||
:stacksize-cur=8M:\ | |||
:localcipher=blowfish,9:\ | |||
:tc=default: | |||
# | |||
# Staff have fewer restrictions and can login even when nologins are set. | |||
# | |||
staff:\ | |||
:datasize-cur=512M:\ | |||
:datasize-max=infinity:\ | |||
:maxproc-max=512:\ | |||
:maxproc-cur=128:\ | |||
:ignorenologin:\ | |||
:requirehome@:\ | |||
:tc=default: | |||
# | |||
# Authpf accounts get a special motd and shell | |||
# | |||
authpf:\ | |||
:welcome=/etc/motd.authpf:\ | |||
:shell=/usr/sbin/authpf:\ | |||
:tc=default: | |||
# | |||
# Override resource limits for certain daemons started by rc.d(8) | |||
# | |||
bgpd:\ | |||
:openfiles-cur=512:\ | |||
:tc=daemon: |
@ -1,40 +0,0 @@ | |||
#!/usr/bin/awk -f | |||
# | |||
# Generates a login.conf file from login.conf.in and an optional | |||
# file containing overrides. | |||
# | |||
# Usage: mklogin.conf [overrides_file] < login.conf.in > login.conf.out | |||
# | |||
# $OpenBSD: mklogin.conf,v 1.8 2014/03/19 04:04:25 tedu Exp $ | |||
BEGIN { | |||
# Default substitutions | |||
values["DEF_DATASIZE_MAX"]="512M" | |||
values["DEF_DATASIZE_CUR"]="512M" | |||
values["DEF_MAXPROC_MAX"]="256" | |||
values["DEF_MAXPROC_CUR"]="128" | |||
values["DEF_OPENFILES_CUR"]="512" | |||
values["STAFF_DATASIZE_MAX"]="infinity" | |||
values["STAFF_DATASIZE_CUR"]="512M" | |||
values["STAFF_MAXPROC_MAX"]="512" | |||
values["STAFF_MAXPROC_CUR"]="128" | |||
values["STAFF_OPENFILES_CUR"]="512" | |||
values["DEF_BLOWFISH_RNDS"]="8" | |||
values["ROOT_BLOWFISH_RNDS"]="9" | |||
# Optional overrides | |||
if (ARGC > 1) { | |||
while (getline override < ARGV[1]) { | |||
split(override, ov) | |||
values[ov[1] ""]=ov[2] "" | |||
} | |||
ARGC-- | |||
} | |||
} | |||
# Read in login.conf template, do substitutions and output the result | |||
{ | |||
for (key in values) | |||
gsub("@" key "@", values[key], $0) | |||
print $0 | |||
} |