Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Instructions: Complete the following exercises. Enter your answers in this document. Upload this lab report with answers in Brightspace on or before the due date

Instructions: Complete the following exercises. Enter your answers in this document. Upload this lab report with answers in Brightspace on or before the due date and time. Paste a screen capture for each command. Do not take a screenshot of the entire screen. Take the screenshot of the command and the output of the command, as shown below.
Or
NOT
Overview: This practical lab is based on activity covering areas of Linux throughout the semester. Read each section carefully and thoroughly before executing the tasks within the section. Remember, you have access to any book(s), self-prepared notes, the internet, and the system's help, man, and info pages. While you have access to the Internet you must use the commands used in class to receive credit for the section.
** This project is to be completed independently without assistance from anybody. You have 1 hour and 30 minutes to complete the lab.
Section 0: Preparation
1. Open Assisted Lab: Configure Remote Administration in CertMaster
Section 1: Create user accounts
1. Create a user named user1 and set the password to Pa$$w0rd.
2. Create a user named user2 and set the password to Pa$$w0rd.
3. Take a screenshot showing the user accounts were created and the passwords were set.
Hint: Use the tail command.
Note: One command (not multiple commands) is needed to show that all the users were added and their passwords were set. are added. Points will be taken off if multiple screenshots are shown.
[Paste Screenshot here]
Section 2: Edit user account attributes
1. Clear the screen.
2. Change the comment field for user1 to read: User1.
3. Verify that you changed the comment field for user1.
Hint: Use the tail or grep command.
[Paste Screenshot here]
Section 3: Group Accounts
1. Clear the screen.
2. Create the engineering group with a numeric group ID of 8000
3. Create the operations group with a numeric group ID of 8001
4. Display the groups you created.
Hint: Use the tail command.
[Paste Screenshot here]
Section 4: Add Users to Groups
1. Clear the screen.
2. Add user1 to the engineering group.
3. Add user2 to the operations group.
4. Display both users and their group memberships.
Hint: Use the tail command.
[Paste Screenshot here]
Section 5: Directory Management
1. Clear the screen.
2. Create a directory named Final
[Paste Screenshot here]
Section 6: Create and file content
1. Clear the screen.
2. Using redirection, create a file called file1 with the following content. This is a test file.
3. Display the redirection command and the contents of file1.
[Paste Screenshot here]
4. Create a file called fileA.
5. Create a file called fileB
6. Verify both files were created.
[Paste Screenshot here]
7. Create a file named link-file.txt in the Final directory.
8. Create a soft (symbolic) link so that the file softlink.txt points to the file link-file.txt.
9. Create a hard link so that the file hardlink.txt will point to the same data as link-file.txt.
10. Verify both soft and hard links were created.
[Paste Screenshot here]
Section 7: Permissions
1. Clear the screen.
2. View the permissions for the Final directory, not the contents of the directory.
Hint: check the man page for the options.
[Paste Screenshot here]
3. View the permissions for all files in the Final directory
[Paste Screenshot here]
4. Clear the screen.
5. View the permissions for the passwd file
[Paste Screenshot here]
6. Clear the screen.
7. Display the current umask settings.
[Paste Screenshot here]
8. Clear the screen.
9. Display the permissions on file1.
[Paste Screenshot here]
10. Change permission on file1 to set read, write, and execute for the user, read and write for the group, and no access for others. (rwxrw----)
12. Display the permissions for file1.
[Paste Screenshot here]
Section 8: Networking
1. Clear the screen.
2. Display the hostname.
[Paste Screenshot here]
3. Clear the screen.
4. Find the name of your ethernet NIC and display the IP address. Hint: it has a private address
[Paste Screenshot here]
5. Clear the screen.
6. Display the default gateways IP address.
[Paste Screenshot here]
7. Use the space below to record the following for your Ethernet adapter.
1. Ethernet Device Name: __________
2. IP Address: __________
3. Gateway Address (brd): __________
8. Display the MAC addresses of your network interfaces and redirect them to mac_address.txt.
9. Clear the screen.
10. Display the mac_address.txt
[Paste Screenshot here]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Databases On The Web Learn To Create Web Pages That Interface With Database Engines

Authors: Robert Papaj, Donald Burleson

11th Edition

1576100995, 978-1576100998

More Books

Students also viewed these Databases questions

Question

Explain the pages in white the expert taxes

Answered: 1 week ago