Implement the storage system

Assignment Help Other Subject
Reference no: EM132363399 , Length: 20 pages

Section A: File system and Scripting

Provided that your virtualization software allows for USB device pass-through, connect a USB flash memory drive to your system.

Use the appropriate commands to locate the device file used by the device, mount the filesystem to a directory of your choice, and check the filesystem for errors.

Finally, add a line to /etc/fstab to ensure that the filesystem can be easily mounted in the future (this line should not automount the filesystem at boot time).

You have several filesystems on your hard disk that are mounted to separate directories on the Linux directory tree. The /dev/sdc6 filesystem was unable to be mounted at boot time.

What could have caused this?

What commands could you use to find more information about the nature of the problem?

Section B: Account Management

You have been asked by your boss to prepare two shell scripts, which manage user information:

You are to prepare a simple shell script, which reads a text file called newusers.txt. The file is in the form
John student /home/John John Smith
Jamesstudent /home/James JamesJackson
brett staff /home/brett Brett Walker
graystaff /home/grayGray Buck
and creates these users on the system without any interactive input by run script one time only. To do this you will need to use the adduser(1) and passwd(1) commands. You will need to randomly produce the password and report this to the administrator.

You can assume the fields being username, group, home directory and GCOS string are separated by a double white space.

The program should output the username, group, home directory, and generated password once created.

Management of users is important particularly an account to change the password in every 60 days. Write a shell NameStudent (.sh) script that takes a single argument being a username, looks for the account in /etc/passwd, force the accounts above to change their password in every 60 days, and archives their home directory into a systemdate.tar.gz file. Your script must validate password strength before changing the password.

The script should also show a summary of the users usage in their home account. You will receive more marks if you avoid using the standard user management tools. systemdate should be MM/DD/YY-HH:MM:SS at the time of the script run.

Section C: Practical File Systems

Create a user "StudentSirName201960" and in their home directory create the files with the following permissions.

• A file called "test.txt", with contents "This is a test file", includes your name and student number as well. Ensure you create the file with read and write permissions for owner, group and other, but no execute permissions.

• A file called "runme.sh" that runs a simple script of your choosing, with read and execute permissions for group and other, and full read, write and execute permissions for the owner. You can make the script echo something to the user.

• A hidden file called ".test_config", owned by root with contents "This is a test config file", that has root read, write and execute permissions only, no other permissions set.

• A symbolic link with an absolute path to a system log file of your choosing.

• A directory called "test_dir" with the owner having full permissions to create, rename or delete files in the directory, list files and enter the directory. Group and other having permissions to only list files and enter the directory and access files within it.

Section D: File System Management with Scripts

Write a script to make sure that user home directories and files are owned and only accessible by the owner. The script should be run by root only.

The script must take an argument as a file type. Based on the argument, then search for all files located in the user home directory. If the file is found, then create a directory in the Desktop called StudentName_StudentID and copy all the found files into this directory.

When these files are found a summary should be produced including where they are and the size.

Section E: Implementing the Filesystem

In this task, your job is to implement the storage system. A Samba file server enables file sharing across different operating systems over a network. It lets you access your desktop files from a laptop and share files with Windows and macOS users.

To do this install the latest version of Ubuntu Server and Desktop on a virtual machine. Install the Samba package and configure Samba user and set the password for the user for file sharing.

Reference no: EM132363399

Questions Cloud

Review a range of information system applications : Review a range of information system applications - Interpret and construct representations of business data flow and processes
Discuss analysis and crime investigative methods : Discuss analysis and crime investigative methods that may be used identifying gangs and/or gang activities.
Offenders are ideal candidates for these types of treatments : How should offenders and treatment needs be determined and classified? What types of offenders are ideal candidates for these types of treatments?
How you visualise your perfect graduate position : MNG03236 Business Professional Development Assignment, Southern Cross University, Australia. How you visualise your perfect graduate position
Implement the storage system : File Systems and Advanced Scripting - Implement the storage system. A Samba file server enables file sharing across different operating systems over a network.
Contrast the role and function of the federal court system : In your initial response, compare and contrast the role and function of the federal court system with the individual state court systems.
Utilizing standard legal notation and hyperlink to statute : Federal and one state statute utilizing standard legal notation and a hyperlink to each statute.
Discuss the community policing philosophy : Cmrj302 - Community policing is philosophy that promotes organizational strategies that support systematic use of partnerships and problem-solving techniques
Engaged in horrifying acts of mass violence aimed : In the last several decades, people motivated by different ideological beliefs and individual factors have engaged in horrifying acts of mass violence aimed

Reviews

Write a Review

Other Subject Questions & Answers

  Major reasons for increase in number of crime laboratories

List and explain the four major reasons for the increase in the number of crime laboratories in the United States since the 1960s.

  Describe the culture before the company changed its culture

Choose a company that values organization culture. Describe what the company did to make its culture better overall, not just a better place to work.

  Analyze the main types of federalism

Analyze the main types of federalism. Debate two to three (2-3) advantages and two to three (2-3) disadvantages of federalism as it relates to intergovernmental relations. Provide a rationale to support your response

  What ways do you do gender appropriately

In other words, what we know as masculinity is a set of qualities that we expect to find in a typical man and femininity a set of qualities we expect to find in a typical woman.

  What are the ethical issues

Please answer each questions very thoroughly. Check for spelling, grammar, and sentence structure before submitting.

  Disorders that are characterized by problems with sexual

For a paraphilic disorder to be diagnosed per the DSM-5, the presence of paraphilia must also include personal distress or impairment.

  Describe how you integrate the concepts of wellness

Counseling philosophy: As a counselor-in-training, describe how you integrate the concepts of wellness, resilience, and prevention into your approach.

  Which do you believe is more appropriate in a democracy

Some elected officials lean more heavily on their own judgment rather than popular sentiment. Which do you believe is more appropriate in a democracy?

  Positive and perhaps counterproductive

How can an ethnic identity be both positive and perhaps counterproductive? Give a detailed example. (100 words or more)

  Summary of children of the mountains

Often times we think we all have equal chances in life and that we are individually responsible for everything that happens to us. Think about your lives

  Discuss the role the psychological profile of the offenders

Discuss the role the psychological profile of the offender(s) and the victim(s) had on the presentation of evidence in court by the prosecution.

  Based on the readings in psychology as well as your own

regarding your own personality functioning provide an example of how your own id ego and superego might all work

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd