To find all Debian managed configuration files which have been changed from the default you can use a command like this.
dpkg-query -W -f="${Conffiles}\n" '*' | awk 'OFS=" "{print $2,$1}' | md5sum -c 2>/dev/null | awk -F': ' '$2 !~ /OK/{print $1}'
Edit (works with localized systems):
dpkg-query -W -f="${Conffiles}\n" '*' | awk 'OFS=" "{print $2,$1}' | LANG=C md5sum -c 2>/dev/null | awk -F': ' '$2 !~ /OK/{print $1}' | sort | less
Edit (works with packages with OK in the filename):
dpkg-query -W -f="${Conffiles}\n" '*' | awk 'OFS=" "{print $2,$1}' | LANG=C md5sum -c 2>/dev/null | awk -F': ' '$2 !~ /OK$/{print $1}' | sort | less
Related Posts:
- How to use the command update-alternatives –config java
- Any benefit or detriment from removing a pagefile on an 8 GB RAM machine?
- api-ms-win-crt-runtime-l1-1-0.dll is missing when opening Microsoft Office file [closed]
- Istio Ingress resulting in “no healthy upstream”
- What is a LAMP stack?
- What is the difference between POST and PUT in HTTP?
- What and where are the stack and heap?
- What is a reverse shell?
- Why am I getting error for apple-touch-icon-precomposed.png
- How could I ping @here in Discord.py?
- What’s the syntax for mod in java
- What are the rules of the std::cin object in C++?
- ssh remote host identification has changed
- How to link to part of the same document in Markdown?
- What is {{.}} in mustache?
- How to split column into two in R using separate
- Where do I find a list of all mat-icons — Angular
- TypeError : ‘method’ object is not subscriptable
- In C++, what is wx.h?
- How to UPSERT (MERGE, INSERT … ON DUPLICATE UPDATE) in PostgreSQL?
- What is the difference between allFile and allMarkdownRemark in gatsby
- DynamoDB : The provided key element does not match the schema
- How do I run a single test using Jest?
- Why I am getting java.lang.AbstractMethodError errors?
- Mercurial: no ~/.hgrc file
- What is spark.driver.maxResultSize?
- How to clamp an integer to some range?
- What is the iOS 8 System Font?
- PHP &$string – What does this mean?
- difference between ‘-webkit-box-shadow’ & ‘box-shadow’ in css
- Simple prime number generator in Python
- Update Git branches from master
- declaring a priority_queue in c++ with a custom comparator
- How to interactively (visually) resolve conflicts in SourceTree / git
- How to get the selected item from a ComboBox in JavaFX?
- You cannot add or change a record because a related record is required in table ‘table_name’
- Error in glm() in R
- Is there an online application that automatically draws tree structures for phrases/sentences?
- Create new tmux session from inside a tmux session
- classic ASP error ‘80020009’ Exception occurred
- Disable Chrome pinch zoom for use in kiosk
- How to ‘minify’ Javascript code
- How to extract Month from date in R
- Receiving “message”:”CB-ACCESS-KEY header is required” when attempting to connect to coinbase pro api
- Python High Pass Filter
- How to disable text selection highlighting
- if-not condition fails (jQuery)
- RGBA code for red color
- java array error “array required but int found”
- this: Cannot use this in static context
- Fail to create Android virtual Device, “No system image installed for this Target”
- Warning: session_start(): Cannot send session cookie – headers already sent by (output started at [duplicate]
- Bash script prints “Command Not Found” on empty lines
- In Java, what is a shallow copy?
- conversion to inaccessible base class is not allowed [duplicate]
- Get all object attributes in Python?
- How to get the filename without the extension in Java?
- ifference between ibatis and mybatis
- How to install PyQt4 on Windows using pip?
- Example of realpath function in C
- Printing a 2D array in C
- Should 3rd Parties Use $wp_scripts/$wp_styles->add_data?
- Individual Widgets per Page
- Generate WordPress salt
- Steps to debug on a blank screened wordpress install
- Send an email that contains a HTML and plain text part
- Filtering the Comment Form Allowed Tags
- Contact Form 7: Redirecting on a condition? [closed]
- Deleting images in array
- WordPress with Lan and Wan Access?
- Next Previous siblings child pages
- dbDelta with the character ;
- What are good approaches to routing some urls to a second WordPress install?
- What A Pupil Learns From Writing An Argumentative Essay
- Enable plugins that are “not supported”
- URL problem in my site
- do_action( ‘init’ ) in wp-settings.php breaks my website. All plugins and themes disabled
- 100% uptime for a web application
- How to assign permissions to ApplicationPoolIdentity account
- Is it bad to redirect http to https?
- Using DD for disk cloning
- What tool do you use to monitor your servers?
- Sudo as different user and running screen
- What is the difference between Load Balancer and Reverse Proxy?
- Should servers be turned off at night?
- Where to check log of sendmail?
- How can I see Time-To-Live (TTL) for a DNS record?
- Rsync difference between –checksum and –ignore-times options
- Should I use tap or tun for openvpn?
- Smell of rotten eggs in the server room
- Should we host our own nameservers?
- Ansible: Execute task only when a tag is specified
- Is a CNAME to CNAME chain allowed?
- How does a team of Systems Administrators share passwords securely?
- Apache2 config variable is not defined
- How dangerous is a wet server room floor
- Why is rsync skipping the main directory?
- What is the debian-sys-maint MySQL user (and more)?
- apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName