SlideShare a Scribd company logo
1 of 6
Day - 2 Assignment Project
Title: Control file access to users
Objective: Interpret the effects of files & directory permissions on access by users and
groups. Change the permissions and ownership of files with command-line tools.
i) Create users with the name Harry, Sarah, Natasha
ii) Create a group called Developers. And add user Harry & Natasha to a group
Developers.
iii) Now Create a collaborative directory called /Project/Development and add app1 &
app2 files inside the directory /Project/Development.
iv) Now change the group ownership of the /Project directory and all its sub-directories
to Developers.
v) Now assign rwx permission to user/owner, rw permission to group owner, no
permission to others for /Project directory & and all it contents.
vi) The user Natasha should able to read, write & execute the files inside the
/Project/Development directory using sudo access.
Outcomes: Create a collaborative directory that all members of a group can access.
Project 1
Title: Manage Default Permission
Objective: Control the default permissions of user-created files & directories.
i) Create an user account with the name Potter and set password as RedHat.
ii) Now configure the user setting accordingly,
1) If the user creates any file that should have a default permission rw--r-----
2) If the user creates any directory it should have a default permission as drwxr-
x---
iii) Make sure that the configuration were made persistently !!
Outcomes: Adjust default permissions using umask for users.
Project 2
Title: Working with Special Permission in Linux
Objective: Special permissions are a fourth permission type in addition to the user,
group, and other types. As the name implies, special permissions provide additional
access-related features beyond what the basic permission types allow.
i) Create the following users John, Khan, Mohamed and group them together using the
group Sales.
ii) Now create a directory called /project. And change the group ownership of the
directory of to Sales.
iii) Now assign the special permission to the directory so that the files create should
have the group ownership to Sales.
iv) Now make sure that all files created or Stored under the directory should able to
edit or delete only by the owner.
v) Now assign the special permission to useradd command so that all users can able to
execute useradd command.
Outcomes: Create a shared directory where the Sales group automatically owns new
files. Manage special permissions to gain special access.
Project 3
Title: Configure SELinux Ports to Manage Custom Ports
Objective: Manage the SELinux policy rules that determine the default port for Linux
services with the semanage port command, and apply the custom ports defined by the
SELinux policy to services.
i) As a administrator, your task is to secure the organization.
ii) So your task is to configure the SSHD service to run in non-standard port 9091.
iii) Also you need to configure the SELinux to allow the sshd to access the port 9091.
iv) Then configure the firewall to allow the port 9091
Outcomes: Gain experience with SELinux port troubleshooting
Project 4
Title: Performance Tuning
Objective: Optimize system performance by selecting a tuning profile that the tuned
daemon manages.
i) Install tuned daemon package by software installation commands.
ii) Then optimize the system to better provide performance by setting up the
recommend tuned profile.
iii) Now create a script and execute using following information,
iv) Then verify the process which consume more CPU, Memory, Disk usage and kill that
process with the help of TOP monitor.
Outcomes: Manage process management in Real-time.
Project 5

More Related Content

Similar to Day 2.pptx

World Domination Through Helix Broker
World Domination Through Helix BrokerWorld Domination Through Helix Broker
World Domination Through Helix BrokerPerforce
 
Rhce syllabus | Red Hat Linux Training: IPSR Solutions
Rhce syllabus | Red Hat Linux Training: IPSR SolutionsRhce syllabus | Red Hat Linux Training: IPSR Solutions
Rhce syllabus | Red Hat Linux Training: IPSR SolutionsIPSRAptitudetraining
 
Topic 3-1_More_Linux_Commands.pptx
Topic 3-1_More_Linux_Commands.pptxTopic 3-1_More_Linux_Commands.pptx
Topic 3-1_More_Linux_Commands.pptxdulala3
 
Introduction to linux at Introductory Bioinformatics Workshop
Introduction to linux at Introductory Bioinformatics WorkshopIntroduction to linux at Introductory Bioinformatics Workshop
Introduction to linux at Introductory Bioinformatics WorkshopSetor Amuzu
 
Document Repository Management
Document Repository ManagementDocument Repository Management
Document Repository Managementviralbhuva
 
Docker Global Hack Day #3
Docker Global Hack Day #3 Docker Global Hack Day #3
Docker Global Hack Day #3 Docker, Inc.
 
Please make GUI in Eclipse Java Media Rental System Before attempting.pdf
Please make GUI in Eclipse Java Media Rental System Before attempting.pdfPlease make GUI in Eclipse Java Media Rental System Before attempting.pdf
Please make GUI in Eclipse Java Media Rental System Before attempting.pdfasenterprisestyagi
 
linux-lecture1.ppt
linux-lecture1.pptlinux-lecture1.ppt
linux-lecture1.pptNikhil Raut
 
Linux: Everyting-as-a-service
Linux: Everyting-as-a-serviceLinux: Everyting-as-a-service
Linux: Everyting-as-a-serviceRohit Sansiya
 
Introduction to Linux | Big Data Hadoop Spark Tutorial | CloudxLab
Introduction to Linux | Big Data Hadoop Spark Tutorial | CloudxLabIntroduction to Linux | Big Data Hadoop Spark Tutorial | CloudxLab
Introduction to Linux | Big Data Hadoop Spark Tutorial | CloudxLabCloudxLab
 
Webinar: Linux administration : Past, Present and Is the Future
Webinar: Linux administration : Past, Present and Is the FutureWebinar: Linux administration : Past, Present and Is the Future
Webinar: Linux administration : Past, Present and Is the FutureEdureka!
 
Course 102: Lecture 14: Users and Permissions
Course 102: Lecture 14: Users and PermissionsCourse 102: Lecture 14: Users and Permissions
Course 102: Lecture 14: Users and PermissionsAhmed El-Arabawy
 
Java Developer Intro to Environment Management with Vagrant, Puppet, and Dock...
Java Developer Intro to Environment Management with Vagrant, Puppet, and Dock...Java Developer Intro to Environment Management with Vagrant, Puppet, and Dock...
Java Developer Intro to Environment Management with Vagrant, Puppet, and Dock...Lucas Jellema
 

Similar to Day 2.pptx (20)

World Domination Through Helix Broker
World Domination Through Helix BrokerWorld Domination Through Helix Broker
World Domination Through Helix Broker
 
Docker
Docker Docker
Docker
 
Rhce syllabus | Red Hat Linux Training: IPSR Solutions
Rhce syllabus | Red Hat Linux Training: IPSR SolutionsRhce syllabus | Red Hat Linux Training: IPSR Solutions
Rhce syllabus | Red Hat Linux Training: IPSR Solutions
 
Topic 3-1_More_Linux_Commands.pptx
Topic 3-1_More_Linux_Commands.pptxTopic 3-1_More_Linux_Commands.pptx
Topic 3-1_More_Linux_Commands.pptx
 
Linux privesc.pptx
Linux privesc.pptxLinux privesc.pptx
Linux privesc.pptx
 
Introduction to linux at Introductory Bioinformatics Workshop
Introduction to linux at Introductory Bioinformatics WorkshopIntroduction to linux at Introductory Bioinformatics Workshop
Introduction to linux at Introductory Bioinformatics Workshop
 
Document Repository Management
Document Repository ManagementDocument Repository Management
Document Repository Management
 
Docker Global Hack Day #3
Docker Global Hack Day #3 Docker Global Hack Day #3
Docker Global Hack Day #3
 
Please make GUI in Eclipse Java Media Rental System Before attempting.pdf
Please make GUI in Eclipse Java Media Rental System Before attempting.pdfPlease make GUI in Eclipse Java Media Rental System Before attempting.pdf
Please make GUI in Eclipse Java Media Rental System Before attempting.pdf
 
SW Docker Security
SW Docker SecuritySW Docker Security
SW Docker Security
 
LXC NSAttach
LXC NSAttachLXC NSAttach
LXC NSAttach
 
linux-lecture1.ppt
linux-lecture1.pptlinux-lecture1.ppt
linux-lecture1.ppt
 
Linux: Everyting-as-a-service
Linux: Everyting-as-a-serviceLinux: Everyting-as-a-service
Linux: Everyting-as-a-service
 
Introduction to Linux | Big Data Hadoop Spark Tutorial | CloudxLab
Introduction to Linux | Big Data Hadoop Spark Tutorial | CloudxLabIntroduction to Linux | Big Data Hadoop Spark Tutorial | CloudxLab
Introduction to Linux | Big Data Hadoop Spark Tutorial | CloudxLab
 
Webinar: Linux administration : Past, Present and Is the Future
Webinar: Linux administration : Past, Present and Is the FutureWebinar: Linux administration : Past, Present and Is the Future
Webinar: Linux administration : Past, Present and Is the Future
 
Ch11
Ch11Ch11
Ch11
 
Linux Training
Linux Training Linux Training
Linux Training
 
Course 102: Lecture 14: Users and Permissions
Course 102: Lecture 14: Users and PermissionsCourse 102: Lecture 14: Users and Permissions
Course 102: Lecture 14: Users and Permissions
 
Docker Dojo
Docker DojoDocker Dojo
Docker Dojo
 
Java Developer Intro to Environment Management with Vagrant, Puppet, and Dock...
Java Developer Intro to Environment Management with Vagrant, Puppet, and Dock...Java Developer Intro to Environment Management with Vagrant, Puppet, and Dock...
Java Developer Intro to Environment Management with Vagrant, Puppet, and Dock...
 

Recently uploaded

80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answersdalebeck957
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationNeilDeclaro1
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactisticshameyhk98
 

Recently uploaded (20)

80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health Education
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 

Day 2.pptx

  • 1. Day - 2 Assignment Project
  • 2. Title: Control file access to users Objective: Interpret the effects of files & directory permissions on access by users and groups. Change the permissions and ownership of files with command-line tools. i) Create users with the name Harry, Sarah, Natasha ii) Create a group called Developers. And add user Harry & Natasha to a group Developers. iii) Now Create a collaborative directory called /Project/Development and add app1 & app2 files inside the directory /Project/Development. iv) Now change the group ownership of the /Project directory and all its sub-directories to Developers. v) Now assign rwx permission to user/owner, rw permission to group owner, no permission to others for /Project directory & and all it contents. vi) The user Natasha should able to read, write & execute the files inside the /Project/Development directory using sudo access. Outcomes: Create a collaborative directory that all members of a group can access. Project 1
  • 3. Title: Manage Default Permission Objective: Control the default permissions of user-created files & directories. i) Create an user account with the name Potter and set password as RedHat. ii) Now configure the user setting accordingly, 1) If the user creates any file that should have a default permission rw--r----- 2) If the user creates any directory it should have a default permission as drwxr- x--- iii) Make sure that the configuration were made persistently !! Outcomes: Adjust default permissions using umask for users. Project 2
  • 4. Title: Working with Special Permission in Linux Objective: Special permissions are a fourth permission type in addition to the user, group, and other types. As the name implies, special permissions provide additional access-related features beyond what the basic permission types allow. i) Create the following users John, Khan, Mohamed and group them together using the group Sales. ii) Now create a directory called /project. And change the group ownership of the directory of to Sales. iii) Now assign the special permission to the directory so that the files create should have the group ownership to Sales. iv) Now make sure that all files created or Stored under the directory should able to edit or delete only by the owner. v) Now assign the special permission to useradd command so that all users can able to execute useradd command. Outcomes: Create a shared directory where the Sales group automatically owns new files. Manage special permissions to gain special access. Project 3
  • 5. Title: Configure SELinux Ports to Manage Custom Ports Objective: Manage the SELinux policy rules that determine the default port for Linux services with the semanage port command, and apply the custom ports defined by the SELinux policy to services. i) As a administrator, your task is to secure the organization. ii) So your task is to configure the SSHD service to run in non-standard port 9091. iii) Also you need to configure the SELinux to allow the sshd to access the port 9091. iv) Then configure the firewall to allow the port 9091 Outcomes: Gain experience with SELinux port troubleshooting Project 4
  • 6. Title: Performance Tuning Objective: Optimize system performance by selecting a tuning profile that the tuned daemon manages. i) Install tuned daemon package by software installation commands. ii) Then optimize the system to better provide performance by setting up the recommend tuned profile. iii) Now create a script and execute using following information, iv) Then verify the process which consume more CPU, Memory, Disk usage and kill that process with the help of TOP monitor. Outcomes: Manage process management in Real-time. Project 5