23-NIS - CSE 265: System and Network Administration Sharing...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
Spring 2008 CSE 265: System and Network Administration ©2004-2008 Brian D. Davison CSE 265: CSE 265: System and Network Administration System and Network Administration Sharing System Files with NIS Motivation Copying files around NIS: Network Information Service NIS+ and LDAP
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Spring 2008 CSE 265: System and Network Administration ©2004-2008 Brian D. Davison Sharing system files Sharing system files A typical host has tens or possibly hundreds of configuration files passwd, shadow, group, hosts, services, aliases, printcap A typical network has tens or hundreds of hosts The result is too much to configure by hand! Solutions Group similarly configured machines and distribute configuration files when they change Use a central server instead of individual config files Possibly slower, but never out of date
Background image of page 2
Spring 2008 CSE 265: System and Network Administration ©2004-2008 Brian D. Davison Copying files around Copying files around Brute-force copying isn't elegant, but it works on all machines is easy to set up and maintain reliable flexible (such as copying apps and data, too) handles some files that aren't supported otherwise /etc/sendmail.cf, /etc/ntp.conf Push vs. pull model of file distribution
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Spring 2008 CSE 265: System and Network Administration ©2004-2008 Brian D. Davison Pushing with rdist Pushing with rdist rdist distributes files when they are out of date Preserves ownership, permissions, timestamps Originally used rsh mechanism (insecure!) Now ssh is typically used Looks for a Distfile in current directory specifies options, source files, destination hosts Format: label: pathnames -> destinations commands
Background image of page 4
Spring 2008 CSE 265: System and Network Administration ©2004-2008 Brian D. Davison rdist Distfile rdist Distfile # Example Distfile SYS_FILES = (/etc/passwd /etc/group /etc/mail/aliases) GET_ALL = (chimchim lollipop barkadon) GET_SOME = (whammo spiff) # files -> targets
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 16

23-NIS - CSE 265: System and Network Administration Sharing...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online