You are not logged in.

#1 2017-05-05 20:08:08

Jickler
Member
Registered: 2013-09-27
Posts: 1

How can I find which package installed a configuration file?

I made a mistake merging a pacnew file to my original configuration file. I also made a second mistake, by deleting that pacnew file, instead of just backing it up. I'd like to generate a new pacnew file so I can fix this problem, but I'm not sure which package created the file in the first place. The file in question is /etc/security/pwquality.conf.pacnew, if that helps. I can tell that it's related to pam, but reinstalling pam doesn't give me a fresh config file.

Offline

#2 2017-05-05 20:09:43

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: How can I find which package installed a configuration file?

man pacman | less -p owns

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB