Link to home
Start Free TrialLog in
Avatar of olaf
olaf

asked on

DEC OSF/1 - /etc/passwd locked

/etc/passwd and /etc/group  are locked by the system.   This happened after a system crash (bad power supply, fixed now) where dxaccounts was up and running befopre the crash.
Now I can only modify the user database by manually editing the files .   This is very annoying,   Ive searched all over and I cant find how to register them unlocked.

Thanks
Olaf
Avatar of OM
OM

What do you mean by "locked" ? If you success in editing them
by hand, there are not locked !
Avatar of olaf

ASKER

Ok sorry,  I wasnt specific enough..

Commands such as  dXaccounts, adduser, useradd usermod, etc...    wont work,  they return with an error message stating that its in use by another user.    Even though I have nothing against useing vi for editing ,  its much more convenient using the other programs in a multi-user enviroment

Olaf
ASKER CERTIFIED SOLUTION
Avatar of hajek
hajek

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of olaf

ASKER

Ok thanks..  I had looked for files that could be the lock..  But your suggestion of zero length got me the right file..
thanks

Olaf