Operating System - HP-UX
1845938 Members
4186 Online
110250 Solutions
New Discussion

lckpwdf permission denied

 
Carlos Munoz Lopez
Frequent Advisor

lckpwdf permission denied

Hi guys. I'm having troubles with users trying to access to the server. I get the following error:

Unable to ser uid/gid

And then it closes the connection.

With new users who are going to access the server for the first time, the system ask them for new password, in this case, I get the following error:

lckpwdf: Permission denied
Cannot obtain lock for /etc/.pwd.lock
audswitch: Not owner

I have no problem with root account.

I don't know what could be happening. I think it has something to do with file permissions, but I don't know what files. I would like some help on this problem.
3 REPLIES 3
Jeff Schussele
Honored Contributor

Re: lckpwdf permission denied

Hi Carlos,

What are the perms & ownership on the /usr/bin/passwd file? Should be:

-r-sr-xr-x root bin

Also /etc/.pwd.lock should be:

-r-------- root sys

HTH,
Jeff

PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Jeff Schussele
Honored Contributor

Re: lckpwdf permission denied

Also check /usr/lib/libpam.1 - should be:

-r-xr-xr-x bin bin

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Sanjay_6
Honored Contributor

Re: lckpwdf permission denied

Hi Carlos,

Try,

fuser /etc/.pwd.lock

If it lists any process, kill those processes and then retry login / password changes.

Hope this helps.

Regds