On Sun, Sep 21, 2025 at 05:47:31PM +0000, H. Hartzer wrote:
> In this case since I'm working on a port that has its own uid/gid, is
> there a standard practice?
> 
> I see different groups in /etc/login.conf for stuff that's part of base,
> but nothing for ports.

A port can add to the login.conf configuration by placing a file in
/etc/login.d.

> Seems like the best practice may be to add a pkg README recommending the
> user editing /etc/login.conf themselves. Is that correct?

That's basically how it was done before OpenBSD parsed the /etc/login.d
directory.

But if program is constantly dumping core, then it needs to be fixed.

Modifying the login.conf configuration to increase the maximum number of open
files permitted, for example, might be a valid use.  Preventing core dumps
much less so.

Reply via email to