中華技術學院 Linux 課程 中華技術學院 Linux 課程 Chap one : Service Control 王俊城RHCE/RHCX.

Slides:



Advertisements
Similar presentations
Chapter 9: Understanding System Initialization The Complete Guide To Linux System Administration.
Advertisements

Introduction to Linux Init Scripts In this session we will cover the Linux initialization process, run levels, how to change the run level and how to initialize.
中華技術學院 Linux 課程 中華技術學院 Linux 課程 Chap two : DNS 王俊城RHCE/RHCX.
Securing Network using Linux. Lesson Outline Setting up a secure system TCP Wrapper configuration Firewalls in Linux Authentication Systems –NIS –Kerberos.
Chapter Apache Installation in Linux- Mandrake. Acknowledgment The following information has been obtained directly from
Starting and Stopping Linux. Boot Process BIOS initializes hardware –Loads the boot sector MBR loads the bootloader –Point to kernel Kernel initializes.
System Startup and Shutdown
中華技術學院 Linux 課程 中華技術學院 Linux 課程 Chap Four : Mail 王俊城RHCE/RHCX.
Linux System Administration LINUX SYSTEM ADMINISTRATION.
L INUX HARDENING پروژه ی درس امنیت سیستم عامل استاد پهلوان هدی سادات محمدقلی رضا حمزه 1.
Linux Services Sirak Kaewjamnong. 2 Linux DHCP Server  DHCP is an IP address dynamically assigned from DHCP server.  PC client will most likely get.
VPN Plus Samba Making My Home Computing Environment Identical to My Work Computing Environment.
Samba Objectives Contents Practical Summary
Booting and boot levels
1 Web Server Administration Chapter 9 Extending the Web Environment.
System Startup & Shutdown Objectives –to interpret the Unix startup and shutdown configuration files –to be able to create a customised run level Contents.
Linux Security Anthony Albrecht – Services & Accounts
1 Linux Basics for Networking. 2 Module - Linux Basics for Networking ♦ Overview This module focuses on the basics of networking using Redhat Enterprise.
VsFTP in Linux. Introduction to FTP The File Transfer Protocol (FTP) is used as one of the most common means of copying files between servers over the.
SUSE Linux Enterprise Server Administration (Course 3037)
system hardening Act of modifying a system to make it more secure Protecting against internal and external threats Usually a balance between security.
System Administration: Core Concepts Chapter 11. Introduction  What is the job of the system administrator?  Keep one or more systems in a useful and.
Network Services CSCI N321 – System and Network Administration Copyright © 2000, 2007 by Scott Orr and the Trustees of Indiana University.
The Linux Operating System Lecture 4: TCP/IP, Networking and Networked Services Tonga Institute of Higher Education.
ITI-481: Unix Administration Meeting 3. Today’s Agenda Hands-on exercises with booting and software installation. Account Management Basic Network Configuration.
1 Network Administration ITA3564 Leung Hung
Inetd...Server of Servers Looks at a number of ports Determines when a service is needed on any of those ports Calls the appropriate server Restarts new.
1 Linux Networking ITEC 370 George Vaughan Franklin University.
Linux Services Muhammad Amer. 2 xinetd Programs  In computer networking, xinetd, the eXtended InterNET Daemon, is an open-source super-server daemon.
中華技術學院 Linux 課程 中華技術學院 Linux 課程 Chap Five : Samba 王俊城RHCE/RHCX.
1 itec 400 Perl CGI George Vaughan Franklin University.
New SA Training Topic 6: Service Management Our organization takes advantage of many service type to provide functionality to users and ease management.
Generating Reports and Analyzing Logs 黃雁亭 陳麗雯 廖榆恬 1.
Berkeley R Utilities & the new S Utilities The Unix (or Berkeley) r utilities provide an alternative to IP facilities telnet and ftp. Three programs: rlogin.
CIT 500: IT Fundamentals Networking 1. Topics 1.Configuring the Network 2.IP Addresses and Netmasks 3.Name Resolution and DNS 4.Inetd 2.
CIS 193A – Lesson4 Bastille Hardening a System. CIS 193A – Lesson4 Focus Question What Linux utilities, commands, and files are used by Bastille to harden.
Linux Startup Process Presenter: Dipu Gupta.
Linux Security. Module 13 – Linux Security ♦ Overview Linux is more prone today to security loopholes and attacks, both inside and outside the network.
Linux Exercise. Download and Install the latest CentOS version and latest Ubuntu/Fedora OS. Configure a unique Host Name and a permanent IP Address for.
Core System Services. INIT Daemon The init process is the patron of all processes. first process that gets started in any Linux/ UNIX -based system.
Windows-Linux Interconnection Campus-Booster ID : **XXXXX Copyright © SUPINFO. All rights reserved Samba.
Internet Services.  Basically, an Internet Service can be defined as any service that can be accessed through TCP/IP based networks, whether an internal.
CSN09101 Networked Services Week 4 : Basic Administration Concepts Module Leader: Dr Gordon Russell Lecturers: G. Russell, J. Jackson.
Phil Hurvitz Securing UNIX Servers with the Secure.
TCP/IP Networking Objectives –to learn how to integrate a RedHat system onto a TCP/IP network Contents –TCP/IP configuration files –Network configuration.
Chap 11 System Admin: Core Concepts. A well-maintained system… Runs quickly enough so users don’t get frustrated Has enough storage to accommodate users’
system hardening Act of modifying a system to make it more secure Protecting against internal and external threats Usually a balance between security.
UNIX Startup and Shutdown CSCI N321 – System and Network Administration Copyright © 2000, 2009 by Scott Orr and the Trustees of Indiana University.
Unit – 5 FTP Server. FTP Introduction One of the oldest and most commonly used protocols The original specification for the File Transfer Protocol was.
Sys Admin Course Service Management Fourie Joubert.
Unix System Administration Chapter 31 Daemons. Out of the Goo, the Primordial Process l Init l Always the first process to run after system boot l Always.
system hardening Act of modifying a system to make it more secure Protecting against internal and external threats Usually a balance between security.
System Administration Startup Process. Why Care? ● Every process on your system comes about by following a specific chain of events from the machine startup.
LINUX Network Concepts M.S.Dibay Moghaddam Second Linux Festival Amir Kabir University of Technology Computer & IT Department.
Services and Security ● Find out what's listening to the net ● Find out what services are running ● Find out what they do ● Disable or remove any that.
High Availability For Nagios Mike Weber
The Linux Kernel About 6 million lines of code
RHCE-III Part Durgesh Tomar
Chap-I Network and System Configuration in Linux
ITIS 3110 System Hardening.
Mail Server Basic.
Chapter 9 Router Configuration (Ospf, Rip) Webmin, usermin Team viewer
LINUX ADMINISTRATION 1
Unix Linux Administration I
Lab 1 introduction, debrief
Network Services CSCI N321 – System and Network Administration
Securing Network Services
Network Services.
COP 4343 Unix System Administration
LINUX SYSTEM ADMINISTRATION
Presentation transcript:

中華技術學院 Linux 課程 中華技術學院 Linux 課程 Chap one : Service Control 王俊城RHCE/RHCX

Agenda  Service management  System V-managed services  xinetd

Service Management  init  System V scripts  direct command  xinetd

Services Managed by init  Typically non-TCP/IP services  Respawn capability  Configured in /etc/inittab  init q

System V Service Management  /etc/rc.d/init.d/gpm start  /etc/init.d/gpm start  service gpm start

chkconfig  chkconfig gpm --list  /etc/rc.d/rc?.d/*gpm  chkconfig gpm on  chkconfig gpm off  chkconfig gpm --del  chkconfig gpm --add  chkconfig telnet on  /etc/xinetd.d/telnet

Xinetd Managed Services  xinetd  standalone itself  less-frequently needed services  host-based authentication  service statistics and logging  service IP redirection  Replaces inetd  Linked with libwrap.so  Configuration files:/etc/xinetd.conf,/etc/xinetd.d/*

xinetd default controls  /etc/xinetd.conf defaults{ instances = 60 instances = 60 log_type = SYSLOG authpriv log_type = SYSLOG authpriv log_on_success = HOST PID log_on_success = HOST PID log_on_failure = HOST log_on_failure = HOST cps = cps = 25 30} includedir /etc/xinetd.d

xinetd service controls  /etc/xinetd.d/* service telnet { flags = REUSE flags = REUSE socket_type = stream socket_type = stream wait = no wait = no user = root user = root server = /usr/sbin/in.telnetd server = /usr/sbin/in.telnetd log_on_failure += USERID log_on_failure += USERID disable = yes disable = yes}

LAB1-standalone service  runlevel  init 3  chkconfig gpm on  service gpm stop (X)  init 5 (V)  chkconfig gpm off (V)  init 3 (X)  service gpm start (V)  chkconfig gpm on

LAB2-xinetd  runlevel  init 3  chkconfig telnet off  telnet localhost (X)  chkconfig telnet on (V)  telnet localhost (V)  chkconfig telnet --list