Introduction to Unix Administration Objectives –to identify the basic concepts of Unix administration Contents –history of Unix –unix vendors and standards.

Slides:



Advertisements
Similar presentations
Lesson 6 Software and Hardware Interaction
Advertisements

Chapter One The Essence of UNIX.
Introduction to UNIX Acknowledgement:Thanks to Dr Andrew Horner for the original version of this set of slides. All trademarks are the properties of their.
 SAP AG CSU Chico 102/14/981SAP Security Lecture MINS 298C SAP Configuration & Use: Security Copyright 1996, 1997, James R. Mensching, Gail Corbitt.
Chapter 2 Accessing Your System and the Common Desktop Environment.
CS 497C – Introduction to UNIX Lecture 2: Work with Files and Directories Chin-Chih Chang
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 1: Introduction to Windows Server 2003.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
Guide To UNIX Using Linux Third Edition
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 1 Introduction to Managing the SUSE Linux Enterprise Server.
Introduction to UNIX Acknowledgement:Thanks to Dr Andrew Horner for the original version of this set of slides. All trademarks are the properties of their.
Installing software on personal computer
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 1: Introduction to Windows Server 2003.
Objectives  Understand the purpose of the superuser account  Outline the key features of the Linux desktops  Navigate through the menus  Getting help.
1 Chapter Overview Creating User and Computer Objects Maintaining User Accounts Creating User Profiles.
Introduction to Computer Administration System Administration
What is Unix Prepared by Dr. Bahjat Qazzaz. What is Unix UNIX is a computer operating system. An operating system is the program that – controls all the.
Linux Shell. 2 Linux Command-Line Interface ■ Linux shells: A shell is a command interpreter that allows you to type commands from the keyboard to interact.
Linux Operations and Administration
Introduction A computer system consists of hardware system programs application programs.
Introduction to Linux Installing Linux User accounts and management Linux’s file system.
Overview of Linux CS3530 Spring 2014 Dr. José M. Garrido Department of Computer Science.
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
Introduction to Unix/Linux Chapter One The Essence of UNIX.
5.1 © 2004 Pearson Education, Inc. Lesson 5: Administering User Accounts Exam Microsoft® Windows® 2000 Directory Services Infrastructure Goals 
CIS 191 – Lesson 2 System Administration. CIS 191 – Lesson 2 System Architecture Component Architecture –The OS provides the simple components from which.
Managing User Accounts. Module 2 – Creating and Managing Users ♦ Overview ► One should log into a Linux system with a valid user name and password granted.
Module 1 Introduction to UNIX/Linux
CENT 305 Information Systems Security Linux Introduction.
Chapter 9: Networking with Unix and Linux Network+ Guide to Networks Third Edition.
Module 7: Fundamentals of Administering Windows Server 2008.
DIT314 ~ Client Operating System & Administration CHAPTER 5 MANAGING USER ACCOUNTS AND GROUPS Prepared By : Suraya Alias.
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
1 Chapter Overview Publishing Resources in Active Directory Service Redirecting Folders Using Group Policies Deploying Applications Using Group Policies.
Section 11: Implementing Software Restriction Policies and AppLocker What Is a Software Restriction Policy? Creating a Software Restriction Policy Using.
Chapter 3 & 6 Root Status and users File Ownership Every file has a owner and group –These give read,write, and execute priv’s to the owner, group, and.
Computers & Operating Systems
Introduction to System Admin Sirak Kaewjamnong. 2 The system administration’s job  Adding a new user  Doing backup and restoring files from backups.
CS2204: Introduction to Unix January 19 th, 2004 Class Meeting 1 * Notes adapted by Christian Allgood from previous work by other members of the CS faculty.
Agenda Overview of Seneca Computer System File Servers / Student Computer Accounts Telnet application How to Logon to Learn / Phobos accounts How to Change.
Introduction 1 Chapter 1. Introduction History and Proliferation Mandate for Change What’s Good and Wrong Scope of this course.
Basic UNIX Concepts. Why We Need an Operating System (OS) OS interacts with hardware and manages programs. A safe environment for programs to run is required.
Introduction to UNIX Karl Harrison September 2004.
Chapter 9: Networking with Unix and Linux. Objectives: Describe the origins and history of the UNIX operating system Identify similarities and differences.
Background & History of UNIX & Linux Fort Collins, CO Copyright © XTR Systems, LLC The Background and Short History of UNIX & Linux Instructor: Joseph.
Introduction to UNIX CS 2204 Class meeting 1 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright
SCSC 455 Computer Security Chapter 3 User Security.
Introduction to UNIX CS465. What is UNIX? (1) UNIX is an Operating System (OS). An operating system is a control program that allocates the computer's.
Working with Users and Groups Lesson 5. Skills Matrix Technology SkillObjective DomainObjective # Introducing User Account Control Configure and troubleshoot.
CHAPTER 5 MANAGING USER ACCOUNTS & GROUPS. User Accounts Windows 95, 98 & Me do not need a user account like Windows XP Professional to access computer.
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop I Introduction to Linux Professional Training Academy.
SUSE Linux Enterprise Desktop Administration Chapter 4 Administer Linux with YaST.
UNIX Operating System. A Brief Review of Computer System 1. The Hardware CPU, RAM, ROM, DISK, CD-ROM, Monitor, Graphics Card, Keyboard, Mouse, Printer,
Linux and Coldfusion MX Mid-Michigan Coldfusion User’s Group, Nov
Introduction to System Administration. System Administration  System Administration  Duties of System Administrator  Types of Administrators/Users.
Course : PGClass : MCA Subject: Operating SystemSub.Code : 3CT11 Staff Name : S.SomasundaramYear & Sem : II nd & III rd.
Overview of Linux Fall 2016 Dr. Donghyun Kim
Karl Harrison September 2004
Unix Scripting Session 1 March 6, 2008.
Discovering Computers 2012: Chapter 8
Guide to Linux Installation and Administration, 2e
Active Directory Administration
Objectives Differentiate between the different editions of Windows Server 2003 Explain Windows Server 2003 network models and server roles Identify concepts.
Linux Users and Groups Management
Chapter 2: System Structures
Unix : Introduction and Commands
Copyright ©2008 by Pearson Education, Inc
Linux Professor Sabol.
Section 1: Linux Basics and SLES9 Installation
Presentation transcript:

Introduction to Unix Administration Objectives –to identify the basic concepts of Unix administration Contents –history of Unix –unix vendors and standards –working as root –system administration shells Practicals –evaluating an administration shell Summary Unix

Unix - Genealogy Date Systems SunOS Amdahl UTS Unix - PDP/7 Unix 1st edition - PDP/11 BSD SunOS 4 SCO Unix XENIX Unix System V.3 AIX 3.1 Solaris 2.0 Solaris 1.0 BSD 4.2 BSD 4.3 UnixWare 2.0 BSD 4.1 AIX 4.1 AIX Unix System III Unix System V UnixWare 1.0Unix SVR4.2 Unix System V.4 - SVR4 Unix 7th edition - non PDP Unix 5/6th edition - C

Major Unix Versions AT&T System V –currently release 4.2 (SVR4.2) –most widely implemented version of Unix Berkeley Software Distribution (BSD) –pure BSD systems usually found as free Unix on PCs –OSF/1 derived from BSD with SVR4 additions HPHP/UXSVR4 + OSF/1 ICLDRXSVR4 SNI/PyramidDC/OSxSVR4 Silicon Graphics IncIRIXSVR4 SCOUnixWareSVR4 Sun MicrosystemsSolaris 2SVR4 SCOSCO UnixSVR3.2 SequentDynix/PTXSVR3.2 + security Sun MicrosystemsSunOS 4BSD DECDigital UnixOSF/1 + SVR4 IBMAIXOSF/1 + SVR4 HPHP/UXSVR4 + OSF/1 ICLDRXSVR4 SNI/PyramidDC/OSxSVR4 Silicon Graphics IncIRIXSVR4 SCOUnixWareSVR4 Sun MicrosystemsSolaris 2SVR4 SCOSCO UnixSVR3.2 SequentDynix/PTXSVR3.2 + security Sun MicrosystemsSunOS 4BSD DECDigital UnixOSF/1 + SVR4 IBMAIXOSF/1 + SVR4

Unix Standards Unix has been standardised –SVR4, OSF/1, POSIX, spec1170 –standards concentrate on kernel functionality and API –administration not covered by standards Administration is similar for all Unix systems –command names can vary from one variant to another –command options can vary –some systems provide better support for administrators than others Unix administration is developing standards –Distributed Computing Environment (DCE) –Domain Name Services (DNS) –Common Desktop Environment (CDE)

Scope of this Course To cover basic administrative functions –describe underlying concepts and utilities Features described in a vendor independent manner –concentrate on SVR4 –reference to other systems where appropriate Cover common areas of administration in detail –users, processes, files & backups –networking, terminals & printers Introduce less common administration –installing the system and software –accounting & performance monitoring Useful commands are briefly described –use the on-line manual pages for full information

Discussion - Administration Roles What are the typical jobs performed by a Unix System Administrator in the following categories? OperationsAdministrationTechnical Support ???

General Responsibilities Identify your role and responsibilities –can you delegate some of your work? Find out about your system –when was it purchased –do you have hardware maintenance, if not why not? –do you have OS maintenance, if not why not? What hardware does your system have? What software is installed? –is all the software necessary Who uses your system?

System Logbook Keep a logbook for each system Record activities such as –system crashes –maintenance, –hardware problems –system upgrades –software installations Keep as paper copy, not an on-line copy

Working As Root Nearly all Unix administration must be done as user root –this superuser account (user id 0) has unrestricted access to the system Administration should be done by one person at a time –check that no one else is logged in as root –if someone else is working as root, find out what they are doing In a secure room, keep the console logged in as root –useful for getting out of trouble if system starts to hang –do all administration from the console –disable root logins on other terminal lines for security WARNING root can irrevocably damage the system take care when working as root

The su Command The set user (su) command changes to another user –runs a new shell for the new user –exit from the new shell to resume original user's shell su changes your effective user id (and group id) –most commands use effective uid/gid for access control –real uid/gid not changed –be aware that some commands always use real uid/gid Root can use su without providing a password –other users must supply a password $ su - root password: work as root, with root's environment $ su - root password: work as root, with root's environment

Running Commands with su su can be used to run a command as another user –Use the -c option to specify a "command string" –useful for including in shell scripts su defaults are in /root/.bash_profile –it it usual for root to have a separate su path su attempts are logged in /var/log/messages Permission file: /etc/sudoers tell who is allowed to su Permission file is edited with command visudo # /bin/su - printer -c “cleanup” run the printer cleanup script # /bin/su - printer -c “cleanup” run the printer cleanup script # more /root/.bash_profile

Exercise - Using su What do the following commands do and which ones require a password? $ su # su - henry $ su - # su - root -c poweroff # exit $ su root -c "rm /tmp/.lock321" $ su # su - henry $ su - # su - root -c poweroff # exit $ su root -c "rm /tmp/.lock321"

Traditional Administration Traditionally, Unix administration requires a good knowledge of the Unix operating system Administrators work directly with configuration files and special programs Administrators develop or borrow extra programs and scripts to support standard utilities Difficult for novice administrators even to get started...

Administration Shells System manufacturers often provide menu driven administration interfaces –some are better than others –some only work under X-Windows Admin shells are not as comprehensive as one would like –Unix administrators still need to know about underlying commands smit on AIX is awarded to be the most friendly and comprehensive front end to administration LinuxWebMinhttp SuSEYaSTtty & X AIXSMITtty & X Digital Unixsetuptty HP/UXSAMX IRIXCadminX SCO Unixsysadmshtty Solaris 2admintoolX SVR4sysadmtty LinuxWebMinhttp SuSEYaSTtty & X AIXSMITtty & X Digital Unixsetuptty HP/UXSAMX IRIXCadminX SCO Unixsysadmshtty Solaris 2admintoolX SVR4sysadmtty

Summary Unix administration is similar but not identical for all systems Unix administrators tend to learn a lot about how Unix works Nearly all administration is undertaken as the superuser (root) Administration shells such as sysadm or SMIT can simplify Unix for novice administrators Use the su command to run a shell as another user When you know one Unix system you can easly learn all other dialects. SuSE uses yast and yast2 for most common admin work.