Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are provided a few files: instructions: This file passwords: A sample user accounts file (no need to change anything in here unless you want

You are provided a few files: instructions: This file passwords: A sample user accounts file (no need to change anything in here unless you want to) provide.c: This is a modified version of your hw3 assigment, it adds user account/logins and a couple new menu options sample_linux: The sample implementation of your assignment, you want to make your program work like the sample (also you may want to use it for hints on how to accomplish your task)

What you need to do: Complete menu option 1: Print your name and id Complete menu option 6: Save data Complete menu option 7: Load data Implement a log file

Option 1 is the same as previous assignments1

Option 6 Must ask the user to enter a file name and then your program should allow option 7 to work, how you go about doing this is up to you, but you can use the sample implementation for hints.

Option 7 Must ask the user to enter a file name, then it should load the data stored in that save file if the save file was generated by the currently logged in user, if the user is different then do not load the data.

The log file must keep a running list of certain actions and must be named hw3.log. Record each time the program starts or exits. Each time a user attempts to log in it must record if the attempt succeeded or failed. It must also record each time a file was saved/loaded, when this is recorded give the current user name as well as the name of the file Each log entry must start with the author student id. The log should NOT be cleared between program launches.

using linux programming

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_step_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Has the team been empowered to prioritize the issues?

Answered: 1 week ago

Question

b. Does senior management trust the team?

Answered: 1 week ago

Question

c. How is trust demonstrated?

Answered: 1 week ago