Beruflich Dokumente
Kultur Dokumente
…kALI LINux
TOPICS TO BE COVERED TODAY - DAY 1
OPERATING SYSTEM
OVERVIEW OF LINUX OS
BASIC ARCHITECTURE OF LINUX OS
COMPONENTS OF LINUX OS
LINUX FILE SYSTEM
INSTALLATION OF KALI LINUX
USER TYPES IN LINUX OS
CREATING STANDARD USER IN KALI
DETERMINING DISK USAGE
FILE/DIRECTORY OWNERSHIP AND PERMISSION
SPECIAL FILE PERMISSION
BOOTING UP KALI LINUX: THE KALI MENU
FINDING YOUR WAY AROUND KALI
FIND, LOCATE, WHICH AND WHOAMI
OPERATING SYSTEM
(OS)
An Operating System (OS) is an interface between a
computer user and computer hardware.
OVERVIEW OF LINUX
OPERATING SYSTEM
Released by Andrew S.
Tanenbaum
EXT3 and EXT4: Ext3 and Ext4 are used to create and access
logical volume
/boot Store files like boot loader, required during boot time
…NATIVEINTELLIGENCE.COM
USER TYPES IN LINUX
Linux has three types of users
Super-user: Super-user in Linux is called “root”. Root user has
complete privilege in Linux. Only he has the administrator power.
Those three sets are “the owner of the file”, “the group” in which the file
belongs, and "others," meaning other users on the system.
Using the command on TUI: “#ls –l ” will show the files/directories and the
level of permission for each file/directory
•
FILE/DIRECTORY OWNERSHIP AND PERMISSIONS cont’d
The “chmod” command: is use to change permission for filles/directories.
Identities Permissions
u — the user who owns the file (that is, the owner) r— read access
g — the group to which the user belongs w — write access
o — others (not the owner or the owner's group) x — execute access
a — everyone or all (u, g, and o)
Actions
+ — adds the permission
- — removes the permission
= — makes it the only permission
On the TUI
g+w — adds write access for the group
o-rwx — removes all permissions for others
u+x — allows the file owner to execute the file
a+rw — allows everyone to read and write to the file
ug+r — allows the owner and group to read the file
g=rx — allows only the group to read and execute (not write)
a+rwx – allows full access to all users
a-rwx – remove permission for all users, including the owner
SPECIAL FILE PERMISSIONS
There are 3 types of special permission in Linux system
2.Suid (set user id): Using the command “chmod g+s file/folder_name”
Remove Suid: chmod g-s file/folder_name”
3.Sgid (set group id): using the command “chmod u+s file/folder”
Remove Sgid: “chmod u-s file/folder_name”
BOOTING UP KALI LINUX
apt-get update
apt-get upgrade
apt-get install <name_of_tool>
FIND, LOCATE, WHICH AND WHOAMI
To find, one need to know the actual name of what you want to
find.
Using the command “find –name ‘file/folder_name’ “ will show
where such file is located.
Locate will return result of all directories which contain the keyword
searched
Using the command “locat dnsname” will return result of directories
where dnsname can be found