element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Experts, Learning and Guidance
  • Technologies
  • More
Experts, Learning and Guidance
Ask an Expert Forum Pre-configured SD-card fro Raspberry Pi, any idea of root password?
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Experts, Learning and Guidance to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 3 replies
  • Subscribers 305 subscribers
  • Views 551 views
  • Users 0 members are here
Related
See a helpful answer?

Be sure to click 'more' and select 'suggest as answer'!

If you're the thread creator, be sure to click 'more' then 'Verify as Answer'!

Pre-configured SD-card fro Raspberry Pi, any idea of root password?

Former Member
Former Member over 12 years ago

Hi  there,

 

I read somewhere that the user name and password was pi/raspberry and so managed to get access to the card, expanded its memory to the full card .. even ran startx and engaged a desktop ...

 

However, no matter what I try, I cannot guess the password for root ... it must be standard on the image that is preinstalled on the CD card, but what is it?

 

Thanks,
Dave

  • Sign in to reply
  • Cancel
Parents
  • johnbeetem
    0 johnbeetem over 12 years ago

    By default, GNU/Linux does not have a password for root.  This helps prevent hackers from getting root access to a computer by knowing the user name "root" and then guessing its password.

     

    Instead, use "sudo command" to run command as root.  For example, to change the date use "sudo date" and to shut down use: "sudo shutdown -h now".  "sudo" only works if you're an "authorized" user like "pi".  You can create other users who aren't authorized.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gdstew
    0 gdstew over 12 years ago in reply to johnbeetem

    >By default, GNU/Linux does not have a password for root.

     

    This is simply not correct. Most distros that I know of , except Unbutu (and its derivitives ?) have a root password. Usually the default password is root, which should be

    changed immediately after installation. sudo was never ment to completely replace root. It was ment to allow selected users restricted acess to programs that can

    normally only be run by root. A configuration file in /etc that can only be edited by root (or an unrestricted  sudo user) selects which root programs a user can run using

    sudo. Giving any user unrestricted access to run all root programs using sudo is no safer than having a root user. User names are usually easy to guess (easier when

    it is already known, such as pi) and once you have  that with unresricted sudo you effectively have a root user.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • gdstew
    0 gdstew over 12 years ago in reply to johnbeetem

    >By default, GNU/Linux does not have a password for root.

     

    This is simply not correct. Most distros that I know of , except Unbutu (and its derivitives ?) have a root password. Usually the default password is root, which should be

    changed immediately after installation. sudo was never ment to completely replace root. It was ment to allow selected users restricted acess to programs that can

    normally only be run by root. A configuration file in /etc that can only be edited by root (or an unrestricted  sudo user) selects which root programs a user can run using

    sudo. Giving any user unrestricted access to run all root programs using sudo is no safer than having a root user. User names are usually easy to guess (easier when

    it is already known, such as pi) and once you have  that with unresricted sudo you effectively have a root user.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube