O'Reilly logo

Raspberry Pi Networking Cookbook - Second Edition by Rick Golden

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Administration

In this chapter, we will cover the following topics:

  • Executing commands with privileges (sudo)
  • Expanding the size of a filesystem (raspi-config)
  • Configuring memory usage (raspi-config)
  • Configuring remote access (raspi-config)
  • Obtaining remote access by using SSH
  • Obtaining remote access by using PuTTY
  • Changing the login password (passwd)
  • Adding a user (adduser)
  • Giving a user sudo privileges (id and usermod)

Introduction

The recipes in this chapter are for the basic administration of the Raspberry Pi. This chapter starts with a recipe that shows how you can use the sudo command to execute other commands that require superuser privileges. The next three recipes use the raspi-config command-line tool to complete the following three ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required