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 re-enter the information. After 3 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 an Ubuntu 16 Server
● Create a .bash_profile
● 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
For each of these steps include a screenshot.
In a minimum 1-page Microsoft Word document, combine the above information with the following:
● Describe how you determined your logical flow for the script.
● Explain how easy or difficult it was to create the script, set permissions, debug, and run.
● Place the completed script in the appendix of your paper.