History log of /src/share/man/man5/login.conf.5
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
# 1.32 19-May-2025 bad

small corrections and improvements

- mention sshd in addition to rexecd as the former is more widely used.
- only one backslash is used to escape whitespace and commas in lists.
- number can have an optional sign. see strtoq(3).
- clarify when a ~ character is expanded in path name list.


Revision tags: netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-8-3-RELEASE netbsd-9-4-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.31 11-Jul-2015 kamil

branches: 1.31.28;
Clean-up documentation of login.conf(5)

Remove redundant word "limit" from sentences "Maximum ...".
Note that vmemoryuse might specify both maximum and current limits.
Remove redundant 'in bytes' from the description of vmemoryuse, it's noted
in the next section describing the argument type 'size'.

Changes inspired by <riastradh> in PR xsrc/49912


# 1.30 11-Jul-2015 wiz

Bump date for previous.


# 1.29 11-Jul-2015 kamil

Clean-up resources (sys/sys/resource.h) usage

Add vmemoryuse to login_cap(3)
Document vmemoryuse in login.conf(5)
Document proc.pid.rlimit.vmemoryuse and proc.pid.rlimit.maxlwp in sysctl(7)
Document SBSIZE, AS, VMEM and NTHR in share/doc/psd/05.sysman/1.6.t

Reviewed by <riastradh>
Approved by <pgoyette>

Tested by Dominik Bialy

Closes PR xsrc/49912


Revision tags: netbsd-7-0-2-RELEASE netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base tls-maxphys-base
# 1.28 29-Jun-2013 wiz

branches: 1.28.6;
Improve wording.


# 1.27 29-Jun-2013 yamt

add "maxthread" tunable to login.conf to adjust RLIMIT_NTHR.
PR/47626
ok'ed by christos


Revision tags: agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5
# 1.26 30-Apr-2012 njoly

branches: 1.26.2;
Adjust xref for capability database file format.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.25 04-Jun-2011 dholland

branches: 1.25.2; 1.25.4;
fix a couple typos


Revision tags: cherry-xenmp-base
# 1.24 28-Apr-2011 wiz

branches: 1.24.2;
New sentence, new line.


Revision tags: bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-premerge-20091211
# 1.23 14-Oct-2009 joerg

Fix and improve markup.


Revision tags: jym-xensuspend-nbase jym-xensuspend-base
# 1.22 18-Nov-2008 reed

Add more details for copyright and welcome.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase hpcarm-cleanup-base
# 1.21 25-Feb-2008 lukem

Describe 'bool'. Update 'list'.
Inspired by FreeBSD.

Note: we could seek more inspiration from FreeBSD WRT login.conf(5)
and login_cap(3)'s implementation.


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base wrstuden-fixsa-base netbsd-4-base
# 1.20 14-Oct-2006 christos

branches: 1.20.8; 1.20.14;
mention that we can now escape ,'s and whitespace using a double \\


Revision tags: abandoned-netbsd-4-base chap-midi-nbase chap-midi-base
# 1.19 17-Jun-2006 reed

Fix typo or mispelling.


# 1.18 13-Apr-2005 drochner

branches: 1.18.2;
We don't fall back to the "default" login class if a login class was
given in the password file but not defined in login.conf. Just for
"no class is given". The former is an error and leads to rejection.


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
# 1.17 02-Sep-2004 jmmv

Add missing blank line between items.


# 1.16 19-Apr-2004 lukem

Document 'sbsize' and 'tc'.


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.15 04-Sep-2003 wiz

In `openfiles' attribute, clarify that it's the number of open file
descriptors (which could include sockets, etc.).
From jmc@openbsd.


# 1.14 27-Jun-2003 wiz

Quote question and exclamation marks.


# 1.13 24-Mar-2003 lukem

Document sshd(8)'s use of "host.allow" and "host.deny".
Based on [bin/12269] from Jim Bernard <jbernard@mines.edu>, tweaked by me.


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 fvdl_fs64_base netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.12 11-Sep-2001 wiz

Sort SEE ALSO correctly; trade empty lines for .Pp; drop superfluous .Pp's;
correct oder of sections; even comment in some .Xr's in one case.


# 1.11 08-Sep-2001 wiz

Whitespace/punctuation fixes.


# 1.10 14-May-2001 jdolecek

Fix the example to include leading ':'.
Fixes bin/12396 by Jim Bernard.


# 1.9 04-Apr-2001 wiz

login(1), not (8).


# 1.8 17-Nov-2000 lukem

- move the class explanation to the DESCRIPTION section, where it's more obvious
- format capabilitities with .Sy
- provide an example entry


# 1.7 07-Nov-2000 lukem

use .Xr


# 1.6 16-Jul-2000 jdolecek

xref login(1), not login(8)
fixes bin/10598 by Wolfgang Helbig


Revision tags: netbsd-1-5-base
# 1.5 14-Jun-2000 ad

branches: 1.5.2;
Xref cap_mkdb(1) and add a FILES section mentioning /etc/login.conf.db.


Revision tags: minoura-xpg4dl-base
# 1.4 04-Feb-2000 mjl

branches: 1.4.2;
Add login_getpwclass to libutil as convenience function for
programs originally for FreeBSD.
Add parsing of "setenv" parameter which can be used to set
up an initial environment on login.


# 1.3 22-Jan-2000 mjl

Minor formatting nits.


# 1.2 13-Jan-2000 mjl

Update for added capabilities in login(1).


# 1.1 12-Jan-2000 mjl

Add necessary support routines for login.conf.