Saturday, January 16, 2016

Verifying Package Attributes

To identify which package the file is associated with:

# rpm -qf /etc/passwd


# rpm -qi setup

To compare the attributes of a file on the current system with the original file in the package database:

# rpm -Vf /etc/passwd

To verify the attributes for all the files included in a package with details:

# rpm -Vv setup

No comments: