Linux Shell Scripting Assignment

Assignment Help Programming Languages
Reference no: EM132495942

Linux Shell Scripting Assignment - Shell Scripting and Automated Account Management

One of the difficult tasks that Linux administrators face is to manage users or new employees. The difficulty can be to add deletion and change user attributes. In this task, your job is to write a shell script that performs the following tasks:

a. the script must accept first, last or middle names,

b. the script must be able to assign a new user to a group of student (if the group does not exist, the script must create user group),

c. based on the first name and last name, the script should generate a unique username with a length of 6 characters,

d. the script must check if the username is not exist bore added,

e. generate a complex password for the new user,

f. based on username scripts generate an email within the [email protected] domain,

g. the scripts must be written in a Sentinel loop,

h. display username, password, and email in a tabular format.

Note - One complete shell script for all the above task.

Reference no: EM132495942

Questions Cloud

Is relevant to the climate today : Contextualize the current state of politics and sport at this moment through a comparison of what is presented in the passage and what you see now
Discuss the physical and social reasons athletes take drugs : Discuss the physical, psychological, and social reasons athletes take drugs. What are four strategies that sport and exercise professionals can use to prevent.
SWK278 Ethical Practice for the Helping Professions : SWK278 Ethical Practice for the Helping Professions Assignment help and solution, University of the Sunshine Coast - assessment writing service
Implementing positive psychology into the schools : What are the advantages of implementing positive psychology into the schools?
Linux Shell Scripting Assignment : Linux Shell Scripting Assignment - Shell Scripting and Automated Account Management. Write a shell script that performs the tasks
What is the definition of a good counselor : Who are the key members that make up the clinical team? What are the different roles and skills that they bring to the table in helping a client?
What types of treatment are used in addition to medication : Choose one of the following disorders and write a 5 page paper about how it is diagnosed, what medications, if any, are generally used to treat the disorder.
Discuss three demographic or psychological correlates : What American values or principles might help us to understand how someone might hold negative attitudes toward gay people while supporting
What is the need to belong theory : What is the "need to belong theory" and how does it explain some of our own social interactions throughout our life, and/or goals that we set for ourselves.

Reviews

Write a Review

Programming Languages Questions & Answers

  Describe object-oriented databases.

Describe the database planning and development process. What steps are involved, and what tools may be appropriate or helpful?

  Model of Initial LEU Core

Propose group 1 and 2 work independently on the model of Initial LEU Core (M-1-3) shown in slide 20 of the demo0 presentation

  How to generate numbers distributed with the Gaussian PDF

The problem is then how to generate numbers distributed with the Gaussian PDF based on rand(), and how to check that what you generate in Gaussian distributed

  Can explain procedural language in clearly and simply?

Can explain procedural language in clearly and simply? And compare other object-oriented programming, functional programming, logic programming and imperative programming.

  Write a main method to test your max method

Write a main() method to test your max method. It should input three values, call your max method, and then print the three values and returned max value as output, eg:

  Write an mdi project that is a simple text editor

Write an MDI project that is a simple text editor. Allow the user to open multiple documents, each in a separate child form. For the text editor, use one big textbox control with its multiline property set to True or a Rich-TextBox control.

  Determine the purpose of using javascriptr on a website

write a 200- to 300-word short-answer response to the followingwhat is the purpose of using javascriptr on a website?

  Define a dfa which will give the output various tokens

This problem is designed to show you how DFA and PDA are used in Compilers - Writing a program for PDA - We need to define a DFA which will give the output various tokens.

  What mistakes did the designer make when designing it

What won't users be able to do with this file, given the way in which it's designed?

  Write procedure to scan string for first occurrence

Write procedure called Str_nextword to scan string for first occurrence of a certain delimiter character and replaces the delimiter with a null byte.

  Write a code that uses national data on relative frequency

Write a code that uses National Data on the relative frequency of given names in the population of U.S. births, stored in a directory names.

  Procedure just prints out the number 10 and returns

Your program will have three procedures. The main procedure (with the asm_main label), will sign on and them call a menu procedure that displays a two line menu:

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