Question: Lab 3 . 1 1 . Log in as user student and use sudo - i to open a root shell. In the home directory

Lab 3.1
1. Log in as user student and use sudo -i to open a root shell. In the home directory of root,
create one archive file that contains the contents of the /home directory and the /etc directory.
Use the name/root/essentials.tar for the archive file.
2. Copy this archive to the /tmp directory. Also create a hard link to this file in the / directory.
3. Rename the file /essentials.tar to /archive.tar.
4. Create a symbolic link in the home directory of the user root that refers to /archive.tar. Use the
name link.tar for the symbolic link.
5. Remove the file /archive.tar and see what happened to the symbolic link. Remove the symbolic
link also.
6. Compress the /root/essentials.tar file.
 Lab 3.1 1. Log in as user student and use sudo

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!