2015-04-01 12:32 EDT
- Read (at least) these things (All The Words):
- Week 12 Notes HTML – this file – Read All The Words
- Users and Groups - /etc/passwd, /etc/group, su, sudo, chsh, useradd, gpasswd, etc.
- Unix/Linux Partitions and File Systems - fdisk, mkfs, mount, swap
- List of Commands You Should Know
- Video Tutorials on Lynda.com
- Create your lynda.com account and watch Unix for Mac OS X Users
- 4. Ownership and Permissions 34m 58s
root user 1m 57s
sudoers 5m 20s
Reminder: There are now two quizzes that you need to complete on Blackboard as part of your term Quiz mark. A third quiz will be posted before the Final Exam.
Check the due date for each assignment and put a reminder in your agenda, calendar, and digital assistant.
- Read All The Words, Do, and then Submit via Blackboard:
- Bonus (optional) Assignment #04 HTML – the VIM text editor (extended due date again and again and again)
- Assignment #08 HTML – CentOS virtual server installation
- Bonus (optional) Assignment #09 HTML – Midterm #2 corrections
- There is a checking program available to check your file format for this bonus assignment, but only people who Read All These Words will know about it. Wrong format means no marks.
- Assignment #10 HTML – setting permissions, mode, umask
- Assignment #11 HTML – tar, processes, syslog, crontab, at, mail
- Assignment #12 HTML – CentOS: User and Group management (Megadeth)
- Assignment #13 HTML – CentOS: Partitions, File Systems, single user, run levels, services
- Really do Read All The Words. You don’t get a second chance to get it right.
- Work on the above assignments in your lab period; ask questions.
- Worksheet #08 ODT – Linux file system permissions (modes)
For full marks, read the Test Instructions (all the words) before your final exam.
Attend a free workshop on Preparing for Exams - Test Taking Skills and Test Anxiety April 7 or April 14.
- All Quizzes are open until the Final Exam, then they are closed.
- Quizzes are random samples and thus do not cover all of the questions in the practice test PDF file. Do the PDF file to be fully prepared.
- Final Exam: 180 minutes; Tuesday April 21 11am to 2pm in room C144
- Take a bathroom break before you sit down for three hours!
- A third set of practice questions is posted. See Practice Tests and Answers. The third quiz, based on this set of questions, will be out soon.
- The final exam emphasizes material after the second midterm test, but it covers the whole course and therefore includes material from all the practice question sets.
- Review last week. Did you do everything assigned last week?
- April 1: https://www.eff.org/effector/28/04
- MITRE has announced the PANIC vulnerability, a critical security flaw which affects the server administrators and software developers underpinning almost every interaction we have with the Internet.
- You learn the material because you want to be a Computer Systems Technician.
- You like doing this work; you want to be good at it.
- Review your mistakes on the midterm tests because questions re-appear.
- For practice tests and quizzes, see the Practice Test README
- Review the commands used in each lab worksheet (and their common options).
- Review how the shell works: GLOB, redirection, quotes
- Know why the shell behaves that way. Copy/paste teaches you nothing.
- process quotes, split on semicolons and pipes next, then do redirection
- What are the Four Rules for Output Redirection? Three Rules for Pipes?
Another second-term student locks himself out:
Mar 28 15:59:58 Failed password for xxxxnnnn from 188.8.131.52
Mar 28 16:00:07 Failed password for xxxxnnnn from 184.108.40.206
Mar 28 16:00:21 Failed password for xxxxnnnn from 220.127.116.11
Mar 28 16:00:30 Failed password for xxxxnnnn from 18.104.22.168
Mar 28 16:00:51 Failed password for xxxxnnnn from 22.214.171.124
Mar 28 16:01:09 Failed password for xxxxnnnn from 126.96.36.199
Mar 28 16:01:57 Failed password for xxxxnnnn from 188.8.131.52
Mar 28 16:02:08 Failed password for xxxxnnnn from 184.108.40.206
Mar 28 16:02:55 Failed password for xxxxnnnn from 220.127.116.11
Mar 28 16:03:06 Failed password for xxxxnnnn from 18.104.22.168
Mar 28 16:03:24 Failed password for xxxxnnnn from 22.214.171.124
Mar 28 16:05:36 refused connect from cpe0c473da2de41-cm0c473da2de40.cpe.net.cable.rogers.com (126.96.36.199)
- Count the attacks:
fgrep -c "refused connect" /var/log/auth.log
- Another way to count the lines (less efficient):
fgrep "refused connect" /var/log/auth.log | wc
- Only show the last 10 lines:
fgrep 'refused connect' /var/log/auth.log | tail
- See the current list of evil host IPs:
Read All The Words by Alex and Colin
Take Notes in Class
| Ian! D. Allen - email@example.com - Ottawa, Ontario, Canada
| Home Page: http://idallen.com/ Contact Improv: http://contactimprov.ca/
| College professor (Free/Libre GNU+Linux) at: http://teaching.idallen.com/
| Defend digital freedom: http://eff.org/ and have fun: http://fools.ca/
Plain Text - plain text version of this page in Pandoc Markdown format