linuxに「passwd: User not known to the underlying authentication」の解決

linuxにユーザーを作成時下記メッセージが出る
passwd: User not known to the underlying authentication

対策:
1–> $sudo /usr/sbin/pwck
Password:
user adm: directory /var/adm does not exist
user news: directory /etc/news does not exist
user uucp: directory /var/spool/uucp does not exist
user gopher: directory /var/gopher does not exist
user ftp: directory /var/ftp does not exist
user pcap: directory /var/arpwatch does not exist
user avahi-autoipd: directory /var/lib/avahi-autoipd does not exist
user oprofile: directory /home/oprofile does not exist
user sabayon: directory /home/sabayon does not exist
pwck: no changes
2–> $sudo /usr/sbin/pwconv

3–> $sudo passwd ***
passwd: all authentication tokens updated successfully.

Source

Posted by arkgame