HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to rest the password

 
HP UNIX Professionals
Frequent Advisor

Not able to rest the password

Hi Experts,

In HPUX(B.10.20 A 9000) ,When i try to lckpwdf: Interrupted system call
Cannot obtain lock for /etc/.pwd.lock
sndb4:/#useing passwd command i am getting Erorr, i am not able to reset the password.

"lckpwdf: Interrupted system call
Cannot obtain lock for /etc/.pwd.lock
XXXX:/#

Please guid me

1. why this error comming
2. What is the solution

Thanks in advance
vinay


5 REPLIES
James R. Ferguson
Acclaimed Contributor

Re: Not able to rest the password

Hi Vinay:

The '/etc/.pwd.lock' file may be missing. If so, recreate it as the root user with:

# touch /etc.pwd.lock
# chmod 400 /etc/.pwd.lock

Regards!

...JRF...
Rita C Workman
Honored Contributor

Re: Not able to rest the password

If you can not obtain the lock, then obviously someone or some process already has it.
Figure out who and either have them stop or kill the process.

Rita

And consider reading this thread
http://66.34.90.71/ITRCForumsEtiquette/

Jupinder Bedi
Respected Contributor

Re: Not able to rest the password

/etc/.pwd.lock is missing in this case . you have to create the file manually and than try


Good Luck
All things excellent are as difficult as they are rare
Sp4admin
Trusted Contributor

Re: Not able to rest the password

Please verify that the pwd.lock file is in place. If not then you will need to create the file with the touch command and make sure the permission are correct. If the file is missing then you need to investigate why the file was removed.

Sp,
Steven E. Protter
Exalted Contributor

Re: Not able to rest the password

Shalom,

Also besides the good advice above, consider moving the functionality of this system to supported hardware and software.

The age and lack of OS support is eventually going to cause a problem that can't be solved.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com