5

Trying to change my root password I followed a hint that I just had to type sudo init1 and then passwd and I would be able to change the root password.

But that was not right.

After typing sudo init 1 and enter, the connection was cancelled and I was not able to rebuild it. The pi ran headless.

Now I connected a monitor and a keyboard. The Raspberry starts until the "Welcome to PIXEL" screen.

That's it. No more action.

Is there a possibility to undo whatever I changed?

Piotr Kula
  • 17,336
  • 6
  • 66
  • 105
Andree
  • 51
  • 1

1 Answers1

1

best way to create a root password is just type:

sudo -i
passwd

that'll give root a password without having to go into single user mode (init 1)

linuxgnuru
  • 625
  • 11
  • 21