securingthepiLAB

pdf

School

Purdue University *

*We aren’t endorsed by this school

Course

176

Subject

Computer Science

Date

Feb 20, 2024

Type

pdf

Pages

5

Uploaded by DeanMusic3172

Report
PROCEDURE 9. 13.
16.
QUESTIONS 1. What is the command to print the contents of a file to the terminal window? The cat command prints the contents of a file to the terminal window. 2. Confirm that the pi user has been removed as an entry in those three files. Show the evidence with screenshots.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
3. Does the pi user still have a home directory? What commands did you use to determine whether the pi user has a home directory? If the pi user does have a home directory, what command-line command would you use to delete it and all its contents? No, the pi user does not have the home directory. I used the command sudo cat /etc/passwd to determine this. I also used sudo cat /etc/shadow, /etc/group to help determine this. pi was not found in any of these meaning that it is completely off the raspberry pi. If by chance the pi user still did have a home directory, in that case I would use the command rmdir in the command line, which would delete any and all empty directories and folders.