1. This presentation covers :  User Interface Administration  Files System and Services Management 2.

Slides:



Advertisements
Similar presentations
POS/420 Philip Robbins – March 19, 2013 (Week 2) University of Phoenix Mililani Campus Introduction to Unix.
Advertisements

RH030 Linux Computing Essentials
Linux Users and Groups Management
Basic Unix system administration
Chapter One The Essence of UNIX.
NETW-240 Shells Last Update Copyright Kenneth M. Chipps Ph.D. 1.
Exploring the UNIX File System and File Security
Linux+ Guide to Linux Certification, Second Edition
Chapter 10 Linux 10.1 User Interface Administration
The UNIX File System.
Guide To UNIX Using Linux Third Edition
Guide To UNIX Using Linux Third Edition
Guide to Linux Installation and Administration, 2e1 Chapter 6 Using the Shell and Text Files.
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.
2440: 141 Web Site Administration Remote Web Server Access Tools Instructor: Enoch E. Damson.
Guide To UNIX Using Linux Fourth Edition
Overview of Linux CS3530 Spring 2014 Dr. José M. Garrido Department of Computer Science.
The file structure and related utilities CS240 Computer Science II.
Unix Primer. Unix Shell The shell is a command programming language that provides an interface to the UNIX operating system. The shell is a “regular”
Chapter 9 Part II Linux Command Line Access to Linux Authenticated login using a Linux account is required to access a Linux system. The Linux prompt will.
Introduction to Unix/Linux Chapter One The Essence of UNIX.
Guide to Linux Installation and Administration, 2e1 Chapter 8 Basic Administration Tasks.
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.
Agenda User Profile File (.profile) –Keyword Shell Variables Linux (Unix) filters –Purpose –Commands: grep, sort, awk cut, tr, wc, spell.
Unix Basics Chapter 4.
Cmsc 312 Operating Systems. UNIX? DOS – PC? VAX/VMS - mainframe Unix – PC, workstation, mainframe 1970 bell Lab For computer scientist? Why popular? Free.
CENT 305 Information Systems Security Linux Introduction.
Chapter 9: Networking with Unix and Linux Network+ Guide to Networks Third Edition.
IT2204: Systems Administration I 1 6b). Introduction to Linux.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 8 Linux on the Desktop McGraw-Hill.
Introduction to Unix – CS 21 Lecture 2. Lecture Overview Starting out in Unix Getting help when needed Looking around a little Environment and Environment.
Chapter Two Exploring the UNIX File System and File Security.
Session 2 Wharton Summer Tech Camp Basic Unix. Agenda Cover basic UNIX commands and useful functions.
INTRODUCTION TO LINUX Jacob Chan. GNU/Linux Consists of Linux kernel, GNU utilities, and open source and commercial applications Works like Unix –Multi-user.
ITI-481: Unix Administration Meeting 3 Christopher Uriarte, Instructor Rutgers University Center for Applied Computing Technologies.
Agenda Getting Started: Using Unix Unix Structure / Features Elements of the Unix Philosophy Unix Command Structure Command Line Editing Online Unix Command.
There are three types of users in linux  System users: ?  Super user: ?  Normal users: ?
Chapter Two Exploring the UNIX File System and File Security.
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.
Agenda Basic Unix Commands (Chapters 2 & 3) Miscellaneous Commands: whereis, which, whoami, finger, passwd, cal, date Working with Files: cat, more, less.
Review Please hand in any homework and practicals Vim Scripting Inter-device communication.
Λειτουργικά Συστήματα - Lab1 Γιάννης Πετράκης. The Operating System  Unix is a layered operating system  The innermost layer is the hardware that provides.
UNIX History - joint venture between MIT and Bell Labs (originally called Multics) – Ken Thompson (AT&T) created an operating system to run Space.
Agenda Basic Unix Commands (Chapters 2 & 3) Miscellaneous Commands: which, passwd, date, ps / kill Working with Files: file, touch, cat, more, less, grep,
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
Linux Commands C151 Multi-User Operating Systems.
CS 245 – Part 1 Using Operating Systems and Networks for Programmers Jiang Guo Dept. of Computer Science California State University Los Angeles.
SCSC 455 Computer Security Chapter 3 User Security.
Module 1 - Introduction to Linux. Users must log-in Linux is case sensitive File and Directories naming conventions (No spaces!) Files and Directories.
Lecture – Users and groups
SUSE Linux Enterprise Desktop Administration Chapter 9 Manage Users, Groups, and Permissions.
Linux+ Guide to Linux Certification, Second Edition Chapter 4 Exploring Linux Filesystems.
Lecture 02 File and File system. Topics Describe the layout of a Linux file system Display and set paths Describe the most important files, including.
A Brief Overview of Unix Brandon Bohrer. Topics What is Unix? – Quick introduction Documentation – Where to get it, how to use it Text Editors – Know.
1 CS3695 – Network Vulnerability Assessment & Risk Mitigation – Introduction to Unix & Linux.
ORAFACT The Linux File System. ORAFACT Filesystem Support Support for dozens of filesystem types including: Minix, ext2, MS-DOS, UMSDOS, VFAT, NTFS, NFS,
Linux 101 Training Module Linux Basics.
Welcome to Linux Chap#1 Hanin Abdulrahman.
Linux/Unix - Download Ubuntu Linux :
Basic Commands ls cp ls –l (in detail format) echo ls –a
C151 Multi-User Operating Systems
Command Line Interface for Beginners
9 Linux on the Desktop.
Ubuntu Working in Terminal
Linux Users and Groups Management
Exploring the UNIX File System and File Security
(Chapter 2) John Carelli, Instructor Kutztown University
Welcome to Linux Chap#1 Hanin Abdulrahman.
Welcome to Linux Chap#1.
Presentation transcript:

1

This presentation covers :  User Interface Administration  Files System and Services Management 2

User Interface Administration 3

 Users can log on to a Linux operating system using the Command-Line Interface (CLI).  The Linux CLI provides the user with successive text only prompts to enter a user name and password.  No additional domain information is required. 4

 "X Window" allows Linux to operate similar to the other GUIs.  A typical X Window interface will look somewhat familiar to a Windows user.  Linux users can completely customize their X Window interface to meet their specific needs. 5

 The Linux command-line interface (CLI) allows the user to interact with the system in the same manner as the Windows command prompt.  Users should try entering basic commands.  Do not attempt to randomly guess commands, since such careless activity could have impacts on the system. 6

 The man command displays online manual pages for any of the hundreds of Linux commands.  A listing of all the Linux commands with a brief description of what they do can be obtained by entering man intro at the command line.  A man page can be displayed on the man command itself by typing man man. 7

 A number of different headings or informational areas are in a typical man page.  All commands will have at least a name, a synopsis, and a description.  A common Linux command is cd, which allows users to change directories. 8

 The ls command can be issued with the [options] and the [files] list to display the contents of a specific directory.  When the ls command is issued without these options the contents of the current directory will be listed.  Also more than one filename can be given so that the ls command will list the contents of multiple directories. 9

 The Linux shells operate as a command interpreter.  The command interpreter from the MS-DOS environment is similar.  It combines the interactive features that make the C shell popular with the easier to use shell programming syntax of the Bourne shell.  The Born Again Shell is referred to as the bash shell and is used for many ’UNIX-like’ systems. 10

Files System and Services Management 11

DIRECTORY SUB-DIRECTORY1 SUB-DIRECTORY2 FILE DATA Linux uses a hierarchical file system نظام الملفات المتدرج (الشجري) Directories contain sub- directories Directories and sub- directories hold files 12

ROOT DIRECTORY / BIN BOOT DEV ETC HOME MOUNT PROC USR ROOT SBIN TMP Amal Muna Maha Nada Pictures Downloads Books Videos 13

ROOT /dev /boot /bin /pro c /mnt /etc /home /lib /root /sbin /usr /var /tmp 14

15

16

 Creating files and directories in Linux is a matter of knowing the proper commands and how to use them.  Some of the commands use the same syntax for both files and directories, while others are different. 17

 The find command is used to locate one or more files assuming that you know their approximate filenames.  The find command lets you specify filters, and run commands on the contents of entire directory trees.  The grep command allows you to search for a pattern in a list of files.  The way to search for a string with the grep command is to put the words you are searching for together in single quotes. 18

This presentation covers :  User Accounts and Group Accounts  Files System configuration files  Benefits of Networking  Daemons 19

User Accounts and Group Accounts 20

 User accounts in a Linux system allow several people to be logged into the system at the same time or at different times without interfering with each other.  The term user and account are sometimes used interchangeably.  There are several important terms that will need to be learned. 21

 The Linux operating system is both a multiuser and multitasking system.  The most important user account is the Superuser account; also referred to as the root account.  This account is used by the system administrator to perform any administrative tasks on a Linux system.  The Superuser account can be used in several ways: ◦ root login ◦ Su ◦ Sudo ◦ SUID root files 22

 The root user creates other Linux users with the useradd command.  When this command is entered at the prompt, Linux performs many simultaneous tasks to create the user account, such as creating a home directory and assigning default permissions.  Flags and parameters exist for the useradd command and can be found by viewing its man page. 23

 Use the useradd command useradd  Use the passwd command to set password passwd  Try it… logon as root root useradd amal passwd amal Changing password for user amal New UNIX password: Retype new UNIX password: passwd: all authentication tokens updated successfully 24

 The process of disabling an account requires a bit more effort.  The system administrator must edit the file that stores all user information on the system and manually disable the user's password.  User passwords are stored in a central file known as the ‘shadow’ file, which is located in the /etc directory. vi  This file can be edited with a text editor like vi Editor. 25

 Every group on a Linux system can have anywhere from no members to as many members as there are user accounts on the systems.  Group membership is controlled by the /etc/group file.  To change to a different group after logging into the system use the newgrp command.  The syntax for this command is newgrp for example: newgrp engineering.  The gpasswd command can be used to modify existing groups. 26