Date: Sat, 23 Jun 2018 12:09:25 +0200 From: "J. Hannken-Illjes" <hann...@eis.cs.tu-bs.de> Message-ID: <3223656f-8b1a-4f9b-9621-c42fdeee0...@eis.cs.tu-bs.de>
| On NetBSD-8 "mount -f -r -u /" should just work. If by "work" you mean preventing anyone from changing a password, preventing resolv.conf from being updated by dhcpcd (or whatever) not allowing dumpdates to be updated, ... I'm with Manuel, why would anyone want to do that? A read-only /usr makes sense, read only root really doesn't (regardless of how nice it might seem). kre ps: Dan, in the past, NetBSD didn't really (and at times, explicitly) support remount to readonly of anything, not only root. On anythimg older than -8 attempting it (if on a version where the kernel permits it) can be dangerous if you're not really careful about what you're doing (more so for root than anything else).