Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

linux programming please help!!! please include screen captures For this exercis

ID: 3697106 • Letter: L

Question

linux programming please help!!!

please include screen captures

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

These are then split into 3 different permissions, that of being able to:

read - Look at the contents of a file / find out what files are in a directory

2.

The basic format of the command is:

chmod mode filename

It is only the format of the mode parameter that is different when using the different permission formats.

In symbolic format permissions are added or deleted using the following symbols

For example to add write access to the group the following command is used:

chmod g+w file1

Octal Format:

The above file would have the octal number 764 and would therefore be changed using the command

chmod 764 file1

Another Example:

chmod 400 mydoc.txt read by owner
chmod 040 mydoc.txt read by group
chmod 004 mydoc.txt read by anybody (other)
chmod 200 mydoc.txt write by owner
chmod 020 mydoc.txt write by group
chmod 002 mydoc.txt write by anybody
chmod 100 mydoc.txt execute by owner
chmod 010 mydoc.txt execute by group
chmod 001 mydoc.txt execute by anybody

how to calculate:

7 = 4+2+1 (read/write/execute)
6 = 4+2 (read/write)
5 = 4+1 (read/execute)
4 = 4 (read)
3 = 2+1 (write/execute)
2 = 2 (write)
1 = 1 (execute)

chmod 666 mydoc.txt read/write by anybody! (the devil loves this one!)
chmod 755 mydoc.txt rwx for owner, rx for group and rx for the world
chmod 777 mydoc.txt read, write, execute for all! (may not be the best plan in the world...)

changing file ownership:

[me@linuxbox me]$ su
Password:
[root@linuxbox me]# chown you some_file
[root@linuxbox me]# exit
[me@linuxbox me]$

how to chnge password root user password:

$ su -l

Change Another User’s Password:

# passwd userNameHere
# passwd tom
# passwd jerry