View Single Post
  #1   (View Single Post)  
Old 7th October 2013
pawaan pawaan is offline
Fdisk Soldier
 
Join Date: Jan 2013
Posts: 82
Default pwd_mkdb exited with status 1

I 'm running NetBSD 6.1.2 (GENERIC) i386 & I have an issue with pwd_mkdb the root of which I don't know.

I can't create users :
#useradd -m -G wheel himmel
Code:
useradd: pwd_mkdb exited with status 1
useradd: Can't add user `himmel': pw_mkdb failed

and pkg_add can't either :
Code:
useradd: pwd_mkdb exited with status 1
useradd: Can't add user `clamav': pw_mkdb failed
strange problem :
There used to be a user 'mimir' which I deleted.now what happens is
Code:
#userdel mimir
userdel: Can't modify user `mimir': must be a local user
&
Code:
# useradd -m -G wheel mimir
useradd: Can't add user `mimir': `mimir' is already a user
root shell is ksh not sh.

Thanks for help.

Regards.
Reply With Quote