Bug 628 - passwd bug
passwd bug
Product: Red Hat Linux
Classification: Retired
Component: passwd (Show other bugs)
i386 Linux
high Severity high
: ---
: ---
Assigned To: David Lawrence
Depends On:
  Show dependency treegraph
Reported: 1998-12-27 20:25 EST by mr
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1998-12-29 15:54:02 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description mr 1998-12-27 20:25:53 EST
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.
Comment 1 David Lawrence 1998-12-29 15:54:59 EST
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.

Note You need to log in before you can comment on or make changes to this bug.