Quantcast
Channel: Oracle Apps Technology
Viewing all articles
Browse latest Browse all 65

UX: useradd: ERROR: Inconsistent password files

$
0
0
While using useradd command to add my user, I got this error:

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

Logged in as root, I checked the no. of lines in /etc/passwd and /etc/shadow:

# cat /etc/shadow |wc -l
299
# cat /etc/passwd |wc -l
300

vi /etc/passwd

I saw that last line was a blank and removed the blank line.

Using useradd command worked now without issues.

Viewing all articles
Browse latest Browse all 65

Trending Articles