SlideShare a Scribd company logo
Need help in a aspect of Linux System administration.
I am required to address Linux administration problems Linux administration problems via
executing appropriate system commands or via editing / modifying appropriate system files.
The solutions must be for RedHat7.x/CentOS7.x and higher version to be marked properly
by automatic marking system.
My solution will have to be uploaded in a single TEXT (26 line) file, each line of the file being
answer / solution to the task / question specified. Each line has to start with the task number
followed by system command (for the solutions requiring executing system commands) or line you
would enter into shell / appropriate configuration file content (for the solutions requiring
modification of appropriate system files) to achieve requested result.
For example, if task 3 was to provide command configuring network interface eth0 so that the IP
address was 192.168.0.2, network mask was 255.255.255.128 and the broadcast address was
192.168.0.255, you would enter the line as:
3. ifconfig eth0 192.168.0.2 netmask 255.255.255.128 broadcast 192.168.0.255
These are the 26 questions :
Thanks for the help in advance!
1. Which file you would use to redefine existing system variable PATH (provide full path)? 2. How
would you redefine the PATH variable to add path to /home/john/bin directory? 3. Which file you
would use to limit maximum number of logins for a user mariusz to 3 logins at a time (provide full
path)? 4. How would you modify the above file to achieve the result (please show how the line you
would add to the file would look like)? 5. You were requested to add to the system new user called
tatiana. You want to execute the command adding the user to the system so that default shell for
tatiana was be /bin/sh and her initial / primary group was students. How would the command look
like? 6. One of the system users asked you to change his login name from pm75 to mariusz. How
would you achieve this (provide appropriate command)?7. You want to add user mariusz to ACL
(Access Control List) of file /usr/share/ccsm so that this use had read permission (assume the user
does NOT belong to the file group nor he is the file owner). 8. You want to change current
permissions for file /usr/share/ccsm to rwxrr. How the command allowing you to achieve the goal
would look like. 9. You want to check your file system supports ACL. Which command would tell
you this? 10. You want to create in the current directory symbolic link ptr to file /usr/share/ccsm.
How the command allowing you to achieve this would look like? 11. One of the system users clare
forgot her password. How the command initialising her password change would look like? Assume
you execute the command as root (in other words: what command would root execute to change
clare's password). 12. Which file you would modify to add a new DNS server (provide full path)?
13. How would the entry (line) to the above file look like if the DNS server you wanted add to the
system was 217.173.13.13? 14. You want to execute /usr/share/ccsm script every Sunday at 2pm
. How the crontab entry allowing you to achieve this would look like? 15. As system admin (root)
you copied /usr/share/ccsm file to the home directory of user ben. Assuming user ben has his
home directory in the default location for CentOS7.x system, show how you would make the file to
be owned by ben and belong to system group students? 16. You want immediately lock account
for student ben (so that he was unable to login to the system) as it turned out he has fee hold
status. How the command allowing you to achieve this would look like? 17. You want to check
which process(es) running in the system is / are owned by user ben. How the command allowing
you to achieve this may look like? 18. Suppose you have just finished a completely fresh Linux
installation. However, after first system boot it turned out that it by default takes you to the
graphical user interface login prompt (meaning the system boots by default into graphical.target).
Which command would list you all targets to choose from as an alternative to the graphical.target?
(provide full command)? 19. How you would change the default target to multiuser.target which
allows multi user mode but with the graphical user interface not starting (provide full command)?
20. You want to change default location for the users' home directory from/home to /home/users.
Which file you would use to make it a default setting (provide full path)? 21. How the entry (line) to
the above file would look like. 22. Assuming that your network interface name is enp0s 3 , you
would like change default settings for this interface to enforce it to request IP address from a
DHCP server. Which file you would use to force this (provide full path)? 23. How the entry (line) in
the above file would look like? 24. As normal / standard Linux system user mariusz you spotted
that you r default shell is Korn shell /bin/ksh. You definitely prefer BASH /bin/bash shell over Korn
shell (/bin/ksh) so you want it to get changed permanently. However, you do not want to engage
system admin to achieve this as you are perfectly capable to do it on your own. Which file you
would modify (provide full path assuming default location for the user's home directory)? 25. How
the line allowing you to change your default shell would look like. 26. How would you interpret
Heisenberg Uncertainty Principle in the context of wavelet analysis?

More Related Content

DOC
PPTX
File Context
PPT
Linux filesystemhierarchy
DOCX
2. Assume that you are hired as the Network Administrator for a smal.docx
DOCX
Linux admin interview questions
PPT
Linux
PPT
Linux presentation
PPT
Power point on linux commands,appache,php,mysql,html,css,web 2.0
File Context
Linux filesystemhierarchy
2. Assume that you are hired as the Network Administrator for a smal.docx
Linux admin interview questions
Linux
Linux presentation
Power point on linux commands,appache,php,mysql,html,css,web 2.0

Similar to Need help in a aspect of Linux System administration I am r.pdf (20)

PPTX
T02___________Basic_Linux_Commands__pptx
PDF
Linux Cheat Sheet.pdf
DOCX
Content server installation guide
PDF
Samba tutorial
PDF
Linux file commands and shell scripts
PDF
linux installation.pdf
PDF
Guide tohelpyouunderstandvariousmethodsofsystemcopy
PPTX
Linux Systems Programming: Ubuntu Installation and Configuration
PPT
UnixShells.ppt
PPT
UnixShells.pptfhfehrguryhdruiygfjtfgrfjht
PPTX
Linux Based Network Proposal
PPT
PPT
Linux commands
PPT
Linux commands
PPT
Linux commands
PDF
Linux introductory-course-day-1
PPT
Sandy Report
PPT
Sandy Report
PPT
Chapter09 -- networking with unix and linux
PDF
Unix commands in etl testing
T02___________Basic_Linux_Commands__pptx
Linux Cheat Sheet.pdf
Content server installation guide
Samba tutorial
Linux file commands and shell scripts
linux installation.pdf
Guide tohelpyouunderstandvariousmethodsofsystemcopy
Linux Systems Programming: Ubuntu Installation and Configuration
UnixShells.ppt
UnixShells.pptfhfehrguryhdruiygfjtfgrfjht
Linux Based Network Proposal
Linux commands
Linux commands
Linux commands
Linux introductory-course-day-1
Sandy Report
Sandy Report
Chapter09 -- networking with unix and linux
Unix commands in etl testing

More from ABHISANJEET (20)

PDF
Which statements is are true There could be one or mor.pdf
PDF
Three randomly selected households are surveyed The numbers.pdf
PDF
Which is mismatched Interferon alpha and betainhibits vira.pdf
PDF
Upload Matlab files as necessary Showing main solution with.pdf
PDF
todos los siguientes se clasifican como pasivos excepto c.pdf
PDF
The Taurin Partnership a calendaryearend entity has the .pdf
PDF
The CDF of the continuous random variable V is FVv0cv+5.pdf
PDF
Suppose the level of structural unemployment increases How .pdf
PDF
Se muestran cinco tipos de evidencia para la teora de Wegen.pdf
PDF
QUESTION 3 1 Features of atopic dermatitis include select.pdf
PDF
Q1 The following code is developed to save two keyvalue pa.pdf
PDF
Question Given the following set of processes with arriva.pdf
PDF
Prepare a PowerPoint presentation and 1 Describe the early.pdf
PDF
Peter Simpson ngiliz sterlininin alt ay iinde 143a ma.pdf
PDF
On 112020 ABC started operations by issuing common stock .pdf
PDF
After a bleaching event ends a coral reef will be entirely.pdf
PDF
Paleontology Pollens and spore The palynological slices ar.pdf
PDF
Let Y1 and Y2 be a random sample of size 2 from the Uniform.pdf
PDF
Louis Pasteur maya ile alkol fermantasyonu zerine yapt al.pdf
PDF
Let random variable WnPareton1 and n Show that WnP1.pdf
Which statements is are true There could be one or mor.pdf
Three randomly selected households are surveyed The numbers.pdf
Which is mismatched Interferon alpha and betainhibits vira.pdf
Upload Matlab files as necessary Showing main solution with.pdf
todos los siguientes se clasifican como pasivos excepto c.pdf
The Taurin Partnership a calendaryearend entity has the .pdf
The CDF of the continuous random variable V is FVv0cv+5.pdf
Suppose the level of structural unemployment increases How .pdf
Se muestran cinco tipos de evidencia para la teora de Wegen.pdf
QUESTION 3 1 Features of atopic dermatitis include select.pdf
Q1 The following code is developed to save two keyvalue pa.pdf
Question Given the following set of processes with arriva.pdf
Prepare a PowerPoint presentation and 1 Describe the early.pdf
Peter Simpson ngiliz sterlininin alt ay iinde 143a ma.pdf
On 112020 ABC started operations by issuing common stock .pdf
After a bleaching event ends a coral reef will be entirely.pdf
Paleontology Pollens and spore The palynological slices ar.pdf
Let Y1 and Y2 be a random sample of size 2 from the Uniform.pdf
Louis Pasteur maya ile alkol fermantasyonu zerine yapt al.pdf
Let random variable WnPareton1 and n Show that WnP1.pdf

Recently uploaded (20)

PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PDF
advance database management system book.pdf
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
1_English_Language_Set_2.pdf probationary
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PPTX
History, Philosophy and sociology of education (1).pptx
PDF
IGGE1 Understanding the Self1234567891011
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
PDF
Hazard Identification & Risk Assessment .pdf
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PDF
Empowerment Technology for Senior High School Guide
PPTX
Introduction to Building Materials
PDF
My India Quiz Book_20210205121199924.pdf
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
FORM 1 BIOLOGY MIND MAPS and their schemes
advance database management system book.pdf
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
202450812 BayCHI UCSC-SV 20250812 v17.pptx
1_English_Language_Set_2.pdf probationary
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
History, Philosophy and sociology of education (1).pptx
IGGE1 Understanding the Self1234567891011
AI-driven educational solutions for real-life interventions in the Philippine...
What if we spent less time fighting change, and more time building what’s rig...
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
Hazard Identification & Risk Assessment .pdf
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
Empowerment Technology for Senior High School Guide
Introduction to Building Materials
My India Quiz Book_20210205121199924.pdf
Paper A Mock Exam 9_ Attempt review.pdf.
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين

Need help in a aspect of Linux System administration I am r.pdf

  • 1. Need help in a aspect of Linux System administration. I am required to address Linux administration problems Linux administration problems via executing appropriate system commands or via editing / modifying appropriate system files. The solutions must be for RedHat7.x/CentOS7.x and higher version to be marked properly by automatic marking system. My solution will have to be uploaded in a single TEXT (26 line) file, each line of the file being answer / solution to the task / question specified. Each line has to start with the task number followed by system command (for the solutions requiring executing system commands) or line you would enter into shell / appropriate configuration file content (for the solutions requiring modification of appropriate system files) to achieve requested result. For example, if task 3 was to provide command configuring network interface eth0 so that the IP address was 192.168.0.2, network mask was 255.255.255.128 and the broadcast address was 192.168.0.255, you would enter the line as: 3. ifconfig eth0 192.168.0.2 netmask 255.255.255.128 broadcast 192.168.0.255 These are the 26 questions : Thanks for the help in advance! 1. Which file you would use to redefine existing system variable PATH (provide full path)? 2. How would you redefine the PATH variable to add path to /home/john/bin directory? 3. Which file you would use to limit maximum number of logins for a user mariusz to 3 logins at a time (provide full path)? 4. How would you modify the above file to achieve the result (please show how the line you would add to the file would look like)? 5. You were requested to add to the system new user called tatiana. You want to execute the command adding the user to the system so that default shell for tatiana was be /bin/sh and her initial / primary group was students. How would the command look like? 6. One of the system users asked you to change his login name from pm75 to mariusz. How would you achieve this (provide appropriate command)?7. You want to add user mariusz to ACL (Access Control List) of file /usr/share/ccsm so that this use had read permission (assume the user does NOT belong to the file group nor he is the file owner). 8. You want to change current permissions for file /usr/share/ccsm to rwxrr. How the command allowing you to achieve the goal would look like. 9. You want to check your file system supports ACL. Which command would tell you this? 10. You want to create in the current directory symbolic link ptr to file /usr/share/ccsm. How the command allowing you to achieve this would look like? 11. One of the system users clare forgot her password. How the command initialising her password change would look like? Assume you execute the command as root (in other words: what command would root execute to change clare's password). 12. Which file you would modify to add a new DNS server (provide full path)? 13. How would the entry (line) to the above file look like if the DNS server you wanted add to the system was 217.173.13.13? 14. You want to execute /usr/share/ccsm script every Sunday at 2pm . How the crontab entry allowing you to achieve this would look like? 15. As system admin (root) you copied /usr/share/ccsm file to the home directory of user ben. Assuming user ben has his home directory in the default location for CentOS7.x system, show how you would make the file to be owned by ben and belong to system group students? 16. You want immediately lock account for student ben (so that he was unable to login to the system) as it turned out he has fee hold status. How the command allowing you to achieve this would look like? 17. You want to check
  • 2. which process(es) running in the system is / are owned by user ben. How the command allowing you to achieve this may look like? 18. Suppose you have just finished a completely fresh Linux installation. However, after first system boot it turned out that it by default takes you to the graphical user interface login prompt (meaning the system boots by default into graphical.target). Which command would list you all targets to choose from as an alternative to the graphical.target? (provide full command)? 19. How you would change the default target to multiuser.target which allows multi user mode but with the graphical user interface not starting (provide full command)? 20. You want to change default location for the users' home directory from/home to /home/users. Which file you would use to make it a default setting (provide full path)? 21. How the entry (line) to the above file would look like. 22. Assuming that your network interface name is enp0s 3 , you would like change default settings for this interface to enforce it to request IP address from a DHCP server. Which file you would use to force this (provide full path)? 23. How the entry (line) in the above file would look like? 24. As normal / standard Linux system user mariusz you spotted that you r default shell is Korn shell /bin/ksh. You definitely prefer BASH /bin/bash shell over Korn shell (/bin/ksh) so you want it to get changed permanently. However, you do not want to engage system admin to achieve this as you are perfectly capable to do it on your own. Which file you would modify (provide full path assuming default location for the user's home directory)? 25. How the line allowing you to change your default shell would look like. 26. How would you interpret Heisenberg Uncertainty Principle in the context of wavelet analysis?