If you were root and did ls -a /etc/.pwd.lock you'd probably find it.

On Sun, 16 May 2021, Patrice Duroux wrote:

> Hi,
>
> 1. I was wondering about the presence of the /etc/.pwd.lock file on my
> system.
> For sure 'apt-file search /etc/.pwd.lock' is no help, but 'man -K
> .pwd.lock' do.
> I also searched the Debian user mailing list and found some relevant
> discussion on this file.
> Querying the Debian Code Search was also very interesting.
>
> Could there be a Debian web page to handle some sort of global search?
> I think this could be useful also for beginner not familiar with the
> diversity of Debian services, no?
> It will be for instance client to Debian Packages Search, Debian Manpages
> and Code Search, (also Debian Wiki?) that would provide at least links if
> topics are found in each of them.
> May be user would be able to select their targets.
>
> 2. After this I was curious about the overall content of all the packages
> on any dot files (including directories). For that I used the following to
> 2 commands:
> # the packages concerned
> apt-file --filter-origins Debian --regex search '/\.' | cut -d ':' -f 1 |
> uniq -c | sort -h
> # the top 10 of dot files
> apt-file --filter-origins Debian --regex search '/\.' | cut -d ':' -f 2 |
> grep -o '/\..*' | sort | uniq -c | sort -rh | head -10
>
> They are very diverse and include some .git* ones. Are they always useful
> to provide?
> Is this something related to the Debian Policy? tracked by Debian
> Maintainer and/or in the scope of some QA tools?
>
> My opinion (as a sysadmin) is that I am not a big fan of dot files and
> moreover when they are not intended to be reserved (better restricted?) to
> the userland.
>
> Cheers,
> Patrice
>

Reply via email to