Monday, December 14, 2009

UX: useradd: ERROR: Inconsistent password files. See pwconv(1M).

wc -l /etc/passwd /etc/shadow
# pwconv
useradd -d /export/home/someuser-m -s /bin/ksh -c "Regular User Account" someuser

...it creates a userid with the home dir where I expected it.

On the other box if I run exactly the same command I get and error telling me:

UX: useradd: ERROR: Inconsistent password files. See pwconv(1M).

Both commands are run as root and I can't see anything in /etc/passwd or /etc/shadow which would be a nice and simple explanation!
# useradd OlliLang
UX: useradd: ERROR: Inconsistent password files. See pwconv(1M).
# wc -l /etc/passwd /etc/shadow
24 /etc/passwd
24 /etc/shadow
48 total

1 comment:

  1. looks great. The parsing of corrupted documents can be also performed by the recovery for sql server utility, it is the fastest way to open affected files

    ReplyDelete