Linux Essentials//The LPI Introductory Programme

Total Page:16

File Type:pdf, Size:1020Kb

Linux Essentials//The LPI Introductory Programme Linux Essentials The LPI Introductory Programme Linup Front GmbH Postfach 10 01 21 64201 Darmstadt Germany ⋅ ⋅ ⋅ Telefon +49(0) 6151 9067 0 Telefax +49(0) 6151 9067 299 www.linupfront.de ⋅ ⋅ Linup Front GmbH is a leading supplier of high-quality training materials for Linux and Open Source topics, at reason- able prices – for self-study, school, higher and continuing education and professional training. Please visit http://shop.linupfront.com/ for details and pricing, or contact us with questions or suggestions. All representations and information contained in this document have been com- piled to the best of our knowledge and carefully tested. However, mistakes cannot be ruled out completely. The authors and Linup Front GmbH assume no respon- sibility or liability resulting in any way from the use of this material or parts of it or from any violation of the rights of third parties. Reproduction of trade marks, service marks and similar monikers in this docu- ment, even if not specially marked, does not imply the stipulation that these may be freely usable according to trade mark protection laws. All trade marks are used without a warranty of free usability and may be registered trade marks of third parties. This document is published under the “Creative Commons-BY-NC-ND 3.0 Un- ported” licence. You may copy and distribute it and make it publically available as long as the following conditions are met: Attribution You must make clear that this document is a product of Linup Front GmbH. No commercial use You may not use this document for commercial purposes (contact us if you want to use this document commercially). No derivatives You may not alter, transform, or build upon this document (con- tact us if necessary). The full legal license grant can be found at http://creativecommons.org/licenses/by- nc-nd/3.0/legalcode Authors: Tobias Elsner, Thomas Erker, Anselm Lingnau Technical Editor: Anselm Lingnau [email protected] ⟨ ⟩ Typeset in Palatino, Optima and DejaVu Sans Mono Register this manual on-line via the QR code on the left or http://shop.linupfront. com/register/hnINuUQTazcf7HFRIM80of/ for updates and interesting special offers. Contents 1 Computers, Software and Operating Systems 13 1.1 What Is A Computer, Anyway? . 14 1.2 Components Of A Computer . 15 1.3 Software . 19 1.4 The Most Important Operating Systems. 20 1.4.1 Windows And OS X . 20 1.4.2 Linux . 21 1.4.3 More Differences And Similarities. 22 1.5 Summary. 22 2 Linux and Free Software 25 2.1 Linux: A Success Story . 26 2.2 Free Or Open Source? . 28 2.2.1 Copyright And “Free Software” . 28 2.2.2 Licences . 31 2.2.3 The GPL . 32 2.2.4 Other Licences . 35 2.3 Important Free Software . 37 2.3.1 Overview . 37 2.3.2 Office and Productivity Tools . 37 2.3.3 Graphics and Multimedia Tools . 38 2.3.4 Internet Services . 39 2.3.5 Infrastructure Software. 39 2.3.6 Programming Languages and Development . 39 2.4 Important Linux Distributions . 40 2.4.1 Overview . 40 2.4.2 Red Hat . 40 2.4.3 SUSE . 41 2.4.4 Debian . 42 2.4.5 Ubuntu . 43 2.4.6 Others . 44 2.4.7 Differences and Similarities . 44 3 First Steps with Linux 47 3.1 Logging In and Out . 48 3.2 Desktop Environment and Browser . 49 3.2.1 Graphical Desktop Environments . 49 3.2.2 Browsers . 51 3.2.3 Terminals and Shells. 51 3.3 Creating and Modifying Text Files . 51 4 Who’s Afraid Of The Big Bad Shell? 57 4.1 Why? . 58 4.1.1 What Is The Shell? . 58 Copyright © 2012 Linup Front GmbH 4 Contents 4.2 Commands . 59 4.2.1 Why Commands?. 59 4.2.2 Command Structure. 60 4.2.3 Command Types . 61 4.2.4 Even More Rules . 61 5 Getting Help 63 5.1 Self-Help . 64 5.2 The help Command and the --help Option . 64 5.3 The On-Line Manual . 64 5.3.1 Overview . 64 5.3.2 Structure . 65 5.3.3 Chapters . 66 5.3.4 Displaying Manual Pages . 66 5.4 Info Pages . 67 5.5 HOWTOs. 68 5.6 Further Information Sources . 68 6 Files: Care and Feeding 71 6.1 File and Path Names . 72 6.1.1 File Names . 72 6.1.2 Directories . 73 6.1.3 Absolute and Relative Path Names . 74 6.2 Directory Commands . 75 6.2.1 The Current Directory: cd & Co. 75 6.2.2 Listing Files and Directories—ls . 76 6.2.3 Creating and Deleting Directories: mkdir and rmdir . 77 6.3 File Search Patterns . 78 6.3.1 Simple Search Patterns . 78 6.3.2 Character Classes. 80 6.3.3 Braces . 81 6.4 Handling Files . 82 6.4.1 Copying, Moving and Deleting—cp and Friends. 82 6.4.2 Linking Files—ln and ln -s . 84 6.4.3 Displaying File Content—more and less . 87 6.4.4 Searching Files—find . 87 6.4.5 Finding Files Quickly—locate and slocate . 91 7 Regular Expressions 95 7.1 Regular Expressions: The Basics . 96 7.1.1 Regular Expressions: Extras . 96 7.2 Searching Files for Text—grep . 97 8 Standard I/O and Filter Commands 101 8.1 I/O Redirection and Command Pipelines . 102 8.1.1 Standard Channels . 102 8.1.2 Redirecting Standard Channels . 103 8.1.3 Command Pipelines . 106 8.2 Filter Commands . 107 8.3 Reading and Writing Files . 108 8.3.1 Outputting and Concatenating Text Files—cat . 108 8.3.2 Beginning and End—head and tail . 108 8.4 Data Management . 109 8.4.1 Sorted Files—sort and uniq . 109 8.4.2 Columns and Fields—cut, paste etc. 114 9 More About The Shell 119 Copyright © 2012 Linup Front GmbH 5 9.1 Simple Commands: sleep, echo, and date . 120 9.2 Shell Variables and The Environment. 121 9.3 Command Types – Reloaded . 123 9.4 The Shell As A Convenient Tool . 124 9.5 Commands From A File . 127 9.6 The Shell As A Programming Language. 128 10 The File System 133 10.1 Terms . 134 10.2 File Types. 134 10.3 The Linux Directory Tree . 135 10.4 Directory Tree and File Systems. 143 11 Archiving and Compressing Files 145 11.1 Archival and Compression . 146 11.2 Archiving Files Using tar . 147 11.3 Compressing Files with gzip . 150 11.4 Compressing Files with bzip2 . 151 11.5 Archiving and Compressing Files Using zip and unzip . 152 12 Introduction to System Administration 157 12.1 System Administration Basics . 158 12.2 System Configuration . 159 12.3 Processes . 160 12.4 Package Management . 165 13 User Administration 169 13.1 Basics . 170 13.1.1 Why Users? . 170 13.1.2 Users and Groups . 171 13.1.3 People and Pseudo-Users . 173 13.2 User and Group Information. 173 13.2.1 The /etc/passwd File . 173 13.2.2 The /etc/shadow File . 176 13.2.3 The /etc/group File . 178 13.2.4 The /etc/gshadow File . 179 13.3 Managing User Accounts and Group Information . 180 13.3.1 Creating User Accounts . 180 13.3.2 The passwd Command . 182 13.3.3 Deleting User Accounts . 183 13.3.4 Changing User Accounts and Group Assignment . 184 13.3.5 Changing User Information Directly—vipw . 184 13.3.6 Creating, Changing and Deleting Groups . 184 14 Access Control 187 14.1 The Linux Access Control System . 188 14.2 Access Control For Files And Directories . 188 14.2.1 The Basics . 188 14.2.2 Inspecting and Changing Access Permissions. 189 14.2.3 Specifying File Owners and Groups—chown and chgrp . 190 14.3 Process Ownership . 191 14.4 Special Permissions for Executable Files . 191 14.5 Special Permissions for Directories . 192 Copyright © 2012 Linup Front GmbH 6 Contents 15 Linux Networking 197 15.1 Networking Basics . 198 15.1.1 Introduction and Protocols . 198 15.1.2 Addressing and Routing . 199 15.1.3 Names and the DNS. 201 15.1.4 IPv6 . 202 15.2 Linux As A Networking Client . 203 15.2.1 Requirements . 203 15.2.2 Troubleshooting . 204 A Sample Solutions 211 B Example Files 223 C Linux Essentials Certification 227 C.1 Exam Objective Overview . 227 C.2 Exam Objectives For Linux Essentials . 228 D Command Index 235 Index 239 Copyright © 2012 Linup Front GmbH List of Tables 2.1 Comparison of the most important Linux distributions (as of Febru- ary, 2012) . 45 5.1 Manual page sections . 65 5.2 Manual Page Topics . 66 6.1 Some file type designations in ls .................... 76 6.2 Some ls options . 76 6.3 Options for cp ............................... 82 6.4 Keyboard commands for more ...................... 87 6.5 Keyboard commands for less ...................... 88 6.6 Test conditions for find .......................... 88 6.7 Logical operators for find ......................... 89 6.6 Test conditions for find .......................... 89 7.1 Regular expression support . ..
Recommended publications
  • Auditing Overhead, Auditing Adaptation, and Benchmark Evaluation in Linux Lei Zeng1, Yang Xiao1* and Hui Chen2
    SECURITY AND COMMUNICATION NETWORKS Security Comm. Networks 2015; 8:3523–3534 Published online 4 June 2015 in Wiley Online Library (wileyonlinelibrary.com). DOI: 10.1002/sec.1277 RESEARCH ARTICLE Auditing overhead, auditing adaptation, and benchmark evaluation in Linux Lei Zeng1, Yang Xiao1* and Hui Chen2 1 Department of Computer Science, The University of Alabama, Tuscaloosa 35487-0290, AL, U.S.A. 2 Department of Mathematics and Computer Science, Virginia State University, Petersburg 23806, VA, U.S.A. ABSTRACT Logging is a critical component of Linux auditing. However, our experiments indicate that the logging overhead can be significant. The paper aims to leverage the performance overhead introduced by Linux audit framework under various us- age patterns. The study on the problem leads to an adaptive audit-logging mechanism. Many security incidents or other im- portant events are often accompanied with precursory events. We identify important precursory events – the vital signs of system activity and the audit events that must be recorded. We then design an adaptive auditing mechanism that increases or reduces the type of events collected and the frequency of events collected based upon the online analysis of the vital-sign events. The adaptive auditing mechanism reduces the overall system overhead and achieves a similar level of protection on the system and network security. We further adopt LMbench to evaluate the performance of key operations in Linux with compliance to four security standards. Copyright © 2015 John Wiley & Sons, Ltd. KEYWORDS logging; overhead; Linux; auditing *Correspondence Yang Xiao, Department of Computer Science, The University of Alabama, 101 Houser Hall, PO Box 870290, Tuscaloosa 35487-0290, AL, U.S.A.
    [Show full text]
  • Adecuándose a La Norma ISO/IEC 1799 Mediante Software Libre
    Adecu´andose a la norma ISO/IEC 1799 mediante software libre * Jose Fernando Carvajal Vi´on Grupo de Inter´esen Seguridad de ATI (ATI-GISI) <[email protected]> Javier Fern´andez-Sanguino Pe˜na Grupo de Inter´esen Seguridad de ATI (ATI-GISI) <[email protected]> 28 de octubre de 2002 Resumen Este art´ıculo muestra la forma de adecuar a la norma ISO/IEC 17999 un sistema de informaci´onimplementado en un servidor cuyo software de sistema operativo se basa en alguna alternativa de software Libre y c´odigo abierto. La utilizaci´onde una distribuci´onDebian GNU/Linux sirve como base a la que a˜nadir las utilidades y paquetes necesarios para conseguir el objetivo. ´Indice 1. Introducci´on 1 2. Objetivo y Asunciones 2 3. Cumplimiento de la Norma ISO/IEC 17799 en GNU/Linux 4 4. Conclusiones 4 5. Referencias 5 6. Referencias de herramientas 7 7. Referencias Generales 11 *Copyright (c) 2002 Jose Fernando Carvajal y Javier Fern´andez-Sanguino. Se otorga permiso para copiar, distribuir y/o modificar este documento bajo los t´erminos de la Licencia de Documen- taci´onLibre GNU, Versi´on1.1 o cualquier otra versi´onposterior publicada por la Free Software Foundation. Puede consultar una copia de la licencia en: http://www.gnu.org/copyleft/fdl.html 1 1. Introducci´on De forma general para mantener la seguridad de los activos de informaci´on se deben preservar las caracter´ısticas siguientes [1]. 1. Confidencialidad: s´oloel personal o equipos autorizados pueden acceder a la informaci´on. 2. Integridad: la informaci´on y sus m´etodos de proceso son exactos y completos.
    [Show full text]
  • Building Embedded Linux Systems ,Roadmap.18084 Page Ii Wednesday, August 6, 2008 9:05 AM
    Building Embedded Linux Systems ,roadmap.18084 Page ii Wednesday, August 6, 2008 9:05 AM Other Linux resources from O’Reilly Related titles Designing Embedded Programming Embedded Hardware Systems Linux Device Drivers Running Linux Linux in a Nutshell Understanding the Linux Linux Network Adminis- Kernel trator’s Guide Linux Books linux.oreilly.com is a complete catalog of O’Reilly’s books on Resource Center Linux and Unix and related technologies, including sample chapters and code examples. ONLamp.com is the premier site for the open source web plat- form: Linux, Apache, MySQL, and either Perl, Python, or PHP. Conferences O’Reilly brings diverse innovators together to nurture the ideas that spark revolutionary industries. We specialize in document- ing the latest tools and systems, translating the innovator’s knowledge into useful skills for those in the trenches. Visit con- ferences.oreilly.com for our upcoming events. Safari Bookshelf (safari.oreilly.com) is the premier online refer- ence library for programmers and IT professionals. Conduct searches across more than 1,000 books. Subscribers can zero in on answers to time-critical questions in a matter of seconds. Read the books on your Bookshelf from cover to cover or sim- ply flip to the page you need. Try it today for free. main.title Page iii Monday, May 19, 2008 11:21 AM SECOND EDITION Building Embedded Linux SystemsTomcat ™ The Definitive Guide Karim Yaghmour, JonJason Masters, Brittain Gilad and Ben-Yossef, Ian F. Darwin and Philippe Gerum Beijing • Cambridge • Farnham • Köln • Sebastopol • Taipei • Tokyo Building Embedded Linux Systems, Second Edition by Karim Yaghmour, Jon Masters, Gilad Ben-Yossef, and Philippe Gerum Copyright © 2008 Karim Yaghmour and Jon Masters.
    [Show full text]
  • Praise for the Official Ubuntu Book
    Praise for The Official Ubuntu Book “The Official Ubuntu Book is a great way to get you started with Ubuntu, giving you enough information to be productive without overloading you.” —John Stevenson, DZone Book Reviewer “OUB is one of the best books I’ve seen for beginners.” —Bill Blinn, TechByter Worldwide “This book is the perfect companion for users new to Linux and Ubuntu. It covers the basics in a concise and well-organized manner. General use is covered separately from troubleshooting and error-handling, making the book well-suited both for the beginner as well as the user that needs extended help.” —Thomas Petrucha, Austria Ubuntu User Group “I have recommended this book to several users who I instruct regularly on the use of Ubuntu. All of them have been satisfied with their purchase and have even been able to use it to help them in their journey along the way.” —Chris Crisafulli, Ubuntu LoCo Council, Florida Local Community Team “This text demystifies a very powerful Linux operating system . in just a few weeks of having it, I’ve used it as a quick reference a half dozen times, which saved me the time I would have spent scouring the Ubuntu forums online.” —Darren Frey, Member, Houston Local User Group This page intentionally left blank The Official Ubuntu Book Sixth Edition This page intentionally left blank The Official Ubuntu Book Sixth Edition Benjamin Mako Hill Matthew Helmke Amber Graner Corey Burger With Jonathan Jesse, Kyle Rankin, and Jono Bacon Upper Saddle River, NJ • Boston • Indianapolis • San Francisco New York • Toronto • Montreal • London • Munich • Paris • Madrid Capetown • Sydney • Tokyo • Singapore • Mexico City Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks.
    [Show full text]
  • Installing a Real-Time Linux Kernel for Dummies
    Real-Time Linux for Dummies Jeroen de Best, Roel Merry DCT 2008.103 Eindhoven University of Technology Department of Mechanical Engineering Control Systems Technology group P.O. Box 513, WH -1.126 5600 MB Eindhoven, the Netherlands Phone: +31 40 247 42 27 Fax: +31 40 246 14 18 Email: [email protected], [email protected] Website: http://www.dct.tue.nl Eindhoven, January 5, 2009 Contents 1 Introduction 1 2 Installing a Linux distribution 3 2.1 Ubuntu 7.10 . .3 2.2 Mandriva 2008 ONE . .6 2.3 Knoppix 3.9 . 10 3 Installing a real-time kernel 17 3.1 Automatic (Ubuntu only) . 17 3.1.1 CPU Scaling Settings . 17 3.2 Manually . 18 3.2.1 Startup/shutdown problems . 25 4 EtherCAT for Unix 31 4.1 Build Sources . 38 4.1.1 Alternative timer in the EtherCAT Target . 40 5 TUeDACs 43 5.1 Download software . 43 5.2 Configure and build software . 44 5.3 Test program . 45 6 Miscellaneous 47 6.1 Installing ps2 and ps4 printers . 47 6.1.1 In Ubuntu 7.10 . 47 6.1.2 In Mandriva 2008 ONE . 47 6.2 Configure the internet connection . 48 6.3 Installing Matlab2007b for Unix . 49 6.4 Installing JAVA . 50 6.5 Installing SmartSVN . 50 6.6 Ubuntu 7.10, Gutsy Gibbon freezes every 10 minutes for approximately 10 sec 51 6.7 Installing Syntek Semicon DC1125 Driver . 52 Bibliography 55 A Menu.lst HP desktop computer DCT lab WH -1.13 57 i ii CONTENTS Chapter 1 Introduction This document describes the steps needed in order to obtain a real-time operating system based on a Linux distribution.
    [Show full text]
  • Guest OS Compatibility Guide
    Guest OS Compatibility Guide Guest OS Compatibility Guide Last Updated: September 29, 2021 For more information go to vmware.com. Introduction VMware provides the widest virtualization support for guest operating systems in the industry to enable your environments and maximize your investments. The VMware Compatibility Guide shows the certification status of operating system releases for use as a Guest OS by the following VMware products: • VMware ESXi/ESX Server 3.0 and later • VMware Workstation 6.0 and later • VMware Fusion 2.0 and later • VMware ACE 2.0 and later • VMware Server 2.0 and later VMware Certification and Support Levels VMware product support for operating system releases can vary depending upon the specific VMware product release or update and can also be subject to: • Installation of specific patches to VMware products • Installation of specific operating system patches • Adherence to guidance and recommendations that are documented in knowledge base articles VMware attempts to provide timely support for new operating system update releases and where possible, certification of new update releases will be added to existing VMware product releases in the VMware Compatibility Guide based upon the results of compatibility testing. Tech Preview Operating system releases that are shown with the Tech Preview level of support are planned for future support by the VMware product but are not certified for use as a Guest OS for one or more of the of the following reasons: • The operating system vendor has not announced the general availability of the OS release. • Not all blocking issues have been resolved by the operating system vendor.
    [Show full text]
  • Mode D'emploi
    Toujours là pour vous aider Enregistrez votre produit et obtenez de l'assistance sur le site www.philips.com/support AW2000 Des questions ? Contactez Philips Mode d'emploi Table des matières Français 1 Important 2 7 Informations sur le produit 26 Spécificités 26 Sécurité 2 Avertissement 3 8 Dépannage 27 2 Votre récepteur Hi-Fi sans fil 4 Introduction 4 9 Annexe : Signification des Contenu de l'emballage 4 couleurs du voyant 29 Autres éléments nécessaires... 4 Présentation de l'unité principale 5 3 Préparation 6 Téléchargez Philips AirStudio sur votre smartphone ou vos tablettes 6 Connexion à un système d'enceintes existant 7 Connectez l'alimentation électrique et allumez l'appareil 8 4 Connexion de votre AW2000 au réseau Wi-Fi domestique 9 Option 1 : configuration de la connexion sans fil à un routeur autre que WPS par l'intermédiaire d'un appareil iOS 10 Option 2 : configuration par l'intermédiaire d'un routeur Wi-Fi autre que WPS et d'un appareil Android 12 Option 3 : configuration de la connexion sans fil à un routeur WPS 14 Option 4 : configuration de la connexion filaire via un câble Ethernet 16 5 Lecture 17 Diffusez le son audio sur votre AW2000 17 Écoutez des stations de radio Internet sur votre AW2000 20 Lecture à partir d'un appareil externe 23 6 Mise à niveau du micrologiciel 24 FR 1 g N'obstruez pas les orifices de ventilation. 1 Important Installez l'appareil conformément aux consignes du fabricant. h Ne retirez pas le boîtier de l'appareil. i L'appareil ne doit pas être exposé Sécurité aux fuites goutte à goutte ou aux éclaboussures, à la pluie ou à l'humidité.
    [Show full text]
  • Phoronix Test Suite V4.0.1 (Suldal)
    www.phoronix-test-suite.com Phoronix Test Suite v4.0.1 (Suldal) User Manual Phoronix Test Suite v4.0.1 Test Client Documentation Getting Started Overview The Phoronix Test Suite is the most comprehensive testing and benchmarking platform available for Linux, Solaris, Mac OS X, and BSD operating systems. The Phoronix Test Suite allows for carrying out tests in a fully automated manner from test installation to execution and reporting. All tests are meant to be easily reproducible, easy-to-use, and support fully automated execution. The Phoronix Test Suite is open-source under the GNU GPLv3 license and is developed by Phoronix Media in cooperation with partners. Version 1.0 of the Phoronix Test Suite was publicly released in 2008. The Phoronix Test Suite client itself is a test framework for providing seamless execution of test profiles and test suites. There are more than 200 tests available by default, which are transparently available via OpenBenchmarking.org integration. Of these default test profiles there is a range of sub-systems that can be tested and a range of hardware from mobile devices to desktops and worksrtations/servers. New tests can be easily introduced via the Phoronix Test Suite's extensible test architecture, with test profiles consisting of XML files and shell scripts. Test profiles can produce a quantitative result or other qualitative/abstract results like image quality comparisons and pass/fail. Using Phoronix Test Suite modules, other data can also be automatically collected at run-time such as the system power consumption, disk usage, and other software/hardware sensors. Test suites contain references to test profiles to execute as part of a set or can also reference other test suites.
    [Show full text]
  • The Official Ubuntu Book
    Praise for Previous Editions of The Official Ubuntu Book “The Official Ubuntu Book is a great way to get you started with Ubuntu, giving you enough information to be productive without overloading you.” —John Stevenson, DZone book reviewer “OUB is one of the best books I’ve seen for beginners.” —Bill Blinn, TechByter Worldwide “This book is the perfect companion for users new to Linux and Ubuntu. It covers the basics in a concise and well-organized manner. General use is covered separately from troubleshooting and error-handling, making the book well-suited both for the beginner as well as the user that needs extended help.” —Thomas Petrucha, Austria Ubuntu User Group “I have recommended this book to several users who I instruct regularly on the use of Ubuntu. All of them have been satisfied with their purchase and have even been able to use it to help them in their journey along the way.” —Chris Crisafulli, Ubuntu LoCo Council, Florida Local Community Team “This text demystifies a very powerful Linux operating system . In just a few weeks of having it, I’ve used it as a quick reference a half-dozen times, which saved me the time I would have spent scouring the Ubuntu forums online.” —Darren Frey, Member, Houston Local User Group This page intentionally left blank The Official Ubuntu Book Seventh Edition This page intentionally left blank The Official Ubuntu Book Seventh Edition Matthew Helmke Amber Graner With Kyle Rankin, Benjamin Mako Hill, and Jono Bacon Upper Saddle River, NJ • Boston • Indianapolis • San Francisco New York • Toronto • Montreal • London • Munich • Paris • Madrid Capetown • Sydney • Tokyo • Singapore • Mexico City Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks.
    [Show full text]
  • Securing Linux
    466_HTC_Linux_FM.qxd 10/2/07 10:05 AM Page iii How to Cheat at Securing Linux Mohan Krishnamurthy Eric S. Seagren Raven Alder Aaron W. Bayles Josh Burke Skip Carter Eli Faskha 466_HTC_Linux_FM.qxd 10/2/07 10:05 AM Page iv Elsevier, Inc., the author(s), and any person or firm involved in the writing, editing, or production (collectively “Makers”) of this book (“the Work”) do not guarantee or warrant the results to be obtained from the Work. There is no guarantee of any kind, expressed or implied, regarding the Work or its contents.The Work is sold AS IS and WITHOUT WARRANTY.You may have other legal rights, which vary from state to state. In no event will Makers be liable to you for damages, including any loss of profits, lost savings, or other incidental or consequential damages arising out from the Work or its contents. Because some states do not allow the exclusion or limitation of liability for consequential or incidental damages, the above limitation may not apply to you. You should always use reasonable care, including backup and other appropriate precautions, when working with computers, networks, data, and files. Syngress Media®, Syngress®,“Career Advancement Through Skill Enhancement®,”“Ask the Author UPDATE®,” and “Hack Proofing®,” are registered trademarks of Elsevier, Inc.“Syngress:The Definition of a Serious Security Library”™,“Mission Critical™,” and “The Only Way to Stop a Hacker is to Think Like One™” are trademarks of Elsevier, Inc. Brands and product names mentioned in this book are trademarks or service marks of their respective companies. PUBLISHED BY Syngress Publishing, Inc.
    [Show full text]
  • Linux Auditing: Overhead and Adaptation
    IEEE ICC 2015 - Communication and Information Systems Security Symposium 1 Linux Auditing: Overhead and Adaptation Lei Zeng, Yang Xiao* Hui Chen Department of Computer Science, Department of Mathematics and The University of Alabama, Computer Science, Tuscaloosa, AL 35487-0290 USA Virginia State University, Email: [email protected] Petersburg, VA 23806 USA *Prof. Yang Xiao is the corresponding author Abstract— Logging is a critical component of Linux auditing. The Common Criteria is closely related to the Orange Book. The experiments indicate that the logging overhead can be Its goal is to establish a guideline for developing and significant. The paper aims to leverage the performance evaluating computer products in regards to its security overhead introduced by Linux audit framework under various features. The Common Criteria concentrates on the security usage patterns. The study on the problem leads an adaptive audit logging mechanism. The adaptive auditing mechanism reduces threads from human activities. It reiterates the audit the overall system overhead and achieves a similar level of requirement for secure computer systems. Logging is essential protection on the system and network security. to meet the requirement. Although these standards recognize the importance of auditing, the focus is obviously placed in Index items: logging, overhead, Linux, auditing; bookkeeping audit trail/log, which is in fact the system activity log. In regard to the logging functionality of computer systems, I. INTRODUCTION audit information must be recorded and protected selectively UDITING in operating systems (OSs) is necessary to [1, 2, 3, 4]. It is the logging functionality that keeps and A achieve network and system security.
    [Show full text]
  • Linux Newbie Administrator Guide (LNAG)
    1 2 Linux Newbie Administrator Guide (LNAG) Stan and Peter Klimas Feedback welcome at: LinuxNAG at gmail.com November 22, 2009 Preface LNAG License The Linux Newbie Administrator Guide (LNAG) (”The Guide”) is distributed under the Open Content Licence (http://opencontent.org/openpub/) with the following addition: THE GUIDE IS BEING INCREMENTALLY UPDATED. THEREFORE, TO PROVIDE THE BEST VALUE TO OUR READERS, UNLESS THE GUIDE HAS BEEN SUBSTANTIALLY MODIFIED BY AUTHOR(S) OTHER THAN THE ORIGINAL GUIDE AUTHORS, ANY DISTRIBUTOR SHALL DISTRIBUTE A REASONABLY RE- CENT VERSION OF THE GUIDE, I.E., ITS MOST RECENT VERSION OR A VERSION NOT OLDER THEN ONE YEAR ON THE DATE OF WEB SERVING, CD WRITING, OR HARD COPY PRINTING. THE MOST RECENT VERSION OF THE GUIDE IS AVAILABLE AT HTTP://LNAG.SOURCEFORGE.NET. THIS LICENCE MEANS THAT ANY PUBLICLY ACCESSIBLE MIRROR MUST BE UPDATED AT LEAST ONCE A YEAR, IF A NEWER VERSION OF THE GUIDE IS AVAILABLE. PLEASE DO NOT CREATE A MIR- ROR IF YOU DO NOT INTEND TO UPDATE IT. All the code examples are distributed under the GNU General Public Licence (http://www.gnu.org/copyleft/gpl.html). The maintainers of this Guide (Stan and Peter Klimas) can be contacted by email: LinuxNAG at Gmail.com The latest version of this guide is available at http://lnag.sourceforge.net. This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0, 8 or later http://opencontent.org/openpub/ Acknowledgments The Linux Newbie Administrator Guide (LNAG) is hosted FREE OF CHARGE on the DotSrc.org server at Aalborg University, Denmark http://lnag.sourceforge.net.
    [Show full text]