Download presentation
Presentation is loading. Please wait.
Published byBerenice Greer Modified over 9 years ago
1
ITIS 3110 LAB 7 Scripts
2
Final Projects Due today! Team captains need to wait for feedback Will review immediately after lecture done
3
Lab 2 and 7 Second part of lab 2: Lab 2 Entering simple scripts Testing Documenting Simple modifications on some Lab 7 Writing your own Major improvements to addpermplus Create new accounts
4
LAB 7 HINTS
5
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 a valid name consists of size characters anything else Document your choice Test and document it's working Show proper rejections
6
Create new accounts Source for the new IDs will be an spreadsheet (e.g. Excel) file Contains at least Firstname and Lastname Convert (save) e.g. Excel.xlsx .csv file Read the csv file to generate usernames Up to first 6 character of lastname last 2 characters of firstname first Concatinate last+first 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 alpha + numerics) Many samples on the internet Record the pw somewhere so it can be sent to the user Recommend creating a new.csv file with the fname, lname, user name and pw Can be viewed with a text reader or spreadsheet Force new PW when 1 st login
7
Random Password Use Google to find simple script If you have openssh install it is a simple one-liner
8
Deliverables Upload to Moodle.doc file Copy of scripts code Copy showing script running Working with good data Rejecting bad data Enhanced addpermplus code New accounts code Can be one module, or a suite of modules Document how it works TA available this lab for advice to debug
9
Lab 7 Due next week Start of Next Lab This lab is worth 20 points
10
GET STARTED
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.