-1

What is the default root password for raspbian jessie or debian 9?

I have Raspbian Jessie stretch iso "Raspberry Pi Desktop" or pixel Virtualbox and I need to install keys with root "su", what is the default password since raspberry nor pi aren't working.

2

From the offical documentation:

Linux users

User management in Raspbian is done on the command line. The default user is pi, and the password is raspberry.

Root user/sudo

You won't normally log into the computer as root, but you can use the sudo command to provide access as the superuser. If you log into your Raspberry Pi as the pi user, then you're logging in as a normal user. You can run commands as the root user by using the sudo command before the program you want to run.

You can also run a superuser shell by using sudo su. When running commands as a superuser there's nothing to protect against mistakes that could damage the system. It's recommended that you only run commands as the superuser when required, and to exit a superuser shell when it's no longer needed.

0

Log in as user "pi" and password "raspberry" and THEN "su" to have superuser (SU) privileges. I do not believe there is an actual "root" login, but I could be wrong.

Edit, did you google this at all? https://www.raspberrypi.org/forums/viewtopic.php?t=136199

  • Thanks for the link, I did google su root password but every answer was about using substitute user with sudo -i and not the actual su root which prompted for a password but I couldn't figure which one it was. I found out like GAD3R mentions su root is disabled and you can enable thru sudo, see link cyberciti.biz/faq/change-root-password-ubuntu-linux anyways I couldn't run the keyserver with su so It worked with sudo -1 but the question was specificly about su root password which was not raspberry in that case. – Juan Ojeda Apr 19 at 22:15
  • I really don't think you understand how SU, ROOT, and logins work in the Linux environment, but that's cool, glad you got it figured out one way or another. – customcables067 Apr 20 at 22:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.