Lab Report: 11.2.5 Manage Files
Your Performance
Your Score: 0 of 3 (0%) Pass Status: Not Passed Elapsed Time: 6 seconds Required Score: 100%
Task Summary Actions you were required to perform: In Compress the D:\Graphics folderHide Details
Set the Compressed attribute Apply the changes to all folders and files
In Hide the D:\Finances folder In Set Read-only on filesHide Details
Set read-only on 2017report.xlsx Set read-only on 2018report.xlsx Do not set read-only for the 2019report.xlsx file
Explanation In this lab, your task is to complete the following:
Compress the D:\Graphics folder and all of its contents. Hide the D:\Finances folder. Make the following files Read-only: D:\Finances\2017report.xlsx D:\Finances\2018report.xlsx
Complete this lab as follows:
1. Compress a folder as follows: a. From the taskbar, open File Explorer. b. Maximize the window for easier viewing. c. In the left pane, expand This PC. d. Select Data (D:). e. Right-click Graphics and select Properties. f. On the General tab, select Advanced. g. Select Compress contents to save disk space. h. Click OK. i. Click OK. j. Make sure Apply changes to this folder, subfolders and files is selected. k. Click OK. 2. Hide a folder as follows: a. Right-click Finances and select Properties. b. Select Hidden. c. Click OK. 3. Set files to Read-only as follows: a. Double-click Finances to view its contents. b. Right-click 2017report.xlsx and select Properties. c. Select Read-only. d. Click OK. e. Repeat steps 3b–3d for the 2018report.xlsx file.
Lab Report: 11.2.9 Manage Files and Folders
Your Performance
Your Score: 0 of 4 (0%) Pass Status: Not Passed Elapsed Time: 6 seconds Required Score: 100%
Task Summary Actions you were required to perform: In Create the D:\utilities\recover directory In Delete the D:\software\arch98 directory In Hide filesHide Details
Hide the D:\software\apconf.exe file Hide the D:\cmdstrt.cfg file Hide the D:\strt.bat file
In Make files Read-onlyHide Details
Make the D:\software\softcfg.cfg file read-only Make the D:\software\pixel.cfg file read-only
Explanation In this lab, your task is to use the command prompt to complete the following:
Create the D:\utilities\recover directory. Use the md or mkdir command to create (make) a directory. Delete the D:\software\arch98 directory and all of its files. Use the rd command to delete (remove) a directory. Use the /s switch to remove the directory and all of its contents at once. Hide the following files: D:\software\apconf.exe D:\cmdstrt.cfg D:\strt.bat Set the following files to Read-only by using the attrib command to modify file attributes. Use + followed by the attribute letter (such as H for hidden or R for read-only) and the filename. D:\software\softcfg.cfg D:\software\pixel.cfg
Complete this lab as follows:
1. Create a directory as follows: a. At the command prompt, type d: and press Enter to change the working directory to the D: drive. b. Type dir and press Enter to see the existing contents of the drive. c. Type md d:\utilities\recover and press Enter to create the directory. d. Type dir and press Enter to verify that the d:\utilities folder was created. e. Type cd utilities and press Enter. f. Type dir and press Enter to verify that the recover subfolder was created. 2. Remove a directory as follows: a. Type cd and press Enter to change the working directory back to the root of the hard drive. b. Type rd d:\software\arch98 and press Enter to delete the arch98 directory. c. Type rd /? and press Enter to see a list of switches that can be used with the command. d. Type rd d:\software\arch98 /s and press Enter to delete the directory an all of its contents. e. Type Y and press Enter to confirm the deletion. 3. Set file attributes to hide files as follows: a. Type attrib /? and press Enter to see the syntax for using the command. b. Type attrib +H d:\software\apconf.exe and press Enter. c. Type attrib d:\software\apconf.exe and press Enter to verify that file attribute was set. d. Repeat step 3b to set hide additional files. 4. Set file attributes to Read-only as follows: a. Type attrib +R d:\software\softcfg.cfg and press Enter to set the file to Read-only. b. Type attrib d:\software\softcfg.cfg and press Enter to verify that file attribute was set. c. Repeat step 4a to set additional files to Read-only. Lab Report: 11.3.4 Configure NTFS Permissions
Your Performance
Your Score: 0 of 2 (0%) Pass Status: Not Passed Elapsed Time: 8 seconds Required Score: 100%
Task Summary Actions you were required to perform: In Edit permissions for the D:\Day Data folderHide Details
Turn off permission inheritance for the folder Convert existing permissions Remove Users Group Add the DayGroup group to the access control list Assign DayGroup Allow Full Control permissions
In Edit permissions for the D:\Night Data folderHide Details
Turn off permission inheritance for the folder Convert existing permissions Remove Users Group Add the NightGroup group to the access control list Assign NightGroup Allow Full Control permissions
Explanation In this lab, your task is to edit the NTFS permissions for the D:\Day Data and D:\Night Data folders.
Turn off permissions inheritance, converting the existing permissions as explicit permissions. Remove the Users group from the ACL of each folder. Add the appropriate group to the folder ACL. Assign Full Control over each folder to the appropriate group. Do not change any other permissions assigned to other users or groups.
Complete this lab as follows:
1. Turn off permissions inheritance as follows: a. From the taskbar, open File Explorer. b. Maximize the window for easier viewing. c. Select This PC. d. Select Data (D:). e. Right-click the folder whose permissions you want to modify and select Properties. f. Select the Security tab. g. Select Advanced. h. Select Disable inheritance. i. Select Convert inherited permissions into explicit permissions on this object. 2. Remove the Users group from the ACL of each folder as follows: a. Select Users. b. Select Remove. c. Click OK. 3. Add the appropriate group to the folder ACL as follows: a. Select Edit. b. Select Add. c. Enter the name of the group you want to add. d. Click OK. 4. Assign Full Control over each folder to the appropriate group as follows: a. With the group highlighted, select Full Control under the Allow column. b. Click OK. c. Click OK. 5. Repeat steps 1e–4 to modify the permissions for additional folders. Lab Report: 11.4.6 Share and Secure Folders
Your Performance
Your Score: 0 of 4 (0%) Pass Status: Not Passed Elapsed Time: 7 seconds Required Score: 100%
Task Summary Actions you were required to perform: In Share the D:\Finances folder In Configure NTFS permissions for D:\FinancesHide Details
Remove inherited permissions Convert existing permissions for Administrators Convert existing permissions for CREATOR OWNER Convert existing permissions for SYSTEM Add Emily Perry to the access control list Grant Emily Perry Allow Full Control permissions Remove the Users group from the access control list
In Share the D:\Graphics folder In Configure NTFS permissions for D:\GraphicsHide Details
Allow inherited permissions Add Sam Johnson to the access control list Give Sam Johnson Allow Modify permissions
Explanation In this lab, your task is to share the folders and configure both share and NTFS permissions to control access as follows:
For the D:\Finances folder, the Emily Perry user account should have all permissions to the shared folder. No other users should be allowed access (either over the network or locally). For the D:\Graphics folder, all users should be able to view and open files in the shared folder. The Sam Johnson user account should be able to edit, save, and delete files in the folder.
Share both folders and configure permissions as follows:
Share Folder NTFS permissions Permissions
Remove inherited permissions, converting existing permissions.
Remove the Users group from the access control list to prevent all users Everyone D:\Finances from having access. Read/Write
Add the Emily Perry user account and grant Allow Full Control permissions.
Do not modify inherited permissions (this gives all users Read access). Everyone D:\Graphics Read/Write Add the Sam Johnson user account and grant Allow Modify permissions. Complete this lab as follows:
1. Share a folder as follows: a. On the taskbar, open File Explorer. b. Expand This PC. c. Select Data (D:). d. Right-click the folder you want to share and select Give access to > Specific people. e. From the drop-down list, select Find people. f. Under Enter the object names to select, enter name of the user to allow access. g. Select OK. h. Under Permission Level, select the Read/Write permissions to grant to the user or group. i. Select Share. j. Click Done. k. Repeat steps 1d–1j to share additional folders as required. 2. Verify share permissions as follows: a. Right-click the folder and select Properties. b. Select the Sharing tab. c. Select Advanced Sharing. d. Select Permissions. e. Make sure Everyone is granted Full Control to the share. f. Click OK to close the Permissions dialog. g. Click OK to close the Advanced Sharing dialog. h. Click OK to close the folder properties dialog. i. Repeat step 2 for additional folders. 3. Configure NTFS permissions for D:\Finances as follows: a. Right-click Finances and select Properties. b. Select the Security tab. c. Select Advanced to modify inherited permissions. d. Select Disable inheritance. e. Select Convert inherited permissions into explicit permissions on this object to prevent inherited permissions. f. Select the Users group. g. Select Remove to remove a group from the access control list. h. Click OK. i. Click OK. 4. Configure NTFS permissions for D:\Graphics as follows: a. Right-click Graphics and select Properties. b. Select the Security tab. c. Select Users. d. Make sure the Users group has Read access to the folder. e. Select Sam Johnson. Sam Johnson has Full Control but should only have Modify. f. Select Edit. g. Select Sam Johnson. h. Unmark Full Control. i. Click OK. j. Click OK. Lab Report: 11.5.6 Manage the Linux File System
Your Performance
Your Score: 0 of 6 (0%) Pass Status: Not Passed Elapsed Time: 11 seconds Required Score: 100%
Task Summary Actions you were required to perform: In Set the permissions for /salesHide Details
Add the read other permission Add the execute other permission
In Add the read other permission for /sales/contacts In Add the read other permission for /sales/goals In Add the read other permission for /sales/orders In Add the read other permission for /sales/products In Add the read other permission for /sales/stats Explanation In this lab, your task is to complete the following:
Allow the other group to browse the /sales directory. Modify permissions on all files in the /sales directory to allow members of the other group to view the file, but prohibit them from making changes to it.
Complete this lab as follows:
1. At the command prompt, type chmod o+rx /sales and press Enter to enable the other group to browse the /sales directory. The read and execute permissions are necessary to see the directory and list its contents. 2. Type chmod o+r /sales/* and press Enter to allow the other group to read all documents in the /sales directory. Lab Report: 11.5.7 Manage Linux File Ownership
Your Performance
Your Score: 0 of 1 (0%) Pass Status: Not Passed Elapsed Time: 6 seconds Required Score: 100%
Task Summary Actions you were required to perform: In Make bcassini the owner of the /hr/payroll file Explanation In this lab, your task is to give the bcassini user ownership of the /hr/payroll file.
Complete this lab as follows:
1. At the prompt, type chown bcassini /hr/payroll and press Enter to give bcassini ownership of the /hr/payroll file. 2. Type ls -l /hr and press Enter to verify the change in ownership.