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

LINUX PROGRAMMING plese help!!!!! 1. Using a directory of your choice that inclu

ID: 3695216 • Letter: L

Question

LINUX PROGRAMMING plese help!!!!!

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

Explanation / Answer

1) The permissions for each file and folder within the directory there are three attributes they are:

a) Read permisssion of a file: If you have read permission of a file you can see the contents that means you can use more(1),cat(1),etc..

b) Write permission ofa file: If you have write permission of a file you can change the file that is youn can add to a file or overwrite a file.

c) Execute permission of a file: If the file has execute permisssion then you can ask operating system to run the file. If it is a binary file you can execute it in any other program.

The basic permission characters are R,W and X.

2) To change the permissions using the chmod Linux command for two of the files are

By using chmod Octal:

Octal mode is the octal form of permissions. To set the permissions of a file using octal mode simply use the format:

                                                     chmod OCTAL-MODE FILENAME

For Example to set the permissions of a file name to -rw-r--r-- you could run the command:

                                                               chmod 644 filename

b) Using chmod symbolic mode:
   In ordere to change th epermission of a file using symbolic permissions,use the command format:

                                 chmod SYMBOLIC-MODE FILENAME

where SYMBOLIC-MODE is the symbolic representation of permissions that you wish to apply to FILENAME

3) We can chage our password on your UMUC Nova Client

    The Nova client recommended that to nuse the nova client to run simple commands that make API v2 calls. This open source python client runs on linux.

and easy to learn and use. We can specify a debug parameter on any nova client to show the underlying API request for the command. Nova is a linux based web server which is used through various computer studied courses at UMUC my web design classes are enrolled in another UMUC classes that uses Nova inorder to setup a Nova account you will need you MyUMUC login and password.Once you created you will be assigned a unique nova login account and then we can change passwords.

4.   there are many steps involed in the process for UMUC:

            step1: create your Nova login

                     SSH into nova.umuc.edu. Mac users open terminal and enter the following command

   ssh newclass@nova.umu

   c.edu

             step2: UMUC login credentials

          T^he 'newclass' command will prompt due to supply your my umuc login credentials, which is the same user name and password you use to access LEO.

Step 3:

account not needed, account already exists, account will be created

No computer account is needed for this class or if the account is required it is not the type created by the new class system.

User mode symbols Octal equivalent -rwxr-xr-x 755 -rw-rw-r-- 664 -rw-r--r-- 644 -rw------- 600