Linux System Security & Administration
Linux System Security & Administration
Administration
Information Security Education &
Awareness (ISEA) Phase-II
Government Official Training (GOT)
Venue :
ISEA Lab,R.No 3013 A, IIIrd Floor ,DeitY,Electronics
Niketan,CGO Complex
New Delhi-110003
Module-1
Introduction to CentOS Linux
The CentOS Linux File system, The CentOS
Shell, The CentOS Linux Utilities
History
• In 80’s, Microsoft’s DOS was the dominated OS for PC
• Apple MAC was better, but expensive
• UNIX was much better, but much, much more expensive.
Only for minicomputer for commercial applications
• People was looking for a UNIX based system, which is
cheaper and can run on PC
• Both DOS, MAC and UNIX were proprietary, i.e., the source
code of their kernel is protected
• No modification is possible without paying high license
fees
Unix
• Unix is a multitasking, multi-user computer operating system.
• The Unix operating system was conceived and implemented in
1969 at AT&T's Bell Laboratories in the United States by Ken
Thompson, Dennis Ritchie, Douglas McIlroy, and Joe Ossanna.
• First released in 1971, Unix was written entirely in assembly
language as it was common practice at the time.
• Later, in a key pioneering approach in 1973, it was rewritten in
the C programming language by Dennis Ritchie.
• The Unix operating system was first developed in assembly
language, but by 1973 had been almost entirely recoded in C
language , greatly facilitating its further development
and porting to other hardware
What Is Linux?
• Stability Feature
• Functional Compatibility
• Community Backing
• Cost Aspect
Benefits of Using CentOS
• Stability Feature
• Functional Compatibility
• Community Backing
• Cost Aspect
Getting Started
• Kernel :
When your system is booted, the Linux kernel will be loaded
into the memory of your system and after that the kernel will
control the entire operating system.
• Shell :
Shell is an interpreter through which a user can interact with
kernel.
Types of Shell
• Bourn Shell
• C-Shell
• TC-Shell
• Korn Shell
• Bourne Again SHell (bash)
Bourne shell
• The Bourne shell, called "sh," is one of the original shells, developed for Unix
computers by Stephen Bourne at AT&T's Bell Labs in 1977. Its long history of use
means many software developers are familiar with it. It offers features such as input
and output redirection, shell scripting with string and integer variables, and
condition testing and looping
C shell
• C Shell : C shell was created by Bill Joy, while he was studying at University of
California, Berkeley. He released it under BSD license, the syntax of C shell is
similar to C programming language hence the name C shell. It is known as "csh."
TC shell
• TC Shell: An improved version of C shell, provides some additional features like
command line completion and editing. In most of Linux systems /bin/csh is linked
to /bin/tcsh and it alternatives, so when you try to start the C shell, TC shell gets
started. It is known as “tcsh."
Korn Shell
• Korn Shell (ksh): Korn shell was developed by David Korn at AT&T Bell
Laboratories. It contains may features of C shell and Bourne shell. It is known as
"ksh."
Structure of LINUX file system
Structure of LINUX file system