Root password?


5 posts
by MattHawkinsUK » Thu May 31, 2012 8:32 pm
What is the root password for the Debian image?

If I run "Root Terminal" under "Accessories" it prompts me for the password but "raspberry" doesn't work.

Thanks

Matt
My Raspberry Pi blog and home of the BerryClip Add-on board : http://www.raspberrypi-spy.co.uk/
Follow me on Google+, Facebook and Twitter (@RPiSpy)
User avatar
Posts: 480
Joined: Tue Jan 10, 2012 8:48 pm
Location: UK
by hexelpdkk » Thu May 31, 2012 8:40 pm
There is no root password set by default - as in Ubuntu, you are expected to do everything through sudo. You can set one with "sudo passwd root" - just make sure you know what you are doing with a root account.
Then again - if you blow away the sd card with rm -rf /, it really doesn't matter that much on a pi.
User avatar
Posts: 128
Joined: Fri Feb 24, 2012 4:40 pm
by bredman » Thu May 31, 2012 8:43 pm
This is a known problem, see the fix in
http://elinux.org/R-Pi_Troubleshooting# ... y_password
Posts: 1413
Joined: Tue Jan 17, 2012 2:38 pm
by havelln » Sun Jun 03, 2012 9:26 am
to setup up root passward type

sudo passwd

then it willask you for new password then to confirm it then your beable to login as root
Posts: 2
Joined: Sun Jun 03, 2012 9:25 am
by pccreator25 » Tue Jun 04, 2013 6:37 pm
Sweet! Thank you havelln!!!
I'm still new to the Linux side of things but its nice to know that I now have full access to root!
Posts: 2
Joined: Tue Jun 04, 2013 6:34 pm