シングルユーザーはログインできず、パスワードの変更は無効です。

シングルユーザーはログインできず、パスワードの変更は無効です。

以下を使用してユーザー(user1)のパスワードを変更しました。root

passwd user1

しかし、試しssh user@localhostたり、通過しgdmたりtty、常に失敗したとき

ログjournalctlの表示

Failed password for user1 from ::1 
FAILED LOGIN 1 FROM tty3 FOR user1, Authentication failure
pam_unix(gdm-password:auth): conversation failed
pam_unix(gdm-password:auth): auth could not identify password for [user1]

新しいArch Linuxインストール(64ビット)を使用しています。

ベストアンサー1

解決策は/etc/passwdファイルを変更することです。

シェルuser1から/usr/bin/bash/bin/bash

おすすめ記事