SlideShare a Scribd company logo
Passwords
Passwords
By : Khawar Nehal
6 October 2021
Agenda
Password standards
Storing passwords
Changing passwords
File System FHS
File Names
Some commands
Password Standards
Password standards
https://www.slideshare.net/khawar.nehal/passwor
d-security-bykhawar6sep20141-38759555
FHS
FHS Presentation
fhs presentation link to local drive
File Names
File Names
File System Types
In computing, file system or filesystem is a method and
data structure that the operating system uses to control
how data is stored and retrieved.
Without a file system, data placed in a storage medium
would be one large body of data with no way to tell where
one piece of data stops and the next begins.
File System Types
By separating the data into pieces and giving each piece
a name, the data is easily isolated and identified.
Taking its name from the way paper-based data
management system is named, each group of data is
called a "file."
The structure and logic rules used to manage the groups
of data and their names is called a "file system."
File System Types
There are many different kinds of file systems. Each one
has different structure and logic, properties of speed,
flexibility, security, size and more. Some file systems
have been designed to be used for specific applications.
For example, the ISO 9660 file system is designed
specifically for optical discs.
File System Types
File systems can be used on numerous different types of
storage devices that use different kinds of media.
As of 2019, hard disk drives have been key storage
devices and are projected to remain so for the
foreseeable future.
Other kinds of media that are used include SSDs,
magnetic tapes, and optical discs. In some cases, such
as with tmpfs, the computer's main memory (random-
access memory, RAM) is used to create a temporary file
system for short-term use.
File System Types
Some file systems are used on local data storage
devices; others provide file access via a network protocol
(for example, NFS, SMB, or 9P clients).
Some file systems are "virtual", meaning that the
supplied "files" (called virtual files) are computed on
request (such as procfs and sysfs) or are merely a
mapping into a different file system used as a backing
store.
File System Types
Good summary
https://en.wikipedia.org/wiki/File_system
Comparison
https://en.wikipedia.org/wiki/Comparison_of_file_systems
Important ones to know
The ones to know are ext2,3,4 and ZFS.
The others are for advanced specific cases when the
above ones are not capable or compatible.
An example is SSD Drives and NVRAM. Not part of this
intro course.
Important ones to know
Ext2, ext3 and ext4 are commonly used in Linux.
When you have less than 3 harddisks in a machine.
ZFS can be used for making storage servers.
When you have at least 3 harddisks in a machine.
Next topic
The rest of the file system slides are to be skipped
because they shall be too technical.
Keep for reference only.
Go to Slide 31
File System Types
The file system manages access to both the content of
files and the metadata about those files. It is responsible
for arranging storage space; reliability, efficiency, and
tuning with regard to the physical storage medium are
important design considerations.
Linux File Systems
Linux supports numerous file systems, but common
choices for the system disk on a block device include the
ext* family (ext2, ext3 and ext4), XFS, JFS, and btrfs.
For raw flash without a flash translation layer (FTL) or
Memory Technology Device (MTD), there are UBIFS,
JFFS2 and YAFFS, among others. SquashFS is a
common compressed read-only file system.
ZFS
Examples of features specific to ZFS include:
Designed for long-term storage of data, and
indefinitely scaled datastore sizes with zero data loss,
and high configurability.
ZFS
Hierarchical checksumming of all data and metadata,
ensuring that the entire storage system can be verified
on use, and confirmed to be correctly stored, or remedied
if corrupt.
Checksums are stored with a block's parent block, rather
than with the block itself.
This contrasts with many file systems where checksums
(if held) are stored with the data so that if the data is lost
or corrupt, the checksum is also likely to be lost or
incorrect.
ZFS
Can store a user-specified number of copies of data or
metadata, or selected types of data, to improve the ability
to recover from data corruption of important files and
structures.
ZFS
Automatic rollback of recent changes to the file system
and data, in some circumstances, in the event of an error
or inconsistency.
ZFS
Automated and (usually) silent self-healing of data
inconsistencies and write failure when detected, for all
errors where the data is capable of reconstruction. Data
can be reconstructed using all of the following: error
detection and correction checksums stored in each
block's parent block; multiple copies of data (including
checksums) held on the disk; write intentions logged on
the SLOG (ZIL) for writes that should have occurred but
did not occur (after a power failure); parity data from
RAID/RAID-Z disks and volumes; copies of data from
mirrored disks and volumes.
ZFS
Native handling of standard RAID levels and additional
ZFS RAID layouts ("RAID-Z"). The RAID-Z levels stripe
data across only the disks required, for efficiency (many
RAID systems stripe indiscriminately across all devices),
and checksumming allows rebuilding of inconsistent or
corrupted data to be minimized to those blocks with
defects;
ZFS
Native handling of tiered storage and caching devices,
which is usually a volume related task.
Because ZFS also understands the file system, it can use
file-related knowledge to inform, integrate and optimize
its tiered storage handling which a separate device
cannot;
ZFS
Native handling of snapshots and backup/replication
which can be made efficient by integrating the volume
and file handling. Relevant tools are provided at a low
level and require external scripts and software for
utilization.
ZFS
Native data compression and deduplication, although the
latter is largely handled in RAM and is memory hungry.
ZFS
One major feature that distinguishes ZFS from other file
systems is that it is designed with a focus on data
integrity by protecting the user's data on disk against
silent data corruption caused by data degradation, power
surges (voltage spikes), bugs in disk firmware, phantom
writes (the previous write did not make it to disk),
misdirected reads/writes (the disk accesses the wrong
block), DMA parity errors between the array and server
memory or from the driver (since the checksum validates
data inside the array), driver errors (data winds up in the
wrong buffer inside the kernel), accidental overwrites
(such as swapping to a live file system), etc.
ZFS
A 1999 study showed that neither any of the then-major
and widespread filesystems (such as UFS, Ext, XFS,
JFS, or NTFS), nor hardware RAID (which has some
issues with data integrity) provided sufficient protection
against data corruption problems.
Initial research indicates that ZFS protects data better
than earlier efforts.
It is also faster than UFS and can be seen as its
replacement.
File System Types
Changing the password
passwd for the user and root
Some commands
Now we shall continue with some of the hundreds
of Linux and Unix commands available to
administrators.
Directory shortcuts
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Find locate kfind
Find, locate , updatedb and kfind explanation.
wildcards
wildcards
wildcards
wildcards
wildcards
wildcards
wildcards
wildcards
wildcards
wildcards
wildcards
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4
Linux passwords class 4

More Related Content

PDF
Linux commands Class 5 - 8 oct 2021
PDF
File systems linux class 8
PPTX
FILE SYSTEMS IN WINDOWS OPERATING SYSTEMS
PDF
Linux course fhs file hierarchy standard
PPTX
File system Os
PPTX
File Management
PPTX
File system structure
PPTX
File System in Operating System
Linux commands Class 5 - 8 oct 2021
File systems linux class 8
FILE SYSTEMS IN WINDOWS OPERATING SYSTEMS
Linux course fhs file hierarchy standard
File system Os
File Management
File system structure
File System in Operating System

What's hot (19)

PPTX
file system in operating system
PPTX
directory structure and file system mounting
PPTX
Linux and windows file system
PDF
File system
PDF
Operating Systems - Implementing File Systems
PPTX
File System Implementation
PPT
PPTX
File system.
PPTX
File System Interface
PPT
File system
PDF
File System Implementation - Part1
PDF
File management
PPT
PPTX
File Management – File Concept, access methods, File types and File Operation
PPT
Xfs file system for linux
PDF
ITFT_File system interface in Operating System
PPTX
Microsoft Windows File System in Operating System
PPT
Chapter07 Advanced File System Management
file system in operating system
directory structure and file system mounting
Linux and windows file system
File system
Operating Systems - Implementing File Systems
File System Implementation
File system.
File System Interface
File system
File System Implementation - Part1
File management
File Management – File Concept, access methods, File types and File Operation
Xfs file system for linux
ITFT_File system interface in Operating System
Microsoft Windows File System in Operating System
Chapter07 Advanced File System Management
Ad

Similar to Linux passwords class 4 (20)

PPSX
File system security
PDF
introduction to information security and management
ODP
Distributed File System
 
PPTX
Files and directories in Linux 6
PPT
Distributed file systems
PDF
CIT173_Ch15_Mnstr_23.pdf
PPT
XFS.ppt
PPTX
File Management
DOCX
Block Level Storage Vs File Level Storage
PDF
Posscon2013
PPTX
What is Object storage ?
PPTX
Disk and File System Management in Linux
PDF
Distributed File Systems
PPTX
Distributed file system
PPT
File Carving
PPTX
Ankit Bargali Ouiiihhhoojpk;oihigigiS BCA-IV.pptx
PPTX
I/O System and Case study
ODP
Vmfs
PPT
Magnetic disk - Krishna Geetha.ppt
PPTX
Advanced Operating Systems- Distributed file system and caching
File system security
introduction to information security and management
Distributed File System
 
Files and directories in Linux 6
Distributed file systems
CIT173_Ch15_Mnstr_23.pdf
XFS.ppt
File Management
Block Level Storage Vs File Level Storage
Posscon2013
What is Object storage ?
Disk and File System Management in Linux
Distributed File Systems
Distributed file system
File Carving
Ankit Bargali Ouiiihhhoojpk;oihigigiS BCA-IV.pptx
I/O System and Case study
Vmfs
Magnetic disk - Krishna Geetha.ppt
Advanced Operating Systems- Distributed file system and caching
Ad

More from Khawar Nehal khawar.nehal@atrc.net.pk (20)

PDF
Linux Class 1 Reasons to use linux
PDF
Same old lessons in investing
PDF
Linux class 15 26 oct 2021
PDF
Linux class 10 15 oct 2021-6
PDF
Linux class 9 15 oct 2021-5
PDF
Using linux 5 oct 2021 3
PDF
Everyday uses of linux
PDF
Artificial Intelligence by Khawar Nehal
PDF
Artificial Intelligence in Banking
PDF
RevOps Revenue Operations
PDF
Management techniques of the world by khawar nehal 4 august 2020-1
PDF
Kona (TM) Autonomous Cars Anti Collision System
PDF
What was learned about what works in distance learning in 2020
PDF
Values provided by businesses
PDF
Effective and complete Cybersecurity HOWTO
PDF
Solar Eclipse 26 dec 2019 health issues
Linux Class 1 Reasons to use linux
Same old lessons in investing
Linux class 15 26 oct 2021
Linux class 10 15 oct 2021-6
Linux class 9 15 oct 2021-5
Using linux 5 oct 2021 3
Everyday uses of linux
Artificial Intelligence by Khawar Nehal
Artificial Intelligence in Banking
RevOps Revenue Operations
Management techniques of the world by khawar nehal 4 august 2020-1
Kona (TM) Autonomous Cars Anti Collision System
What was learned about what works in distance learning in 2020
Values provided by businesses
Effective and complete Cybersecurity HOWTO
Solar Eclipse 26 dec 2019 health issues

Recently uploaded (20)

PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Pharma ospi slides which help in ospi learning
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Complications of Minimal Access Surgery at WLH
PDF
Insiders guide to clinical Medicine.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Cell Structure & Organelles in detailed.
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
master seminar digital applications in india
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Classroom Observation Tools for Teachers
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
human mycosis Human fungal infections are called human mycosis..pptx
Pharma ospi slides which help in ospi learning
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
Supply Chain Operations Speaking Notes -ICLT Program
Abdominal Access Techniques with Prof. Dr. R K Mishra
Complications of Minimal Access Surgery at WLH
Insiders guide to clinical Medicine.pdf
Microbial diseases, their pathogenesis and prophylaxis
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Microbial disease of the cardiovascular and lymphatic systems
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Cell Structure & Organelles in detailed.
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
master seminar digital applications in india
O7-L3 Supply Chain Operations - ICLT Program
Classroom Observation Tools for Teachers
Renaissance Architecture: A Journey from Faith to Humanism

Linux passwords class 4

  • 2. Passwords By : Khawar Nehal 6 October 2021
  • 3. Agenda Password standards Storing passwords Changing passwords File System FHS File Names Some commands
  • 8. File System Types In computing, file system or filesystem is a method and data structure that the operating system uses to control how data is stored and retrieved. Without a file system, data placed in a storage medium would be one large body of data with no way to tell where one piece of data stops and the next begins.
  • 9. File System Types By separating the data into pieces and giving each piece a name, the data is easily isolated and identified. Taking its name from the way paper-based data management system is named, each group of data is called a "file." The structure and logic rules used to manage the groups of data and their names is called a "file system."
  • 10. File System Types There are many different kinds of file systems. Each one has different structure and logic, properties of speed, flexibility, security, size and more. Some file systems have been designed to be used for specific applications. For example, the ISO 9660 file system is designed specifically for optical discs.
  • 11. File System Types File systems can be used on numerous different types of storage devices that use different kinds of media. As of 2019, hard disk drives have been key storage devices and are projected to remain so for the foreseeable future. Other kinds of media that are used include SSDs, magnetic tapes, and optical discs. In some cases, such as with tmpfs, the computer's main memory (random- access memory, RAM) is used to create a temporary file system for short-term use.
  • 12. File System Types Some file systems are used on local data storage devices; others provide file access via a network protocol (for example, NFS, SMB, or 9P clients). Some file systems are "virtual", meaning that the supplied "files" (called virtual files) are computed on request (such as procfs and sysfs) or are merely a mapping into a different file system used as a backing store.
  • 13. File System Types Good summary https://en.wikipedia.org/wiki/File_system Comparison https://en.wikipedia.org/wiki/Comparison_of_file_systems
  • 14. Important ones to know The ones to know are ext2,3,4 and ZFS. The others are for advanced specific cases when the above ones are not capable or compatible. An example is SSD Drives and NVRAM. Not part of this intro course.
  • 15. Important ones to know Ext2, ext3 and ext4 are commonly used in Linux. When you have less than 3 harddisks in a machine. ZFS can be used for making storage servers. When you have at least 3 harddisks in a machine.
  • 16. Next topic The rest of the file system slides are to be skipped because they shall be too technical. Keep for reference only. Go to Slide 31
  • 17. File System Types The file system manages access to both the content of files and the metadata about those files. It is responsible for arranging storage space; reliability, efficiency, and tuning with regard to the physical storage medium are important design considerations.
  • 18. Linux File Systems Linux supports numerous file systems, but common choices for the system disk on a block device include the ext* family (ext2, ext3 and ext4), XFS, JFS, and btrfs. For raw flash without a flash translation layer (FTL) or Memory Technology Device (MTD), there are UBIFS, JFFS2 and YAFFS, among others. SquashFS is a common compressed read-only file system.
  • 19. ZFS Examples of features specific to ZFS include: Designed for long-term storage of data, and indefinitely scaled datastore sizes with zero data loss, and high configurability.
  • 20. ZFS Hierarchical checksumming of all data and metadata, ensuring that the entire storage system can be verified on use, and confirmed to be correctly stored, or remedied if corrupt. Checksums are stored with a block's parent block, rather than with the block itself. This contrasts with many file systems where checksums (if held) are stored with the data so that if the data is lost or corrupt, the checksum is also likely to be lost or incorrect.
  • 21. ZFS Can store a user-specified number of copies of data or metadata, or selected types of data, to improve the ability to recover from data corruption of important files and structures.
  • 22. ZFS Automatic rollback of recent changes to the file system and data, in some circumstances, in the event of an error or inconsistency.
  • 23. ZFS Automated and (usually) silent self-healing of data inconsistencies and write failure when detected, for all errors where the data is capable of reconstruction. Data can be reconstructed using all of the following: error detection and correction checksums stored in each block's parent block; multiple copies of data (including checksums) held on the disk; write intentions logged on the SLOG (ZIL) for writes that should have occurred but did not occur (after a power failure); parity data from RAID/RAID-Z disks and volumes; copies of data from mirrored disks and volumes.
  • 24. ZFS Native handling of standard RAID levels and additional ZFS RAID layouts ("RAID-Z"). The RAID-Z levels stripe data across only the disks required, for efficiency (many RAID systems stripe indiscriminately across all devices), and checksumming allows rebuilding of inconsistent or corrupted data to be minimized to those blocks with defects;
  • 25. ZFS Native handling of tiered storage and caching devices, which is usually a volume related task. Because ZFS also understands the file system, it can use file-related knowledge to inform, integrate and optimize its tiered storage handling which a separate device cannot;
  • 26. ZFS Native handling of snapshots and backup/replication which can be made efficient by integrating the volume and file handling. Relevant tools are provided at a low level and require external scripts and software for utilization.
  • 27. ZFS Native data compression and deduplication, although the latter is largely handled in RAM and is memory hungry.
  • 28. ZFS One major feature that distinguishes ZFS from other file systems is that it is designed with a focus on data integrity by protecting the user's data on disk against silent data corruption caused by data degradation, power surges (voltage spikes), bugs in disk firmware, phantom writes (the previous write did not make it to disk), misdirected reads/writes (the disk accesses the wrong block), DMA parity errors between the array and server memory or from the driver (since the checksum validates data inside the array), driver errors (data winds up in the wrong buffer inside the kernel), accidental overwrites (such as swapping to a live file system), etc.
  • 29. ZFS A 1999 study showed that neither any of the then-major and widespread filesystems (such as UFS, Ext, XFS, JFS, or NTFS), nor hardware RAID (which has some issues with data integrity) provided sufficient protection against data corruption problems. Initial research indicates that ZFS protects data better than earlier efforts. It is also faster than UFS and can be seen as its replacement.
  • 31. Changing the password passwd for the user and root
  • 32. Some commands Now we shall continue with some of the hundreds of Linux and Unix commands available to administrators.
  • 37. Find locate kfind Find, locate , updatedb and kfind explanation.