1834022 Members
2364 Online
110063 Solutions
New Discussion

Cannot open vipw

 
SOLVED
Go to solution
Ngoh Chean Siung
Super Advisor

Cannot open vipw

Hi,

When I issue command "vipw", the error message as below displayed on screen.

# vipw
lckpwdf: Permission denied
vipw: Cannot obtain lock for /etc/.pwd.lock

Any ideas?

regards.
3 REPLIES 3
steven Burgess_2
Honored Contributor
Solution

Re: Cannot open vipw

Hello

Couple of things to check

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

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

-r-xr-xr-x bin bin

Also,

fuser /etc/.pwd.lock

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

HTH

Steve
take your time and think things through
lawrenzo
Trusted Contributor

Re: Cannot open vipw

Hello,

If you check out:

#man vipw

there is an entry here that states that if a system crashes and /etc/passwd.tmp is not removed this will prevent further editing of the password file using vipw.

is this file present?
hello
Ngoh Chean Siung
Super Advisor

Re: Cannot open vipw

Hi,

Already killed the process id and now can open vipw.

Thanks.