Beginner account creation problem

Solved
riquet06 Posted messages 56 Status Membre -  
 USER -
Hello everyone,

I really need your help, let me explain:

My knowledge of computers is quite limited and at the moment I absolutely do not know command lines or Linux.

I am currently using Windows 10 on my PC and I started a few days ago a course to discover command lines and how a terminal works on a well-known training site.

Anyway, as indicated in the tutorial, being on Windows I downloaded a bash shell, namely Ubuntu. And upon launching it, the terminal asks to set a username and password. However, when I entered the password, it did not display, and I thought there was a problem. I am not sure if my user account was created correctly; I got lost and had to close the window.

Now, upon starting Ubuntu, the terminal indicates:

This message is shown once once a day. To disable it please create the

/root/.hushlogin file.

root@the name of my computer : ~ #

If I type pwd it responds: /root

Could you tell me what I should do?

At the moment I really don't understand anything at all.

Thank you very much for your help!

4 réponses

zipe31 Posted messages 34620 Registration date   Status Contributeur Last intervention   6 501
 
Hi,
But when I entered the password, it didn’t show up
That's normal; under GNU/Linux, there is no echo or asterisks, for security reasons, to prevent anyone from counting the number of characters among other things.

To check if your user has been created or not, type this command and let us know the result:
grep 'sh$' /etc/passwd

You should get 2 lines returned, one for "root" and the other with your username.

If that's not the case, we can still try to create that user, but it may not have the same rights as the one that should have been created initially.

At your stage, the simplest thing would be to uninstall Ubuntu and reinstall it, so you can start fresh with a clean system and your user.

--
_______________________________ ☯ Zen my nuggets ☮ _____________________________
Do your part for the environment, close your windows and adopt a penguin… ????
0