Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

HELP IN UNIX! Create a script file to generate the username and initial password for a list of students from registrars office (the text file

HELP IN UNIX! Create a script file to generate the username and initial password for a list of students from registrars office (the text file is below). Your script file will process the student list file as input, and generates the output to be used by newusers command.

Specifications: The script file needs to meet the following requirements:

(1)The input file name is accepted as a command line argument;

(2)The user name isthe same as his/her email account in the first columnin the input file, except that it needs to be in lowercase;

(3)The initial password is SRUR0cks! (no quotes) for all the users;

(4)Your script file shows the output onthe screen;

(5)The output containsone line for each user. The format of each line is username:SRUR0cks!

O F F I C I A L C L A S S L I S T 1ST SEMESTER 2007-08 REGISTRAR'S OFFICE 12/24/07 PAGE 280 INSTRUCTOR..ZHOU, HONGBO PLACE.. ATS 224 hongbo.zhou@sru.edu SYS SOFTWARE&ARC CPSC 14 207 01 TIME. 2 MWF 3 SEM HRS 12 STUDENTS ENROLLED IN THIS SECTION. E-mail@ Soc.Sec.No. *--------Name-----------* Class *School.Curriculum.Major.* Campus.Phone JCC2380 XXX-XX-XXXX CAREY, JULIE C JR-II BISS CPSC BS INFO TECH 412/779-9445 JAC1936 XXX-XX-XXXX CONSOLMAGNO, JOE A. SO-I BISS CPSC BS INFO TECH 412/833-7993 ACC4636 XXX-XX-XXXX CURRIE, ADAM C. JR-II BISS CPSC BS COMP SCI 724/657-0437 SPF1696 XXX-XX-XXXX FARLEY, SEAN P. JR-I BISS CPSC BS COMP SCI 814/236-2398 SEK8835 XXX-XX-XXXX KELLEY, SHAWN E. FR-II BISS CPSC BS COMP SCI 724/406-7149 MCK0599 XXX-XX-XXXX KOMISIN, MICHAEL C. JR-I BISS CPSC BS COMP SCI 000/000-0000 GJM1887 XXX-XX-XXXX MACK, GREGORY J. SO-II BISS CPSC BS INFO TECH 724/735-4354 NGM5479 XXX-XX-XXXX MCINTIRE, NICHOLAS G JR-I BISS CPSC BS INFO TECH 724/794-8268 ZTP7190 XXX-XX-XXXX PETAK, ZACHARY T. FR-II BISS CPSC BS INFO TECH 724/406-1298 AXS9097 XXX-XX-XXXX SAUNDERS, ALEXANDER SO-I BISS CPSC BS INFO TECH 724/334-0313 RJS6624 XXX-XX-XXXX SNYDER, ROBERT J. SO-II BISS CPSC BS COMP SCI 814/328-2021 MWS1990 XXX-XX-XXXX STASNY, MATTHEW W SO-II BISS CPSC BS INFO TECH 412/882-0581 

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

Step: 3

blur-text-image

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

Build It For The Real World A Database Workbook

Authors: Wilson, Susan, Hoferek, Mary J.

1st Edition

0073197599, 9780073197593

More Books

Students also viewed these Databases questions

Question

Evaluate employees readiness for training. page 275

Answered: 1 week ago