Practical File Systems - File system and Scripting - Account Management Assessment Answer

Download Solution Now
  • Internal Code :

    1BABCH

  • Country :

    Australia

Assignment Task

Section A
File system and Scripting

1. Provided that your virtualization software allows for USB device pass-through, connect a USB flash memory drive to your system. 
2. 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.
3. 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).
4. 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.
5. What could have caused this?
6. 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.

Section C
Practical File Systems

  • 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 and 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.

This Computer Science Assessment has been solved by our Computer Science experts at TVAssignmentHelp. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

  • Uploaded By : Keith
  • Posted on : September 04th, 2018
  • Downloads : 1

Download Solution Now

Review Question

Please enter your email

Can't find what you're looking for?

Choose a Plan

Premium

40 USD

  • All in Gold, plus:
  • 30-minute live one-to-one session with an expert
    • Understanding Marking Rubric
    • Understanding task requirements
    • Structuring & Formatting
    • Referencing & Citing
Most
Popular

Gold

20 15 USD

  • Get the Full Used Solution
    (Solution is already submitted and 100% plagiarised.
    Can only be used for reference purposes)
Save 25%

Silver

10 USD

  • Journals
  • Peer-Reviewed Articles
  • Books
  • Various other Data Sources – ProQuest, Informit, Scopus, Academic Search Complete, EBSCO, Exerpta Medica Database, and more