For this exercise, perform the following steps and activities and document the r
ID: 3686370 • Letter: F
Question
For this exercise, perform the following steps and activities and document the results in a word of PDF file:
1. Using a directory of your choice that includes at least 3 files or folders, describe the permissions for each file and folder within the directory. Be sure to discuss owner, group and world permissions.
2. Describe and demonstrate how to change the permissions using the chmod Linux command for two of the files. Use both Octal and symbolic representation in your examples.
3. Demonstrate you can successfully change your password on your UMUC Nova system.
4. List processes currently running on your UMUC Nova system that you have the ability to view.
For each of the above steps, describe what you did to successfully complete the step. Provide a screen capture demonstrating the successful execution and provide additional screen shots or Linux commands as needed to demonstrate the successful operation.
Your document should be well-organized, well-written with minimal spelling and grammatical errors. The document should include page numbers, figure titles and numbers and section titles as appropriate.
Explanation / Answer
1.The permissions for each files include
1.Read permissio(r):This allows the user to view the contents of the file.
2.write permission(w):This allows the user to change the file.This means we can add to the file or overwrite it.
3.Execute permission(x):, By this permission the user can ask the operating system to run the file as if it were a program. If it's a binary file/program, the user can execute it like any other program. In other words, of there is a file called "abc", and it is in your searchpath, and the file is executable, all you need to do to run the program is type
2)chmod helps to change permissions.we can add or subtract a permission using + and -.
for changing the permissions in symolic modes:
a)Make file called newfile executable by all:
b)Remove read permission for group and others:
for octal mode
7->rwx
5->r-x
4->r--
This is how mode will be changed 1 by 1
3.to become the root user we will use
$ su -l
to change the root's password
# passwd
or
passwd {userName}
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.