1/14 Char 18 Sharing System Files Content –NIS(The Network Information Service) –NIS+

Slides:



Advertisements
Similar presentations
Toolbox Mirror -Overview Effective Distributed Learning.
Advertisements

NIS Consistent configuration across the network. Why NIS? Primary reason is to provide same user configuration across the network Users go any machine.
© Copyright 1997, The University of New Mexico C-1 Internet Service Provider Services What to do once you’re connected.
NIS – Network Information System WeeSan Lee
Winter CMPE 155 Week 6. Winter Yet more servers… NFS and NIS.
Linux Networking TCP/IP stack – kernel controls the TCP/IP protocol – Ethernet adapter is hooked to the kernel in with the ipconfig command – ifconfig.
2000 Copyrights, Danielle S. Lahmani UNIX Tools G , Fall 2000 Danielle S. Lahmani Lecture 10.
4/8/99 C. Edward Chow Page 1 Internet Services Manager Click Start | Programs | Administrative Tools | Internet Services Manager.
Linux+ Guide to Linux Certification, Second Edition
Chapter 3 Unix Overview. Figure 3.1 Unix file system.
CS 497C – Introduction to UNIX Lecture 35: - TCP/IP Networking Tools Chin-Chih Chang
1 DNS,NFS & RPC Rizwan Rehman, CCS, DU. Netprog: DNS and name lookups 2 Hostnames IP Addresses are great for computers –IP address includes information.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols Network Fundamentals – Chapter.
1 Chapter Overview Introduction to Windows XP Professional Printing Setting Up Network Printers Connecting to Network Printers Configuring Network Printers.
CIT 470: Advanced Network and System Administration
Remote Disk Access with NFS
2440: 141 Web Site Administration Remote Web Server Access Tools Instructor: Enoch E. Damson.
Linux+ Guide to Linux Certification, Third Edition
DHCP. DHCP (Dynamic Host Configuration Protocol) is a network service that enables clients to obtain network settings (IP Address, Subnet Mask, Default.
1 The Solaris Distributed Computing Solution The operating system is a set of programs that manages all computer operations and provides an interface between.
Lecture – Single Login NIS and Winbind. NIS Network Information Service (NIS) is the traditional directory service on UNIX platforms Still widely used.
Linux Networking #2 Dr. Michael L. Collard 1.
Connecting to Network. ♦ Overview ► A network connection is required to communicate with other computers when they are in a network. Network interface.
Chapter 10 Networking and the Internet ITSC 1458.
1 Network File Sharing. 2 Module - Network File Sharing ♦ Overview This module focuses on configuring Network File System (NFS) for servers and clients.
Final Project – NFS and NIS jwbai. Computer Center, CS, NCTU 2 Goal master.passwd passwd group netgroup amd.conf userA, /nis/home/userA userB, /nis/home/userB.
CIS 218 Advanced UNIX 1 User and System Information CIS 218.
Setting up NIS and HTTP. Network Information Service Reading: 1. Linux NIS HOWTO: howto/HOWTOhttp://
ITI-481: Unix Administration Meeting 5. Today’s Agenda Network Information Service (NIS) The Cron Program Syslogd and Logging.
Simple Mail Transfer Protocol (SMTP)
2002 Networking Operating Systems (CO32010) 1. Operating Systems 2. Processes and scheduling 3.
Unix System Administration Chapter 6 Adding New Users.
Hour 7 The Application Layer 1. What Is the Application Layer? The Application layer is the top layer in TCP/IP's protocol suite Some of the components.
UNESCO ICTLIP Module 1. Lesson 61 Introduction to Information and Communication Technologies Lesson 6. What is the Internet?
New SA Training Topic 6: Service Management Our organization takes advantage of many service type to provide functionality to users and ease management.
Chapter Two Clients and Servers: Who’s the Boss?.
2  Supervisor : MENG Sreymom  SNA 2012_Group4  Group Member  CHAN SaratYUN Sinot  PRING SithaPOV Sopheap  CHUT MattaTHAN Vibol  LON SichoeumBEN.
User Management Burgess, Ch.5.
A Brief Documentation.  Provides basic information about connection, server, and client.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
CIS 192B – Lesson 3 Network Information Services.
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
CS 3830 Day 9 Introduction 1-1. Announcements r Quiz #2 this Friday r Demo prog1 and prog2 together starting this Wednesday 2: Application Layer 2.
Exercise 4 – NFS and NIS Announced Date: 2007/12/11 Due Date: 2007/12/25.
Free Powerpoint Templates Page 1 Free Powerpoint Templates Users and Documents.
User Management. User Registration Policy The issues of creation and management often clash in distributed organisations Central creation and management.
Linux Operations and Administration
Linux Operations and Administration
Chap 35 Remote Procedure Calls RPC allows one host to make a procedure call that appears to be part of a local process (fig 35.1), but is really executed.
File Transfer Protocol (FTP) CIS 130. File Transfer Protocol (FTP) Copy files from one internet host (server) to your account on another host –Need domain.
 Last lesson, the Windows Operating System was discussed along with the Windows command shell  Unix is a computer operating system, that similarly manages.
1 Security of NIS (YP) Gary Lam
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Getting Started with Linux
Chapter 17: Sharing System Files Stephen Workman.
Web Technology Seminar
WINDOWS NT VERSUS UNIX NT & UNIX OVERVIEW by Zhuo Hong Liu
NIS Concepts and Configuration
NIS: Providing naming services to legacy clients.
IIS.
Application layer Lecture 7.
Final Project Announce: Due:
Final Project– NFS and NIS
Communications & Computer Networks Resource Notes - Introduction
Delivering the Data.
System Administration HW5 - Micro Computer Center
System Administration HW5 - Mini Private Lab
Announced Date: 2006/12/20 Due Date: 2007/1/3
Network Information Service
Presentation transcript:

1/14 Char 18 Sharing System Files Content –NIS(The Network Information Service) –NIS+

2/14 NIS Introduction NIS’s Old name : Sun Yellow Pages ==> yp prefix Support for NIS and NIS+ –Solaris - Partially, Yes –SunOS - Yes, No Server - content of shared files (maps) –ex) passwd.byname,passwd.byuid –group, networks, hosts, protocols, services aliases Server locating – IP broadcasting –ypset

3/14 Magic NIS Cookies Local priority - local machine’s info overrides NIS copy –/etc/passwd, /etc/group –Magic Cookies(‘+’) Global priority - NIS copy supersedes local copy –/etc/hosts, /etc/networks, /etc/protocols

4/14 Netgroups Abstraction of sets of user, machines, nets /etc/netgroup Format –groupname list-of-members –list-of-members : (hostname, username, domainname) –Blank, ‘-’ symbol –Example bobcats (snake,, ) (headrest,, ) servers (anchor,, ) (moet,, ) (piper,, ) (kirk,, ) allhosts beers serves

5/14 Netgroups(2) Usage Definition of permissions –/etc/exports –/etc/hosts.equiv or.rhosts in user’s Account info /etc/passwd

6/14 Technical Overview of NIS NIS directory –/var/yp, /usr/etc/yp, /etc/yp two ndbm file for each map –map.dir, map.pag –makedbm command ==> Makefile (run make in NIS dir) ypxfr, yppush command ypserv, ypbind daemon Figure P397,P398

7/14 Setting Up an NIS Domain Run ypinit on each server (page 398,399) On every machine(page 399) –set domain name from one of system startup files domainname command –import /etc/passwd, /etc/group

8/14 NIS+ Site-wide hierarchy More database-like Not use flat file as NIS does Incremental change and logging scheme Built on top of Sun’s secure RPC system

9/14 NIS+(2) From a client’s perspective, NIS+ looks much the same as any other administrative database system. Most data is accessed through the same library routines as always, and the complex world of domains, tables, permissions, and search paths is in the end rendered down to an analog of the original UNIX flat files

10/14 Char 21 Electronic Mail Content –Mail Systems –Aliases

11/14 Mail Systems Figure page 440 user agent (page 441,442) transport agent –SMTP(Simple Mail Transport Protocol) delivery agent –/bin/mail : local user –uux, spop : remote site user UUCP.POP(Post Office Protocol) Figure page 447

12/14 Spool Directory –/var/mail Mail Philosophy –A master mail server –A mail home for each user aliasing maildrop field of the user database

13/14 Mail Aliases Aliasing location –User agent’s config file –System-wide aliases file, /ect/aliases user’s forwarding file, ~/.forward –ex) ms1 : yskim, stoh, swkim... A file containing a list of addresses –ex) phd1 : :include:/user/phdlist

14/14 Mail Forwarding –~/.forward The Hashed Alias Database –/etc/aliases.dir - index –/etc/aliases.pag - real data –newaliases Mailing Lists –mylist : :include:/var/adm/aliases/mylist