Hello, all! Here's something to get your "panties in a bunch"--with a root filesystem at 100+% used, with NO spare bytes to write a one-block file (nevermind what your block size is): 0. login as root 1. change root password 2. see /etc/passwd become zero-bytes Need I say more? Can't /usr/bin/passwd do some sanity checks on the bytes free on the root partition BEFORE it goes changing passwords? Just an idea. --Michael Regoli WinSite Group, Inc. mr www.winsite.com
I was unable to replicate this bug in the test lab. The passwd command generates the error: passwd: Critical error - immediate abort but it does not zero out the passwd file. After space is freed it works fine again.