Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment We need the following information from two files, /etc/passwd and /var/log/boot.log saved in a file called /tmp/system.info.2 Who is the owner? in the format:

Assignment

  1. We need the following information from two files, /etc/passwd and /var/log/boot.log saved in a file called /tmp/system.info.2

  • Who is the owner? in the format:

    OWNER::
  • Permissions of the files in an octal mode in the format:

    PERMISSIONS::
  • Date and time of the creation of the file in the format:

    DATE::
  • The inode number in the format:

    INODE::
  1. Create the following folder structure in your system under /opt:

 opt   system1/    bin/    logs/   system2/    flags/   system3/
  1. Make sure all the system<1-3> folders are owned by the root user

  2. Make sure the rest of the folders are owned by your personal account

  3. Create a file named system1.info in the directory /opt/system1/logs/and make sure the permissions are set as follows:

    • the owner can read, write and execute

    • the group can read and write

    • others can only read.

  4. Create a soft link called system1_link under the directory /root that points to the file created in the previous task.

  5. Finally, create an archive of the entire structure and compress it saving it in the /home directory with the name `my_backup.tar.gz`

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_2

Step: 3

blur-text-image_3

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

Principles Of Database Systems With Internet And Java Applications

Authors: Greg Riccardi

1st Edition

020161247X, 978-0201612479

Students also viewed these Databases questions

Question

Did the team members feel that their work mattered

Answered: 1 week ago

Question

3. What may be the goal of the team?

Answered: 1 week ago