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

Re: dot-locking



'Karl M. Hegbloom wrote:'
>
> 'lckpwd', the password locking routine in libc, is an interesting
>function.  It does not perform the link, and therefore would not be
>'nfs' safe.  I don't think it needs to be though, on most systems,
>does it?  A 'transnames' patched system may well need 'nfs' safe
>/etc/passwd locking.  There is a 'pragma weak' on the 'lckpwd'
>functions...  I think this means that a LD_PRELOAD is allowed to
>replace it, is that right?

I would very much like to NFS mount /etc/security (is that what the
shadow passwd suite uses?).  So I'd call it a bug (ahem, limitation) in
libc.

-- 
Christopher J. Fearnley          |  Linux/Internet Consulting
cjf@netaxs.com, cjf@onit.net     |  Design Science Revolutionary
http://www.netaxs.com/~cjf       |  Explorer in Universe
ftp://ftp.netaxs.com/people/cjf  |  "Dare to be Naive" -- Bucky Fuller


Reply to: