DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th May 2023
pseudostem pseudostem is offline
Port Guard
 
Join Date: Jun 2021
Posts: 37
Default Manpage for login.conf

Hi,

I have seen examples of /etc/login.conf on various OpenBSD setups online. Some of the *-max limit values are specified as "infinity".

The manpage reads:
Code:
A number which expresses a size. By default, the size is specified in bytes. It may have a trailing b, k, m, g or t to indicate that the value is in 512-byte blocks, kilobytes, megabytes, gigabytes, or terabytes, respectively.
Searching the manpage for infinity doesn't yield anything. Is this keyword acceptable? If yes, should I submit a diff?
Reply With Quote
  #2   (View Single Post)  
Old 27th May 2023
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

login.conf(5) references getrlimit(2), which discusses RLIM_INFINITY.
Reply With Quote
  #3   (View Single Post)  
Old 27th May 2023
pseudostem pseudostem is offline
Port Guard
 
Join Date: Jun 2021
Posts: 37
Default

Thank you for your answer.

I did go through the relevant manpage. RLIM_INFINITY is a little counter-intuitive. And I didn't check the source for an actual value (infinity) taken as an input.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
maxfiles in /etc/login.conf shep OpenBSD General 1 3rd December 2015 05:00 PM
How To: Create a manpage from scratch. FBSD Guides 0 12th April 2010 07:30 AM
some login.conf questions gosha OpenBSD General 2 5th July 2009 12:43 PM
Trouble reading manpage IIMarckus OpenBSD General 3 18th October 2008 05:08 AM
login.conf memoryuse not working EricM FreeBSD General 4 22nd May 2008 01:05 PM


All times are GMT. The time now is 12:09 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick