NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Did netbsd ever support force remount readonly for root?
Date: Sat, 23 Jun 2018 12:09:25 +0200
From: "J. Hannken-Illjes" <hannken%eis.cs.tu-bs.de@localhost>
Message-ID: <3223656F-8B1A-4F9B-9621-C42FDEEE05CC%eis.cs.tu-bs.de@localhost>
| 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).
Home |
Main Index |
Thread Index |
Old Index