Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a script to make sure that user home directories are owned and only accessible by the owner. The script can assume home directories are
Write a script to make sure that user home directories are owned and only accessible by the owner. The script can assume home directories are descendants of /users.
Finally, write a script which takes as an argument the filesystem name e.g. /home and looks for objects which do not belong i.e. end with the extension
a. mp3
b. aac
c. mp4
d. mov
e. avi
f. vid
When these files are found a summary should be produced including where they are and the size. The script should also remove the files.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started