The new account is no solution account name and host name in bash window

This is because the account has been created before creating the user's folder, resulting useradd when some initialization is not completed.

Solution:

useradd testuser

cp /home/testuser/.bash* ./home/targetuser/ -rf

userdel testuser

Guess you like

Origin www.cnblogs.com/lialin/p/11287518.html