+ All Categories
Home > Documents > Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What...

Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What...

Date post: 13-Jun-2020
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
49
Lisa2001 San Diego 2/12 - 7/12 2001 Alain van Hoof Henry Jonkers Raimond Kollman Robert Jan Oosterloo Rudi Engelbertink Snow B.V. Lisa2001 San Diego2/12 - 7/12 2001 – p.1/43
Transcript
Page 1: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Lisa2001 San Diego2/12 - 7/12 2001

Alain van Hoof

Henry Jonkers

Raimond Kollman

Robert Jan Oosterloo

Rudi Engelbertink

Snow B.V.

Lisa2001 San Diego2/12 - 7/12 2001 – p.1/43

Page 2: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Welcome

� AlainLarge Installation System AdministrationCfengine (workshop)

Henri

Raimond(verhinderd)

Robert JanUsing Cryptography and Authentication forMail Transport and Sendmail

RudiAdvanced topics in DNS Administration

Lisa2001 San Diego2/12 - 7/12 2001 – p.2/43

Page 3: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Welcome

� AlainLarge Installation System AdministrationCfengine (workshop)

� Henri

Raimond(verhinderd)

Robert JanUsing Cryptography and Authentication forMail Transport and Sendmail

RudiAdvanced topics in DNS Administration

Lisa2001 San Diego2/12 - 7/12 2001 – p.2/43

Page 4: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Welcome

� AlainLarge Installation System AdministrationCfengine (workshop)

� Henri

� Raimond(verhinderd)

Robert JanUsing Cryptography and Authentication forMail Transport and Sendmail

RudiAdvanced topics in DNS Administration

Lisa2001 San Diego2/12 - 7/12 2001 – p.2/43

Page 5: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Welcome

� AlainLarge Installation System AdministrationCfengine (workshop)

� Henri

� Raimond(verhinderd)

� Robert JanUsing Cryptography and Authentication forMail Transport and Sendmail

RudiAdvanced topics in DNS Administration

Lisa2001 San Diego2/12 - 7/12 2001 – p.2/43

Page 6: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Welcome

� AlainLarge Installation System AdministrationCfengine (workshop)

� Henri

� Raimond(verhinderd)

� Robert JanUsing Cryptography and Authentication forMail Transport and Sendmail

� RudiAdvanced topics in DNS Administration

Lisa2001 San Diego2/12 - 7/12 2001 – p.2/43

Page 7: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Alain van Hoof

� PAM (part of Linux System

Administration tutorial)

� Cfengine (workshop)

Lisa2001 San Diego2/12 - 7/12 2001 – p.3/43

Page 8: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Pluggable AuthenticationModules

Is for example login program using PAM?

$ ldd /bin/login

....

libpam.so.0 => /lib/libpam.so.0 (0x40050000)

libpam\_misc.so.0 => /lib/libpam\_misc.so.0 (0x4005c000)

....

Lisa2001 San Diego2/12 - 7/12 2001 – p.4/43

Page 9: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

PAM modules are shared libs/lib/security (Linux - RedHat)/usr/lib/security (Solaris)/etc/pam.conf (Solaris)/etc/pam.d/<service> (Linux - RedHat)example:/etc/pam.d/loginauth required /lib/security/pam_unix_auth.so

account required /lib/security/pam_unix_account.so

password required /lib/security/pam_unix_passwd.so

session required /lib/security/pam_unix_session.so

= Normal unix-like login

Lisa2001 San Diego2/12 - 7/12 2001 – p.5/43

Page 10: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Extra Modules example 1/etc/pam.d/login

auth required /lib/security/pam_unix_auth.so

auth required /lib/security/pam_nologin.so

account required /lib/security/pam_unix_account.so

password required /lib/security/pam_unix_passwd.so

session required /lib/security/pam_unix_session.so

If /etc/nologin exists only root is allowed to login, allusers and root are shown the contents of /etc/nologin.

Lisa2001 San Diego2/12 - 7/12 2001 – p.6/43

Page 11: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Extra Modules example 2/etc/pam.d/passwdauth required /lib/security/pam_unix_auth.so likeauth nullok

account required /lib/security/pam_unix_account.so

password required /lib/security/pam_cracklib.so retry=3

password required /lib/security/pam_unix_passwd.so nullok use_authok

session required /lib/security/pam_unix_session.so

Only when cracklib can’t crack the newuser-password the user password is changed.Other ’interesting’ possibility: ldap-module

Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43

Page 12: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

CfengineWhat is cfengine:

� Agent based configuration and maintenance

� Minimal user intervention

� Predictable, convergent behavior

� Keep things simple

Lisa2001 San Diego2/12 - 7/12 2001 – p.8/43

Page 13: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Cfengine

� New version 2.0 " almost there"(cfengine-2.0a16)

� Name changes of program and daemons

� New: Environment Daemon

� Gaming engine

Lisa2001 San Diego2/12 - 7/12 2001 – p.9/43

Page 14: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Environment daemon 1

� Collects compressed statistics over months

� Just a few MB of data!

� Average and std-dev

� Sets classes and variables

Lisa2001 San Diego2/12 - 7/12 2001 – p.10/43

Page 15: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Environment daemon 2

Lisa2001 San Diego2/12 - 7/12 2001 – p.11/43

Page 16: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Environment daemon 3

� Paper and Lecture:

� Simulation of User-Driven ComputerBehavior

� Simulation of users using 8 different kind of userparameters.

� Output is number of processes running

� Use Real-life data to get correct parameter values(from environment daemon cfengine)

� Change parameter values of simulation to see"what happens if..."

Lisa2001 San Diego2/12 - 7/12 2001 – p.12/43

Page 17: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Gaming engine 1

� Strategies (random)

� Probabilistic classes

strategies:

OnTheHour::

{ spread_load

percent_10: "1" # 1/10

percent_30: "3" # 3/10

percent_60: "6" # 6/10

}

Lisa2001 San Diego2/12 - 7/12 2001 – p.13/43

Page 18: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Gaming engine 2

� Paper and Lecture:

� Scheduling Partially Ordered Events in aRandomized Framework

� Conclusions:

� Randomized schedules are more efficient

� Difficult to identify the model = difficult tomake predictions

� (security?)

Lisa2001 San Diego2/12 - 7/12 2001 – p.14/43

Page 19: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Questions

� Questions?

See also:

PAM:http://www.us.kernel.org/pub/linux/libs/pam/http://www.sun.com/solaris/pam/

Cfengine:http://www.cfengine.org

Lisa2001 San Diego2/12 - 7/12 2001 – p.15/43

Page 20: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Questions

� Questions?

� See also:

PAM:http://www.us.kernel.org/pub/linux/libs/pam/http://www.sun.com/solaris/pam/

Cfengine:http://www.cfengine.org

Lisa2001 San Diego2/12 - 7/12 2001 – p.15/43

Page 21: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Robert Jan Oosterloo

Using Cryptography and

Authentication forMail Transport and Sendmail

Lisa2001 San Diego2/12 - 7/12 2001 – p.16/43

Page 22: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Waarom authenticatie

� Waarom authenticatie voor versturen van mail?

� Misbruik van de mailserver als spamrelay

� MUA’s (Mail User Agents) en MTA’s (MailTransfer Agents) moeten zich authenticeren bijde MTA voor doorsturen van mail.

Lisa2001 San Diego2/12 - 7/12 2001 – p.17/43

Page 23: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Authentication

� Voor sendmail bestaat er vanaf versie 8.10 deAUTH extensie. (RFC 2554 "SMTP ServiceExtension for Authentication")

� Om dit te bereiken gebruikt Sendmail de SASLlibrary. ("Simple Authentication and SecurityLayer").

Lisa2001 San Diego2/12 - 7/12 2001 – p.18/43

Page 24: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

SASL terminologie

� userid (authorization-id). Definieert permissies.

� authid (authenticatie-id). Definieert credentials.

� realm. Een groep users of systemen die binneneen zelfde authenticatie omgeving vallen.

� mechanism. Het authenticatie mechanisme watgebruikt wordt.

Lisa2001 San Diego2/12 - 7/12 2001 – p.19/43

Page 25: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

SASL authenticatie

� KERBEROS_V4, Kerberos 5 (GSSAPI)

� PLAIN

� Shared secret (CRAM-MD5 en DIGEST-MD5)Opgeslagen in /etc/sasldb.db

Lisa2001 San Diego2/12 - 7/12 2001 – p.20/43

Page 26: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Installatie Sendmail + SASL

� FreeBSD: sendmail-sasl, cyrus-sasl

� Debian/GNU Linux: sendmail, libsasl7, sasl-bin,libsasl-digestmd5

Lisa2001 San Diego2/12 - 7/12 2001 – p.21/43

Page 27: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Configuratie SASL

� Via /usr/lib/sasl/appname.conf (bv.Sendmail.conf)

� Beschikbare opties:

� pwcheck_method (passwd, shadow, kerberos_v4,pam, sasldb, pwcheck, mysql, ldap) (Voor PLAINauthenticatie)

� auto_transition. Als een client met PLAIN inlogt,voeg toe aan sasldb.

� srvtab. Kerberos 4 keys.

� Aanmaken /etc/sasldb.db. Via saslpasswdcommando.

Lisa2001 San Diego2/12 - 7/12 2001 – p.22/43

Page 28: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Overzicht usersOverzicht users in /etc/sasldb.db

# sasldblistusers

user: jan realm: mta-server mech: PLAIN

user: piet realm: mta-server mech: DIGEST-MD5

user: klaas realm: mta-server mech: DIGEST-MD5

user: piet realm: mta-server mech: PLAIN

user: piet realm: mta-server mech: CRAM-MD5

user: klaas realm: mta-server mech: PLAIN

user: klaas realm: mta-server mech: CRAM-MD5

user: jan realm: mta-server mech: CRAM-MD5

user: jan realm: mta-server mech: DIGEST-MD5

Lisa2001 San Diego2/12 - 7/12 2001 – p.23/43

Page 29: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Aanzetten AUTH in Sendmaildefine(‘confAUTH_MECHANISMS’,‘DIGEST-MD5 CRAM-MD5’)

TRUST_AUTH_MECH(‘DIGEST-MD5’)

Lisa2001 San Diego2/12 - 7/12 2001 – p.24/43

Page 30: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Controleren AUTHTelnet naar poort 25 van de mailserver.Geef ’ehlo’ (Extended Hello) commando:220 mta-server.mail.nl ESMTP Sendmail 8.12.1/8.12.1; Tue, 5 Feb 2002 21:08:42 +0100 (CET)

ehlo client

250-mta-server.mail.nl Hello [email protected] [192.168.0.2], pleased to meet you

250-ENHANCEDSTATUSCODES

250-PIPELINING

250-8BITMIME

250-SIZE

250-DSN

250-ETRN

250-AUTH DIGEST-MD5 CRAM-MD5 PLAIN

250-DELIVERBY

250 HELP

Lisa2001 San Diego2/12 - 7/12 2001 – p.25/43

Page 31: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

AUTH activeren (client)Via de access map.FEATURE(access_db, ‘hash -T<TMPF>/etc/mail/access’)AuthInfo:mta-server.mail.nl "U:klaasP:passwordR:mta-server" "M:DIGEST-MD5"Opletten, juiste realm gebruiken.

Voor de access map: makemap hash access < access

Lisa2001 San Diego2/12 - 7/12 2001 – p.26/43

Page 32: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Client ondersteuningVeel mail clients gebruiken een lege realm

(Netscape/Eudora)

Lisa2001 San Diego2/12 - 7/12 2001 – p.27/43

Page 33: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Henry Jonkers

Topics in UNIX and Linux

System Administration

Policy and Politics

Lisa2001 San Diego2/12 - 7/12 2001 – p.28/43

Page 34: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Types of Policies and Procedures

� User Policies

� SysAdmin Policies

� Emergencies

� Security Policies

� Hiring and Firing

Lisa2001 San Diego2/12 - 7/12 2001 – p.29/43

Page 35: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

User Policies

� Logins

� Acceptable

� Software

� Email

� Hacking

Lisa2001 San Diego2/12 - 7/12 2001 – p.30/43

Page 36: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

User Policy – Logins 1

� Who gets a login

� Who decides

� What happens when they leave

� Password Policy

� Password Ageing

� Teach your users to use good passwords

� Remote access

� ssh only

� telnet/ftp allowed ?

� imap/pop without security allowed?

Lisa2001 San Diego2/12 - 7/12 2001 – p.31/43

Page 37: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

User Policy – Logins 2

� Sharing Accounts

� No accountability, no way to actually knowwho is logged in

� Group Accounts

� Also no accountability

"root" is a groups account

Lisa2001 San Diego2/12 - 7/12 2001 – p.32/43

Page 38: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

User Policy – Logins 2

� Sharing Accounts

� No accountability, no way to actually knowwho is logged in

� Group Accounts

� Also no accountability

� "root" is a groups account

Lisa2001 San Diego2/12 - 7/12 2001 – p.32/43

Page 39: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

User Policy – Acceptable Use

� Personal email OK?

� Web OK

� Browsing for fun

� Work use only

� Hacking

� Cracking passwords

� Breaking into other machines

� Disrupting Service

� What are the conqequences of violating theacceptable use policy

Lisa2001 San Diego2/12 - 7/12 2001 – p.33/43

Page 40: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

User Policy – Software

� Supported vs. Unsupported

� Very hard to police

� Especially on desktop systems

� Requires a software audit to see what’s there:Hmm, we paid for 3 copies of Reflection butwe seem to have it installed on 300 machines

Lisa2001 San Diego2/12 - 7/12 2001 – p.34/43

Page 41: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

User Policies – Email

� SPAM

� Incoming; Filter at mail gateway, let usersfilter for themselves

� Outgoing; A problem for ISP’s

� Attachment and viruses

� Instructions to users not to open attachmentsfrom strangers (Just doesn’t work)

� Filter attachments and refuse them at mailgateway. Types .vba .dot .exe .com .reg aresuspect Return mail with message saying whyyou rejected it

Lisa2001 San Diego2/12 - 7/12 2001 – p.35/43

Page 42: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

System Administrator Policies 1

� Sysadmin policy – root access

� Need "su" to do their job

� Allows access to all data

� Allows access to log files and accounting datathat might record inappropriate use

� sudo, super, run as alternatives to "su" or loggingin as root

Lisa2001 San Diego2/12 - 7/12 2001 – p.36/43

Page 43: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

System Administrator Policies 2

� Limited "su" via sudo program from Universityof Colorado

� ftp from ftp.cs.colorado.edu inpub/sysadmin/utilities

� Allows fine grain conrol of root privileges:1 per user2 per host3 per command and its arguments

� Logs all uses via syslog

Lisa2001 San Diego2/12 - 7/12 2001 – p.37/43

Page 44: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

System Administrator Policies 3

� Backups

� Often data IS the company’s assets where arebackup tapes stored safe from physical harm,flood, earthquake, fire etc safe from maliciousharm, disgruntled employee, competitor,terrorists

� Purchasing Policies

� Are sysadmins invlolved in the purchasingprocess

� They need to be with a veto power

� List of supported hardware/software

� End of life policy

� Maintenance Policy� Vendor contracts or third party maintenance

Self maintenance (backup systems)Extended warranties (good for Universitieswith strict budget categories)

Lisa2001 San Diego2/12 - 7/12 2001 – p.38/43

Page 45: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Emergencies 1

� Catastrophe vs. attack vs. sysadmin on vacation

� Offline Documentation

� Telephone numbers: Staff Hardware supportSoftware support CERT – ComputerEmergency Response Team

� Machine Configurations Disk partitions Bootprocedures Locations

� Backups Location of backup tapes Dumpsequence, dump dates

Lisa2001 San Diego2/12 - 7/12 2001 – p.39/43

Page 46: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Emergencies 2

� Backup/failover machines, data centers

� WTC disaster tested everyones Y2Kpreparations

� Mostly worked fine

� Example: Morgan Stanley’s data center wasin WTC. Backup 10 miles away Failed overfine, a bit of trouble keeping up with volumeonce market opened

� In real emergency sysadmins must have dictorialpowers

� to shut down machines

� To disconnect from networks

� To kill running programmsLisa2001 San Diego2/12 - 7/12 2001 – p.40/43

Page 47: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Emergencies 3

� Who is in charge

� Need chain of command, known and agreedto before emergency occurs

� Dealing with media; Don’t especially ifemergency is occurring in real time Good jobfor a boss type person

� What is an emergency

� Definition depends on your site

� Usually includes:

� 1 Threat to data stored at site

� 2 Unauthorized use of computing resourcesat site

� 3 Impersonating your site� Natural disasters Lisa2001 San Diego2/12 - 7/12 2001 – p.41/43

Page 48: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Security Policy/Procedures

� Everyday hygiene

� All accounts with passwords

� Run security monitoring tools (cops, tripwire,snort)

� Actually read reports they generate

� Monitor machines that have network packetfilters installed very carefully

� Don’t assume that a firewall at your router willprotect you

� Make each hosts secure, shutdown services

� Use good password programm

� Remove inactive accounts

� Don’t allow guest accounts with no passwordor password "guest" Lisa2001 San Diego2/12 - 7/12 2001 – p.42/43

Page 49: Lisa2001 San Diego 2/12 - 7/12 2001 · Lisa2001 San Diego2/12 - 7/12 2001 – p.7/43. Cfengine What is cfengine: Agent based configuration and maintenance Minimal user intervention

Hiring, Firing, Training

� Who to hire

� Experienced sysadmins

� Beginners and grow them

� Evaluation schemes

� Self evaluation, scale 1 (never heard of it) toscale 5 ( could teach it)

� technical evaluation

� Include bogus questions

� Listen very carefully to former employers andother references

� Fire early, during initial trial period if possible –it’s easy then

Lisa2001 San Diego2/12 - 7/12 2001 – p.43/43


Recommended