NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/59990: /etc/security: first run mails megabytes of output



The following reply was made to PR bin/59990; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/59990: /etc/security: first run mails megabytes of output
Date: Sat, 14 Feb 2026 09:21:50 +0100

 On Fri, Feb 13, 2026 at 10:50:02PM +0000, Valery Ushakov via gnats wrote:
 >  >   => If that's important to avoid, you could avoid it by just running
 >  >      /etc/security once immediately after installation.
 >  
 >  I try to remember and do that before I make _any_ customizations so
 >  that the r1.1 of the backup is as close to the pristine contents of
 >  /etc as possible.  Run security backup step from sysinst?
 
 That would make sense, best before we enter the configuration step and
 start adding users or configure ssh, but only e.g. if no master.passwd
 backup is found so far (in sysinst this code path is shared beween new
 installs and upgrades, and you can invoke that stage manually).
 
 This doesn't help typical image installs (often used for virtual
 machines), where we just resize the filesystem and continue running the
 install medium. But we could add a rc.d script that runs very late
 and checks the same condition as sysinst would.
 
 Martin
 


Home | Main Index | Thread Index | Old Index