Problem
Some NIS functions such as /etc/yp/map2ascii fail with the error:
Cannot lock password file Cause
The /etc/yp/lckpwdf binary on OpenServer 5.0.5 tries to open the file /etc/security/ia/.pwd.lck when it should be trying to open /etc/.pwd.lck.
Solution
This problem is fixed in SCO OpenServer Release 5.0.6.
Following are two possible solutions for earlier releases of SCO OpenServer:
1. Replace the 5.0.5 /etc/yp/lckpwdf binary with the 5.0.4 version.
2. Create the directory /etc/security/ia and copy the /etc/.pwd.lck file into that directory:
# mkdir -p /etc/security/ia
# cp /etc/.pwd.lck /etc/security/ia