Wednesday, May 10, 2017

Solaris 11: Inconsistent password files

# useradd -u 166 -g 0 -m -d /export/home/user01 user01
/usr/lib/passmgmt: Inconsistent password files
UX: useradd: ERROR: Inconsistent password files.  See pwconv(1M).

Run pwconv command, you will be able to locate the problem


# pwconv
pwconv: ERROR: bad entry or blank line at line 1394 in /etc/passwd
pwconv: Unexpected failure. Conversion not done.