You are provided a few files: instructions: This file passwords: A sample user a
ID: 3606318 • Letter: Y
Question
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
Explanation / Answer
Lesson 1: Managing User Accounts
Modern operating systems such as Windows Vista have been designed to meet the needs of many different users. Accordingly, the operating system provides a method for creating multiple user accounts on a single installation of Windows Vista. You can configure and customize each user account based on the needs of the individual who will be using it. For example, desktop settings, screen savers, shortcuts, and user-specific data files are all stored separately for each account. In general, give each user of a system his or her own account.
From the standpoint of a consumer—a typical home or small-business user—it’s common for a computer to include multiple user accounts. For example, a family of four might have separate accounts for each parent and each child. A small business might have various employees that occasionally use a single shared computer to perform specific tasks.
Regardless of the purpose of a particular user account, there are security-related considerations that should be addressed. In this lesson, you’ll learn about the different types of accounts that are available in Windows Vista and how to create and manage them.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.