Question: You will be creating a Bash script that will accept two arguments, a username and password. If the proper username and password is input, display
You will be creating a Bash script that will accept two arguments, a username and password. If the proper username and password is input, display the home directory and terminal type. If the input is incorrect, allow them to reenter the information. After failed attempts, inform the user that they do not have access to this information. If no information is passed, prompt the user for the information.
First start by creating a flowchart that accurately depicts the logic for this script.
Put this flowchart in the appendix of your paper.
Next, using the server that you stood up in Part or create a new server on A Cloud Guru.
Create a bashprofile
Create a directory for your Bash scripts
Create the Bash script based on your flowchart
Grant execute permissions to that file
Execute the script with the correct information passed
Execute the script with NO information passed
Execute the script with the WRONG information passed
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
