Linuxでユーザーパスワードが登録できない

* 本ページはプロモーションが含まれています

CentOS(Linux)にて、ユーザーを作成し、パスワードを登録しようとしたら、下記のエラーで出来ない。

$ passwd
Changing password for user hoge.
Changing password for hoge
(current) UNIX password:
passwd: Authentication token manipulation error

どうやら、/etc下のpasswordとshadowファイルの整合性がとれない模様。

対応策は、pwconvのコマンドをrootで実行。 これで解決!


See also