CIS206_3.2_Permissions_Security_Model_Corey_Adams

docx

School

ECPI University, Greensboro *

*We aren’t endorsed by this school

Course

206

Subject

Computer Science

Date

Jan 9, 2024

Type

docx

Pages

4

Uploaded by corada5995

Report
CIS206 – 3.2 – Permissions Security Part 1: What permissions would you set for each folder for the user and for the group, if you want only members of your group to access your directory? Users should only be able to read the folder and nothing else. They can only read the file and cannot do anything else. Users cannot write or execute any of the folders. As per the requirement in the question, only the group members can access its folders then they can read, write, or execute the folders. Part 2: What permissions would you set for each file for the user and for the group, if you want only members of your group to access your files? Users should only be able to read and execute the file and cannot write anything on the file. Only the group members can access the files completely therefore they can read, write, and execute the file. Part 3: Show what it would look like if you did an ls -l on your directories. Ls -l command shows the list of the correct directory. If there is no content or files in the directory, then the Linux prompt will be returned. So, it shows all the members, users, and groups inside the directory.
CIS206 – 3.2 – Permissions Security Part 4: What groups would you have? Who are the members of each group? Two groups will be their named children and parents having members inside them. Members in parents’ group are: Parent1 name and Parent2 name. Children have members: Child1 name Child2 name Child3 name. Part 5: Do the parents need to be members of your children group? Why or why not? What would happen if parents are not members of the children group? Parents should not be a member of the children’s group as each group has the right to privacy. One group member cannot interfere in another group. Parents cannot change or modify any content in the children's group.
CIS206 – 3.2 – Permissions Security Part 6: What commands would you use to create each directory, each group, each file?  Mkdir command is used to create a directory. Mkdir means make directory. It is created by entering a directory name with mkdir command. If the user does not have permission to create a new directory then it will throw an error. Multiple directories can also be created using a single command. groupadd command is used to create a group using the specific values in the command line. Syntax, groupadd[options] group. Options can be -g that means the group ID has a unique numeric value, -o displays the non-unique value of the group's ID etc. The touch command is used to create a file without the content. The file created using touch is empty. Cat command is used to create a file having content in it. Part 7: What commands would you use to create the permissions on each directory and file? While creating a directory, the mkdir command by default assigns the permissions to the user to read, write, and execute it. -m777 is used when all these permissions are granted to the current user. Chmod is used to grant permissions to the files. This command is used in two ways, symbolic and absolute mode.
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
CIS206 – 3.2 – Permissions Security The symbolic mode includes r, w and x. R is read permission, w is for write permission and x is for executing or run the file. Absolute is the numeric mode. In this, a three-digit number is used that is 764. 7 refers to read, write and execute operations. 6 refers to read and write permissions. 4 refers to only read permission. References Eckert, J. (2019). eBook: Linux+ and LPIC-1 Guide to Linux Certification (5th Edition). Cengage Learning US. https://ecpi.vitalsource.com/books/9780357113301