由于之前安裝zsh,
編譯安卓7源碼只支持默認(rèn)的bash
后來卸載了zsh,導(dǎo)致用戶無法登錄。
原因是這個(gè)用戶配置了登錄的shell是zsh,這個(gè)shell已經(jīng)被卸載了。
將這個(gè)用戶的登錄shell改為默認(rèn)的/bin/bash就可以了。
# grep tecmint /etc/passwd
# usermod --shell /bin/bash tecmint
# grep tecmint /etc/passwd

由于之前安裝zsh,
編譯安卓7源碼只支持默認(rèn)的bash
后來卸載了zsh,導(dǎo)致用戶無法登錄。
原因是這個(gè)用戶配置了登錄的shell是zsh,這個(gè)shell已經(jīng)被卸載了。
將這個(gè)用戶的登錄shell改為默認(rèn)的/bin/bash就可以了。
# grep tecmint /etc/passwd
# usermod --shell /bin/bash tecmint
# grep tecmint /etc/passwd