Skip to navigation

Security Advisory New util-linux packages available to fix vipw permissions problems

Advisory: RHSA-2001:095-04
Type: Security Advisory
Severity: N/A
Issued on: 2001-07-12
Last updated on: 2001-07-16
Affected Products: Red Hat Linux 7.1
CVEs ( CVE-2001-1175


New util-linux packages are available for Red Hat Linux 7.1. These packages
fix a problem where vipw would leave the /etc/shadow file world-readable
after editing it.

It is recommended that all users update to the fixed packages. Also, if you
have used vipw on Red Hat Linux 7.1 before, make sure to run (as root):

chmod 0400 /etc/shadow

vipw, from the util-linux package in Red Hat Linux 7.1, included a new
option that allowed editing of the /etc/shadow file as well as /etc/passwd.
However, this option did not take measures to ensure that the file remained
only readable by root.

Thanks go to for bringing the problem to our attention.


Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade. Only those
RPMs which are currently installed will be updated. Those RPMs which are
not installed but included in the list will not be updated. Note that you
can also use wildcards (*.rpm) if your current directory *only* contains the
desired RPMs.

Please note that this update is also available via Red Hat Network. Many
people find this an easier way to apply updates. To use Red Hat Network,
launch the Red Hat Update Agent with the following command:


This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

Also note that users of vipw may want to run (as root):

chmod 0400 /etc/shadow

to ensure that the file has the correct permissions.

Updated packages

Red Hat Linux 7.1

File outdated by:  RHSA-2002:132
    MD5: 96997395f6773109c6fe12f015145a4e
File outdated by:  RHSA-2002:132
    MD5: 148ed6ee554cec8552a9795192deaa51
File outdated by:  RHSA-2002:132
    MD5: 06f71eb2fd286d18ea45430ffe790b63
File outdated by:  RHSA-2002:132
    MD5: dceed158e6eb988b972f924a01fdc265




These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:

The Red Hat security contact is More contact details at