ITIS 3110 LAB 02 Scripts I. Lab IDs Your Lab ID is the same as your 49er ID The PW is different: a + your 800 id a800123456 Note: sometimes the a is not.

Slides:



Advertisements
Similar presentations
Debugging ACL Scripts.
Advertisements

Testing Relational Database
AS ICT Finding your way round MS-Access The Home Ribbon This ribbon is automatically displayed when MS-Access is started and when existing tables.
P5, M1, D1.
Tutorial 8: Developing an Excel Application
Online STUDENT PORTAL - TURNITIN Student Manual Ver 1 LSC GROUP OF COLLEGES Belgrade IT Department 2011 LSC GROUP OF COLLEGES Belgrade IT Department 2011.
Using…. EasyCBM Reasons to use EasyCBM
A Guide to Unix Using Linux Fourth Edition
Guide To UNIX Using Linux Third Edition
Guide To UNIX Using Linux Third Edition
Introduction to Unix (CA263) Introduction to Shell Script Programming By Tariq Ibn Aziz.
Linux & Shell Scripting Small Group Lecture 4 How to Learn to Code Workshop group/ Erin.
MBAC 611.  We have been using MS Access to query and modify our databases.  MS Access provides a GUI (Graphical User Interface) that hides much of the.
Christopher Guertin VAMC – West Palm Beach, FL 1.
How To Batch Register Your Students
Installation Process: Step 1 Step1: Login in to Unix Host name or IP address type in douglass User name type in user name Password type in user password.
Chapter Seven Advanced Shell Programming. 2 Lesson A Developing a Fully Featured Program.
Prepare Your Academy for 2013
Panorama High School E.G.P./ Training to Put Students’ Grades on the Website Wednesday, September 29,
Visual Basic Chapter 1 Mr. Wangler.
Advanced Shell Programming. 2 Objectives Use techniques to ensure a script is employing the correct shell Set the default shell Configure Bash login and.
IPAD Set Up. Gmail Account First, you need to set up a free gmail account with your name. If you have an existing one you may use that as long as: – A)
The FP7 How to submit a project electronically AN INFORMATION POINT FOR FP7 IN PALESTINE: Training Seminar of experts Nicosia, Cyprus November.
Introduction to Shell Script Programming
Encoding, Validation and Verification Chapter 1. Introduction This presentation covers the following: – Data encoding – Data validation – Data verification.
How to Create Shapefiles For NiJel Using QGIS: Before you start creating shapefiles make sure you have OpenOffice install, QGIS, and File Transfer Protocol.
Online Reporting Guide
Getting Started with:. Registering for Pearson MasteringNutrition is easy! Go to the home page to get started
Creating a Web Site to Gather Data and Conduct Research.
State of Kansas INF50 Excel Voucher Upload Statewide Management, Accounting and Reporting Tool The following Desk Aid instructs users on overall functionality.
General Programming Introduction to Computing Science and Programming I.
PHP meets MySQL.
Blackboard Connect 5 Training Session Presented by: Rebecca Castañeda, Director for Federal Programs August 13, 2015.
Plan Design Analyze Develop Test Implement Maintain Systems Development Life Cycle MAT Dirtbikes.
Just as there are many human languages, there are many computer programming languages that can be used to develop software. Some are named after people,
Basic & Advanced Reporting in TIMSNT ** Part Two **
WIKI, WIKI, WIKI! Using a Wiki for Collaborative Classroom Conversations Created by Betsy Hood, WGTE.
Team # 2 Members: Sowmya Krishnaswamy Hakan Terzioglu Manu Mehan Jerome Tunaya.
ITIS 3110 LAB 7 Scripts. Final Projects Due today! Team captains need to wait for feedback Will review immediately after lecture done.
Physics Exercise Generation and Simulation Interface Welcome! Login as Student Login as Instructor Register as Instructor Register as Student.
Lab 10 Overview DNS. DNS name server Set up a local domain name server . is the root domain .lab is the WH302 lab’s TLD (top level domain)  hades.lab.
Getting Started Introduction Section 0 Lecture 1 Slide 1 Section 0 Slide 1 INTRODUCTION TO Modern Physics PHYX 2710 Fall 2004 Intermediate Lab Fall.
Manually Creating a New User Account Presented by Carl South.
PC131/PC151 MECHANICS Dr. Brian West Enrolling in WebAssign (complete this by Sept 26) note: the screencaps on the following slides are from fall 2009…they.
Generators 101 Form Mail LAMP Bubbles & Blanks End of Course Surveys Form Mail LAMP Bubbles & Blanks End of Course Surveys.
ASSIGNMENT POINTS DUE DATE: Monday NOV 30 JAVASCRIPT, INPUT VALIDATION, REGEX See 2 nd slide for Form See 3 rd next slide for the required features.
Lab 8 Overview Apache Web Server. SCRIPTS Linux Tricks.
PHP Form Processing * referenced from
ITIS  Today’s Notes  NFS in the lab  Lecture: ▪ Linux II ▪ vi  Lab 2.
This was written with the assumption that workbooks would be added. Even if these are not introduced until later, the same basic ideas apply Hopefully.
Text2PTO: Modernizing Patent Application Filing A Proposal for Submitting Text Applications to the USPTO.
To create text styles click on Home >> Tab under Change Styles
Software Development Languages and Environments. Computer Languages Just as there are many human languages, there are many computer programming languages.
DEVRY CIS 170 C I L AB 2 OF 7 D ECISIONS Check this A+ tutorial guideline at decisions For.
Adding Students in EbD-BUZZ
Development Environment
Blackboard Connect 5 Training Session
Introduction to Computing Science and Programming I
Financial Aid From the Student’s Perspective
Department of Computer Engineering
The University of Delaware Higher Education Consortia
UNIX System Overview.
Lab 10 Overview DNS.
What is Bash Shell Scripting?
Adding Students in EbD-BUZZ
Informational PDF #5 How to Prepare Your Precoding File and Upload it into the Portal System.
Uploading Data in the Staff Interchange
CSCE 206 Lab Structured Programming in C
CFR Enhancement Session
The Taxidermy Studio of Alfred Giles
Presentation transcript:

ITIS 3110 LAB 02 Scripts I

Lab IDs Your Lab ID is the same as your 49er ID The PW is different: a + your 800 id a Note: sometimes the a is not required Change the password ASAP passwd Follow the instructions

Scripts I and II Two parts to this lab: Scripts I (due next week) Entering simple scripts Testing Documenting Simple modifications on some Scripts II (last half of semester) Writing your own Major improvements to addpermplus Create new accounts

Make life easy hint: Start writing your own scripts to make running and maintenance of your VMs easier Example Create two network interfaces templates One for DHCP One for a specific address Write a script to: Stop the network Copy a template to replace the current interfaces record Start the network Once written and debugged changing configurations will be a quick error free task

Scripts II Suggest: Review Scripts I and II requirements Complete Scripts I this lab period Between Scripts I and II: Review what the individual exercises showed in Scripts I Review the requirements for the two Scripts II parts Many of the mini-scripts in Scripts I can be used in Scripts II Have the code ready to type in Scripts II

SCRIPTS I HINTS Stage 1

Scripts Read the instructions carefully! If you type in the examples verbatim many of them WILL NOT work! Understand and follow the steps in “Getting Started” or you will suffer pain doing the lab. Many of the scripts in the exercise can be use for parts of Scripts II Scan what is needed for Scripts II Keep those requirements in mind as you do Scripts I Note what you may reuse or modify to do Scripts II

Deliverables Scripts I Documentation showing working and non-working scripts as appropriate Show code being tested and the results Important: Show incorrect data is properly rejected (if appropriate) E.g. wrong length PWs Show correct data accepted (as appropriate) Copy of the Lab with comments (optional) What worked Typos Comments on what was instructional and what wasn't and why Estimate of amount of time spent on lab Upload to Moodle.doc file

Warning MS Office has decided it doesn’t like spaces Some of the spaces between words has been eliminated Most (hope all) have been replaced Most occurred between font style changes Let the instructor know if you find a missing one

SCRIPTS II HINTS

Improve addpermplus.sh 1 st parm must be only u, g, o, or a 2 nd parm must be only r, w, or x 3 rd parm must be a valid name You decide what are your requirements for a valid name: size characters anything else Document your choice Why these requirements Test and document it's working Show proper passes & rejections

Create new accounts Source for the new IDs will be an Excel file Contains firstname and lastname Convert (save) Excel.xls .csv file Read the csv file to generate usernames Up to first 6 character of lastname  last 2 characters of firstname  first Concatenate last + first for the username Create an account for each user Home directory Assign a random pw Your choice for length (but at least 6 chars) Your choice for chars (but at least 1 alpha and 1 numeric) Record the pw somewhere so it can be sent to the user Recommend creating a new.csv file with the first name, last name, user name and pw Can be viewed with a text reader or spreadsheet Force new PW when 1 st login

Random Password Use Google to find simple script If you have openssh installed it is a simple one-liner

Deliverables Scripts II Document results of running the code Before After Estimate of amount of time spent on lab Upload to Moodle.doc file for report Enhanced addpermplus code New accounts code You might not get this lab back Since this is the second time for this lab it may be liberally graded

Last hints sh Bourne shell bash Bourne again (bash) shell The systax between them is very similar Some script code will work in either Some script code will work differently depending on the shell Make sure you are running the right shell when you script is executed

GET STARTED