Book Image

Raspberry Pi Networking Cookbook

By : Rick Golden
Book Image

Raspberry Pi Networking Cookbook

By: Rick Golden

Overview of this book

<p>The Raspberry Pi is more than just a platform for teaching students how to program computers! The recipes in this book show you how this inexpensive computer can be used out of the box for a number of practical solutions that utilize existing networks and connectivity.<br /><br />The Raspberry Pi Networking Cookbook is an essential reference full of practical solutions for use both at home and in the office. Beginning with step-by-step instructions for installation and configuration, this book can either be read from cover to cover or treated as an essential reference companion to your Raspberry Pi.<br /><br />Full of practical and engaging content designed to expand and build upon your existing skills as you work through individual recipes, any computer novice can quickly learn how to become a Raspberry Pi expert without any programming knowledge required. The Raspberry Pi Networking Cookbook will allow you to revolutionize how you use technology on a daily basis, ranging from sharing your media across multiple devices to deploying your very own web portal, or even accessing your desktop remotely.</p>
Table of Contents (12 chapters)
Raspberry Pi Networking Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Changing the login password (passwd)


This recipe shows how to change the login password.

Once remote access to the Raspberry Pi has been enabled, anyone on the local network who knows the correct username and password will be able to log in remotely. To prevent unauthorized access to the Raspberry Pi, the default installation password should be changed immediately after the installation is complete.

The raspi-config utility can be used to change the login password; however, this recipe uses the passwd command. The passwd command is a standard GNU utility available with most Linux distributions and can generally be used, even if raspi-config is not available.

Changing the login password frequently will inhibit unauthorized access to the Raspberry Pi. You should use this recipe on a regular basis to protect access to your Raspberry Pi.

Getting ready

The following are the ingredients:

  • A Raspberry Pi with a 5V power supply

  • An installed and configured "official" Raspbian Linux SD card

  • A network connection...