|
Linux
System
Administration Resource Disk |
||||||||||||||||||||||||||||
|
Slide presentations stunnel - tunnel w/ssl Pluggable Authentication Modules (PAM)
|
Grades - have been posted (link "Grades" upper left) including final exam. Thank you for taking the class, I hope you will have future use for what you've learned. (12/19) Homework - next week's topic is
maintaining software on a linux system. How to compile it, install it,
auto-download it. Extra credit - here's the link to the assignment about filesystem analysis I described in class (in particular note the link it contains entitled "Analyzing a filesystem). It was given to another class in the past. Here is the solution in the form of an annotated excel spreadsheet. The class that did this assignment had related questions about the subject on their final exam. Those become your optional, extra credit work for this class. Their exam questions on the subject, plus accompanying supporting handouts for that exam, are here. There are 4 questions to be answered. Please send me the answers by email if you wish to do the extra credit. (11/27) Homework - cron daemon for
scheduled/periodic jobs, ntp network time protocol Homework - due 11/19 Homework - due 11/12, after the
test Upcoming topics - syslog ("Centralized logging" slides), syslog-ng ("Syslog-ng"), logrotate ("Logging: logrotate"), swatch ("Logging: swatch"), stunnel ("stunnel"). Homework - read the materials about tar and rsync in the sections down below headed "About tar," and "About rsync." (10/29) Test - here is information about next Monday's test Test - will be November 5. (10/24) Grades - published at link entitled "Grades" at left. Listed according to last 4 digits of your student ID. (10/22) Homework - Homework - Tonight's program - will look at the part of "Permissions" slides that detail the syntax and usage of the chmod command. You will do "users/groups/access" in-classs exercise. We'll cover "Homemade shell" slides, which extend those we saw last week, "Processes." "Processes" and "Homemade shell" have a series of short, important, progressively developed sample programs. Their purposes are summarized in the table below in the "Demonstration programs for unix process mechanism 'fork/exec'" section. The programs are available to you in both source and compiled forms. They have names like fork1.c, fork2.c, etc. Leading up to fork9.c, which is a tiny but functional command shell. You should be familiar with it because we will utilize it next week in another in-class exercise. This series of programs are available via anonymous ftp from sputnik.smc.edu. The code is shown in the slides. Refer to those and then if you want to actually run the programs, download them to a linux machine and do so. (10/8) Coming up after tonight - the intersection of what we studied this week: users and processes. That is, control of the user account under which a process executes. Preview the slides entitled "ProcessUID control" and the in-class exercise of the same title, which we'll perform. Briefly visit the website for sudo and read about it. In particular, the "short introduction," "brief history," and the 3 "Manual" links. Get the flavor of it, spend 15 minutes. Beyond that we'll look at ssh (secure shell), backup (tar, rsync), and logging (syslog, logrotate, swatch). We'll do network backup and logging (to another machine) and apply ssh to secure those datastreams. (10/8) Slides we examined tonight were "User administration" and "Processes." We did the "disabling users" in-class exercise. Next week we'll do the "users/groups/access" exercise and "Homemade shell" slides. See the section below entitled Demonstration programs for unix process mechanism "fork/exec" to obtain the short source files from the "Processes" presentation that we ran in class. Experiment with them. (10/1) Slides we examined a week ago were "Sys Control Mechanisms," and we did the "system control" in-class exercise. Next, tonight, after the system startup quiz, will be "User administration" slides and "disabling users" in-class exercise, then "Processes" and closely related "Homemade shell" slides. (10/1) Slides we examined tonight were those at the link "Bootloaders," somewhat cursory treatment, then "The landscape." For next week please preview "Sys Control Mechanisms" and the related lab exercise "system control" (righthand column). I checked the exercise in the classroom after class tonight and it works. (9/17) Upcoming slides - links entitled "Bootloaders," "The Landscape," "Sys Control Mechanisms." (9/17) Slides we examined on Monday about the bootup process are the ones at the link entitled "Bootup" at left. (9/13) Homework - Office Hours - by prearrangement. If you need to talk to me I can come early or stay late on a given Monday. I'm also on campus Friday. If you want to meet me at one of those times please let me know. (9/10)
About tar: About ssh: About time and ntp: - read about time and ntp
(network time protocol) About logging with syslog, or
syslog-ng and stunnel (secure tunnel) About GPG (GNU Privacy Guard) About PAM (pluggable
authentication modules) About kernel compilation Demonstration programs for unix process mechanism "fork/exec" - If you wish to examine or experiment, here is the series of 11 programs used in my slides demonstrating the workings of fork and exec. You can get them by anonymous ftp from sputnik.smc.edu under the same names by which they appear in the slides shown in class: fork1.c, fork2.c,..., fork11.c. (Files are in /pub/molay/ch08/; slides are at links, lower left, entitled "Processes" and "Homemade shell". If you download these source files and want to compile so you can run them, the command to compile would be, for example: gcc fork1.c -o fork1 The summary of the point of these programs is:
My 3 favorite linux books (see the
syllabus), respective strengths: CD-boot linux, Windows unmolested - http://www.knoppix.org/ and other "live CDs" that are bootable directly to linux (without using or messing with your hard disk), http://www.frozentech.com/content/livecd.php. It's a way for you to easily have access to linux, without having to install it, if you have a PC. |
system
control boot sequence runlevels bootloaders ssh
key setup backup users/groups/access disabling users centralized logging rotating log files monitoring log files syslog-ng scheduled jobs rpm economics yum and rpm ProcessUID
control Unix time PAM Message
digests GNUPrivacyGuard stunnel apache
via stunnel BIOS and
bootloader passwords compiling the
kernel |
||||||||||||||||||||||||||