Score:-1

server does not show username after login

in flag

When login using ssh I write my password but it does not automatically continue the login, I have to do ctrl + c to get into the server, and when I am in, the username is not shown like before.

user@xxxxxxx ~ % ssh [email protected]
user@xxxxxxxx password: 
Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 5.4.0-109-generic x86_64)
Last login: Sat May  7 09:26:15 2022 from 2001:700:301:11::12f
#STUCK HERE....
#CTRL + C
#Now I am in
servername:~$
Zareh Kasparian avatar
us flag
type echo $SHELL to check your current shell. it seems your default shell is not bash. to change your shell you may chsh -s /bin/bash.
in flag
Thanks. I think you are right, however, got this error: chsh: user 'xxxxx' does not exist in /etc/passwd
in flag
xxxxx is my username
Zareh Kasparian avatar
us flag
you may edit /etc/passwd file, go to your selected user and change the default shell. then logout and login again.
in flag
Cannot find my user there...
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.