Updated: 2013-05-08 21:01 EDT

1 Readings, Assignments, Labs, and ToDo

3 From the Classroom Whiteboard/Chalkboard

4 Some Commands

Keep a notebook with a List of Commands in it.

5 Real Sysadmin Work

Senior sysadmin one-line solution:

find dir -type f -printf '%i\n' | xargs -L 1 -I'{}' find . -inum '{}' -delete

Finding things that are not symbolic links that have other write permissions:

find dir ! -type l -perm /o+w -ls

5.1 Linux takes over China

5.2 Attacks on my home machine

ns230365.ovh.net - - [20/Mar/2013:13:42:01 -0400] "GET //index.php?route=../../../../../../../../../../../../../../../../../../../../../../../..//proc/self/environ%0000 HTTP/1.1" 404 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6"
ns230365.ovh.net - - [20/Mar/2013:13:42:01 -0400] "GET /cst8207/13w/notes//index.php?route=../../../../../../../../../../../../../../../../../../../../../../../..//proc/self/environ%0000 HTTP/1.1" 404 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6"
ns230365.ovh.net - - [20/Mar/2013:13:42:06 -0400] "GET /cst8207/12f/notes//index.php?route=../../../../../../../../../../../../../../../../../../../../../../../..//proc/self/environ%0000 HTTP/1.1" 404 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6"
ns230365.ovh.net - - [20/Mar/2013:13:42:23 -0400] "GET //index.php?route=../../../../../../../../../../../../../../../../../../../../../../../..//proc/self/environ%0000 HTTP/1.1" 404 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6"
ns230365.ovh.net - - [20/Mar/2013:13:42:23 -0400] "GET /cst8207/13w/notes//index.php?route=../../../../../../../../../../../../../../../../../../../../../../../..//proc/self/environ%0000 HTTP/1.1" 404 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6"
ns230365.ovh.net - - [20/Mar/2013:13:42:27 -0400] "GET /cst8207/12f/notes//index.php?route=../../../../../../../../../../../../../../../../../../../../../../../..//proc/self/environ%0000 HTTP/1.1" 404 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6"
ns230365.ovh.net - - [20/Mar/2013:13:42:53 -0400] "GET //index.php?route=../../../../../../../../../../../../../../../../../../../../../../../..//proc/self/environ%0000 HTTP/1.1" 404 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6"
ns230365.ovh.net - - [20/Mar/2013:13:42:53 -0400] "GET /cst8207/13w/notes//index.php?route=../../../../../../../../../../../../../../../../../../../../../../../..//proc/self/environ%0000 HTTP/1.1" 404 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6"
ns230365.ovh.net - - [20/Mar/2013:13:43:40 -0400] "GET /cst8207/12f/notes//index.php?route=../../../../../../../../../../../../../../../../../../../../../../../..//proc/self/environ%0000 HTTP/1.1" 404 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6"
ns230365.ovh.net - - [20/Mar/2013:13:50:46 -0400] "GET /cst8129/02f/notes//index.php?route=../../../../../../../../../../../../../../../../../../../../../../../..//proc/self/environ%0000 HTTP/1.1" 404 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6"
ns230365.ovh.net - - [20/Mar/2013:15:40:12 -0400] "GET //index.php?route=../../../../../../../../../../../../../../../../../../../../../../../..//proc/self/environ%0000 HTTP/1.1" 404 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6"
ns230365.ovh.net - - [20/Mar/2013:15:40:12 -0400] "GET /cst8207/12f/notes//index.php?route=../../../../../../../../../../../../../../../../../../../../../../../..//proc/self/environ%0000 HTTP/1.1" 404 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6"
Author: 
| Ian! D. Allen  -  idallen@idallen.ca  -  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


Campaign for non-browser-specific HTML   Valid XHTML 1.0 Transitional   Valid CSS!   Creative Commons by nc sa 3.0   Hacker Ideals Emblem   Author Ian! D. Allen