Automated account management

Assignment Help Business Management
Reference no: EM132106743

Part 1: Automated Account Management

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

1. You are to prepare a simple shell script which reads a text file called users.txt. The file is in the form

dfs /home/dfs Daniel Saffioti

and creates these users on the system without any interactive input. 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, home directory and GCOS string are separate by a single white space.

You can assume all users are in the same group. The program should output the username and generated password once created.

2. Management of users is important particularly there removal. Write a shell (.sh) script that takes a single argument being a username, looks fo the account in /etc/passwd, deletes the accounts, and archives there home directory into a tar.gz file. You will receive more marks if you avoid using the standard user management tools.

Part 2: Designing File Systems

You work for the Information Technology Department in your University and you have been asked to build a server to store user data (home directories).

The volumes can grow without bounds, so it was felt that the ZFS file system should be used for each volume. The operating system itself need not be on a ZFS volume.

All volumes including the operating system should be engineered in such a way to ensure the best data protection is afforded in the event of local disk failure. It is expected that no more than 1 hours worth of data will be lost.

The volumes required are as follows:

  • uni0 with mount point /users/ug& quota of 200G.
  • uni1 with mount point /users/pg& quota of 200G.
  • uni2 with mount point /users/deleted& reservation of 100G.
  • uni3 with mount point /users/staff& reservation of 100G.
  • uni4 with mount point /users/guest & reservation of 250G.

Given the above your task is as follows define a strategy for how you will ensure the volumes outlined above are provisioned whilst ensuring there data protection. Document this accordingly along with a suitable rationale for your design.

Part 3:Implementing the Filesystem

Given the strategy defined in part two, your job is to implement the storage system.

1. To do this install the latest version of Ubuntu Server on a virtual machine. You will need to ensure the networking is bridged and the root portioning is managed appropriately. You will need to add additional virtual disks to meet the storage needs above.

2. Install the ZFS package and configure it such that pools of storage are created to meet the above requirements including redundancy and backups. To achieve this use the mirroring and snapshot features of ZFS.

Part 4: Making the File System accessible and roboust

The next step is to create another virtual machine (running the same Linux distribution). You job is to:

1. Mount a NFS exported volume from the server outlined in Part three, on this newly created server.

2. Backup all the data on the ZFS volumes on the server in part three to this new instance. You can either use ZFS or another tool/ technique to do this.

Document the steps taken.

Part 5: File System Management with Scripts

Now that you have a plan for the storage there are a few house keeping matters to take care of because users tend to be somewhat liberal with their storage.

1. Write a script to make sure that user home directories are owned and only accessible by the owner. The script can assume home directories are descendants of /users.

2. Finally write a script which takes as an argument the filesystem name e.g. /home and looks for objects which do not belong i.e. end with the extension

a. mp3

b. aac

c. mp4

d. mov

e. avi

f. vid

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

Reference no: EM132106743

Questions Cloud

Evaluate the control chart and process metrics : Evaluate the control chart and process metrics using Statistical Process Control (SPC) methods.
Contact with client whose house is listed should be : Contact with a client whose house is listed should be:
How do you judge palin quote : How do you judge Palin's quote? ["And who will suffer the most when they ration care? The sick, the elderly, and the disabled, of course.
Research the ethical challenges regarding employees : Research the ethical challenges regarding employees that your chosen organization has faced over the past five to ten years and that they should prepare.
Automated account management : You have been asked by your boss to prepare two shell scripts which manage user information:
How medicaid rolls have erupted under obamacare : Another report published by the Foundation for Government Accountability showcases how Medicaid rolls have erupted under Obamacare and also how individuals.
Highlight the pros and cons to pay for performance : Critics argue that pay for performance results in a physician's unwillingness to treat complicated or difficult cases.
Exclusive-right-of-sale listings may be terminated : Exclusive-right-of-sale listings may be terminated by ALL BUT which of the following?
Assessing organisational change : You will be assessing aspects of an organisational change programme, the approach to organisational change that has been taken, and making recommendations

Reviews

Write a Review

Business Management Questions & Answers

  Why shadow economy a problem for the governments

How shadow economy can affect the GDP in different countries?

  Us government add to retail products

What are the different taxes that the US government add to retail products?

  Create a team charter that includes specific guidance

For Part 1 of this 2-week assignment, create a team charter that includes specific guidance for the operation of and interactions for the model team at WCI.

  Effectiveness in meeting ksa objectives

When looking at a training methods' effectiveness in meeting KSA objectives, the Behavior Modeling is more effective in influencing skills.

  Legal aspects of health care administration

A survey of primary-care doctors conducted in 2009 finds that 42% of the 627 respondents believed the patients in their own practice were getting too much care. Just 6% of doctors believed their patients were getting too little care. (The rest tho..

  Insurance coverage on the state exchanges

Craft a message announcing the change and offering employees the opportunity to meet with benefits representatives who will provide instructions.

  Process impact the outcome of the event

Think about the last event you had to plan for either at work or in your personal life. Did you have a process? How did having or not having a process impact the outcome of the event?

  Customer environment of the pink berry company

Write down a customer environment of the Pink berry Company (around 500 words with references) in this paper, current and potential customers are identified and described.

  What advantages does a cio bring to a business

What advantages does a CIO bring to a business? What might be the disadvantages of having a CIO?

  Provision the disk as parity

You want to use the additional disks for a high-performance data drive. How much space will be available if you provision the disk as parity?

  Illustrate mick consumption choice in a diagram

Illustrate Mick's consumption choice in a diagram with health club usage on the horizontal axis and other recreational activities on the vertical axis.

  Major components of the american legal system

Identify the major components of the American Legal System as it relates to the provision and management of EMS (Emergency Medical Services).

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