• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

OSX default /etc/passwd contents needed

AStar617

Diamond Member
I'm doing someone a big favor and don't have the ability to reinstall from OS media right now. I'm sitting in front of an OS X system in single-user mode, where the user just completely overwrote their /etc/passwd file while mucking with stuff they shouldn't have. Does anyone happen to have the default contents for /etc/passwd? don't have another Mac handy.

I know OS X uses the ni database instead of passwd/shadow/etc., but it does use those for single user mode, and I fear if I reboot with the empty /etc/passwd I'll hose single user access. I tried "nidump passwd . > /etc/passwd", but it just hangs until interrupted by CTRL-C, any ideas why that wouldn't work?

Any help appreciated... thx
 
In case anyone cares, single-user mode actually uses /etc/master.passwd, apparently. I just recreated it from that.
 
Back
Top