login.conf.5 (bd2228ab3ee0cde6831fe446d793fffda2f48503) login.conf.5 (c2965cd1854b75e6a13cb4bd6759b71adc8d2a87)
1.\" Copyright (c) 1996 David Nugent <davidn@blaze.net.au>
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, is permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice immediately at the beginning of the file, without modification,

--- 163 unchanged lines hidden (view full) ---

1729600s, 160m or 2h40m.
173.El
174.Pp
175The usual convention to interpolate capability entries using the special
176.Em tc=value
177notation may be used.
178.Sh RESOURCE LIMITS
179.Bl -column pseudoterminals indent indent
1.\" Copyright (c) 1996 David Nugent <davidn@blaze.net.au>
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, is permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice immediately at the beginning of the file, without modification,

--- 163 unchanged lines hidden (view full) ---

1729600s, 160m or 2h40m.
173.El
174.Pp
175The usual convention to interpolate capability entries using the special
176.Em tc=value
177notation may be used.
178.Sh RESOURCE LIMITS
179.Bl -column pseudoterminals indent indent
180.It Sy "Name Type Notes Description
181.It "coredumpsize size Maximum coredump size limit.
182.It "cputime time CPU usage limit.
183.It "datasize size Maximum data size limit.
184.It "filesize size Maximum file size limit.
185.It "maxproc number Maximum number of processes.
186.It "memorylocked size Maximum locked in core memory size limit.
187.It "memoryuse size Maximum of core memory use size limit.
188.It "openfiles number Maximum number of open files per process.
189.It "sbsize size Maximum permitted socketbuffer size.
190.It "vmemoryuse size Maximum permitted total VM usage per process.
191.It "stacksize size Maximum stack size limit.
192.It "pseudoterminals number Maximum number of pseudo-terminals.
193.It "swapuse size Maximum swap space size limit.
180.It Sy "Name Type Notes Description"
181.It "coredumpsize size Maximum coredump size limit."
182.It "cputime time CPU usage limit."
183.It "datasize size Maximum data size limit."
184.It "filesize size Maximum file size limit."
185.It "maxproc number Maximum number of processes."
186.It "memorylocked size Maximum locked in core memory size limit."
187.It "memoryuse size Maximum of core memory use size limit."
188.It "openfiles number Maximum number of open files per process."
189.It "sbsize size Maximum permitted socketbuffer size."
190.It "vmemoryuse size Maximum permitted total VM usage per process."
191.It "stacksize size Maximum stack size limit."
192.It "pseudoterminals number Maximum number of pseudo-terminals."
193.It "swapuse size Maximum swap space size limit."
194.El
195.Pp
196These resource limit entries actually specify both the maximum
197and current limits (see
198.Xr getrlimit 2 ) .
199The current (soft) limit is the one normally used, although the user is
200permitted to increase the current limit to the maximum (hard) limit.
201The maximum and current limits may be specified individually by appending a
202-max or -cur to the capability name.
203.Sh ENVIRONMENT
204.Bl -column ignorenologin indent xbinxxusrxbin
194.El
195.Pp
196These resource limit entries actually specify both the maximum
197and current limits (see
198.Xr getrlimit 2 ) .
199The current (soft) limit is the one normally used, although the user is
200permitted to increase the current limit to the maximum (hard) limit.
201The maximum and current limits may be specified individually by appending a
202-max or -cur to the capability name.
203.Sh ENVIRONMENT
204.Bl -column ignorenologin indent xbinxxusrxbin
205.It Sy "Name Type Notes Description
206.It "charset string Set $MM_CHARSET environment variable to the specified
205.It Sy "Name Type Notes Description"
206.It charset string Set $MM_CHARSET environment variable to the specified
207value.
207value.
208.It "cpumask string List of cpus to bind the user to.
208.It "cpumask string List of cpus to bind the user to."
209The syntax is the same as for the
210.Fl l
211argument of
212.Xr cpuset 1 or the word
213.Ql default .
214If set to
215.Ql default
216no action is taken.
209The syntax is the same as for the
210.Fl l
211argument of
212.Xr cpuset 1 or the word
213.Ql default .
214If set to
215.Ql default
216no action is taken.
217.It "hushlogin bool false Same as having a ~/.hushlogin file.
218.It "ignorenologin bool false Login not prevented by nologin.
219.It "ftp-chroot bool false Limit FTP access with
217.It "hushlogin bool false Same as having a ~/.hushlogin file."
218.It "ignorenologin bool false Login not prevented by nologin."
219.It "ftp-chroot bool false Limit FTP access with"
220.Xr chroot 2
221to the
222.Ev HOME
223directory of the user.
224See
225.Xr ftpd 8
226for details.
220.Xr chroot 2
221to the
222.Ev HOME
223directory of the user.
224See
225.Xr ftpd 8
226for details.
227.It "label string Default MAC policy; see
227.It "label string Default MAC policy; see"
228.Xr maclabel 7 .
229.It "lang string Set $LANG environment variable to the specified value.
230.It "manpath path Default search path for manpages.
231.It "nocheckmail bool false Display mail status at login.
232.It "nologin file If the file exists it will be displayed and
233the login session will be terminated.
234.It "path path /bin /usr/bin Default search path.
235.It "priority number Initial priority (nice) level.

--- 225 unchanged lines hidden ---
228.Xr maclabel 7 .
229.It "lang string Set $LANG environment variable to the specified value.
230.It "manpath path Default search path for manpages.
231.It "nocheckmail bool false Display mail status at login.
232.It "nologin file If the file exists it will be displayed and
233the login session will be terminated.
234.It "path path /bin /usr/bin Default search path.
235.It "priority number Initial priority (nice) level.

--- 225 unchanged lines hidden ---