Unix Technical Forum

Can't access /etc/passwd anymore

This is a discussion on Can't access /etc/passwd anymore within the comp.unix.bsd.openbsd.misc forums, part of the OpenBSD category; --> When i use 'adduser' or 'usermod' i get the error message: usermod: can't obtain pw_lock: File exists But i ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > comp.unix.bsd.openbsd.misc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-16-2008, 09:10 AM
llothar
 
Posts: n/a
Default Can't access /etc/passwd anymore

When i use 'adduser' or 'usermod' i get the error message:

usermod: can't obtain pw_lock: File exists

But i can't find any lock file that might be obvious. So how can i
remove the lock,
rebooting doesn't help.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-16-2008, 09:10 AM
Joachim Schipper
 
Posts: n/a
Default Re: Can't access /etc/passwd anymore

llothar <llothar@web.de> wrote:
> When i use 'adduser' or 'usermod' i get the error message:
>
> usermod: can't obtain pw_lock: File exists
>
> But i can't find any lock file that might be obvious. So how can i
> remove the lock,
> rebooting doesn't help.


You could find out using ktrace(8). (Did you already try ls -A /etc? I
suppose you did, but...)

Joachim
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:17 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com