Raspberry Pi Linux LESSON 23: Changing File and Folder Permissions

In this lesson we look at changing file and folder permissions. In the earlier lessons we learned that we can view the file and folder permissions by navigating to the folder of interest, and then giving the ls -l command. In order to change the permissions, we will use the chmod command. This video explains how to use the chmod command to control who has what permissions.

Raspberry Pi Linux LESSON 21: Adding an Admin User With Same Privileges as Pi


In LESSON 19 we showed how  to add users to the Pi with limited permissions. In this lesson we show how to add a user with Admin privileges just like the default “Pi” user.

Fist you will want to log on as the default “pi” user. After logging on, you can add another user with the command:

once the user is added, you can then give them admin privileges like the pi user my modifying the account with the command:

Now your user “paul” has the same admin privileges as “pi”. However if “paul” tries to execute a sudo command it will ask for his password. If you want “paul” to be able to execute sudo without entering password, you need to do the following:

NOTE: Messing up this file will corrupt your operating system. I suggest STRONGLY making a backup of your system before moving forward. Or, you could just leave things as they are, and “paul” will have to enter password when doing a sudo command

 and then you will be nano-editing a file. Add the following to the last line of the file:

paul ALL=(ALL) NOPASSWD: ALL

Then Control o and enter to save the file, and then control x to exit.

Raspberry Pi Linux LESSON 20: Backing Up Your SD Card and Operating System

It is fairly easy to corrupt your SD card or your operating system on the Raspberry Pi. If this happens, and you do not have a backup, you will likely have to rebuild your system from scratch. Hence, it is important to be diligent in keeping your Pi backed up. In this lesson we show how you can back it up using Windisk32Manager, a free and simple program that will do the trick.

Please note that you can not back the card up by simply using a windows drag and drop of the contents. You actually have to make the disk image as shown in this video.