[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: dotfile generalities (was Re: repeated system mail, /etc/.pwd.lock ?)



On Fri, 2021-05-07 at 09:39 +0200, tomas@tuxteam.de wrote:
>  - 1 I don't understand (who is .pwd.lock and what is she
>    doing in my /etc? [1]).

I thought that was explained on this list a few days ago (and 17 years
ago! [2]). The file is used by lckpwdf() function [3][4] which is used
to serialise modification to /etc/passed and friends.

> [1] https://www.reddit.com/r/shittyaskreddit/comments/7mq5f9/who_is_general_failure_and_why_is_he_reading_my/

[2] https://lists.debian.org/debian-user/2005/07/msg02949.html
[3] https://linux.die.net/man/3/lckpwdf
[4] http://sourceware.org/git/?p=glibc.git;a=blob;f=shadow/lckpwdf.c;hb=284128f68f27567f9cad0078c97d7d807475e0a7


-- 
Tixy


Reply to: