FedoraForum.org - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2016
    Location
    Iraq
    Posts
    1,475
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    How can I check integrity of system & it's files?

    Hi.

    I like to check the integrity of my system & it's files to see if there is (are) something broken or not.

    Is there a command line option or other way to perform this?

  2. #2
    Join Date
    Oct 2011
    Posts
    1,917
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How can I check integrity of system & it's files?

    You can check with rpm very precisely if any files from package(s) was modified or missing.

    Code:
    $ sudo rpm -qV <packagename>
    previous command is for specific package(s) <package name>, or following for all packages, can take a very long time.

    Code:
    $ sudo rpm -qaV
    What the output means, from manual:

    The format of the output is a string of 9 characters, a possible
    attribute marker:

    c %config configuration file.
    d %doc documentation file.
    g %ghost file (i.e. the file contents are not included in the package pay
    load).
    l %license license file.
    r %readme readme file.

    from the package header, followed by the file name. Each of the 9
    characters denotes the result of a comparison of attribute(s) of the
    file to the value of those attribute(s) recorded in the database. A
    single "." (period) means the test passed, while a single "?" (question
    mark) indicates the test could not be performed (e.g. file permissions
    prevent reading). Otherwise, the (mnemonically emBoldened) character
    denotes failure of the corresponding --verify test:

    S file Size differs
    M Mode differs (includes permissions and file type)
    5 digest (formerly MD5 sum) differs
    D Device major/minor number mismatch
    L readLink(2) path mismatch
    U User ownership differs
    G Group ownership differs
    T mTime differs
    P caPabilities differ

  3. #3
    Join Date
    Dec 2007
    Location
    Australia
    Posts
    1,904
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How can I check integrity of system & it's files?

    You could look at the rkhunter package which checks for rootkits on your system.

  4. #4
    Join Date
    Aug 2016
    Location
    Iraq
    Posts
    1,475
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: How can I check integrity of system & it's files?

    After removing duplication package, command "sudo rpm -qV xorg-x11-server-common gave O.K result.

  5. #5
    Join Date
    Mar 2012
    Location
    München, Deutschland
    Posts
    897
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Talking Re: How can I check integrity of system & it's files?

    Quote Originally Posted by User808
    After removing duplication package, command "sudo rpm -qV xorg-x11-server-common gave O.K result.
    0808,

    R U All Cool now (regarding Fedora distro)?

    _nobody_

Similar Threads

  1. Check the integrity of a package!
    By kurtshi in forum Using Fedora
    Replies: 1
    Last Post: 27th February 2008, 09:23 AM
  2. Failed Integrity Check?
    By sookoon in forum Using Fedora
    Replies: 7
    Last Post: 29th April 2007, 06:10 PM
  3. Performing a disk / file system integrity check?
    By RalfG in forum Using Fedora
    Replies: 3
    Last Post: 14th April 2007, 12:00 PM
  4. how to check filesystem integrity?
    By Shadow Skill in forum Using Fedora
    Replies: 4
    Last Post: 7th December 2004, 03:50 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •