Write a shell script named “student.sh” to perform the following tasks
Q: In RBAC only administrators can modify an object's security label or a user's security clearance?…
A: Security: Security is an important aspect of any organization. Security plays an important role.…
Q: Which of the following is FALSE with respect to Logical DFD? It shows only the collections…
A: Logical DFD: A logical data flow diagram will focus on the system process. It is used to illustrate…
Q: What happens when a user checks out a document in a version control application? The document…
A: Version control application are software tools which helps software teams to manage changes to…
Q: What exactly is the purpose of shell scripts? Examples of variables, structures, and functions…
A: A shell is a special user program that provides an interface to the user to use operating system…
Q: Write a shell script that perform following tasks: • Creating a directory named assn6 • Creating a…
A: Answer: I have done code and also I have attached code as well as code screenshot.
Q: This is about passing arguments to a shell script. Type the script below and save it as . Then run…
A: Passing arguments to a shell script:- Whenever the shell script you run has access to (inherits)…
Q: Consider the below commands i) sed “s/CSH/csh/g" temp >| Is ~/newtemp 11) Is -v grep wc -1 iii) Is…
A: Ans: B) ii, iii only
Q: For this project you will have to build a web application for managing a support ticketing system…
A: Ticketing System with PHP and MySQL The ticketing system structure will consist of a browse tickets…
Q: Look the following code and describe the difference between commands "read -p" and "read -s -p"…
A: The given code after proper indentation is...
Q: Consider the below commands i) sed "s/CSH/csh/g" temp > Is~/newtemp 11) Is -v grep wc -1 111) Is -a…
A: Answer : option B) ii, iii only
Q: In this assignment, your task is to create a bash script file 'assignment3.sh'. Assume a user runs…
A: The complete explanation is given below.
Q: Consider the below commands i) sed "s/CSH/csh/g" temp> ls~/newtemp iii) ls -a | grep "." | wc -1…
A: Answer of the given question: choice (c) is the correct answer The explanation is given in step 2
Q: Consider the below commands i) sed “s/CSH/csh/g" temp >|ls ~/newtemp ii) Is -v grep wc -l iii) Is -a…
A: Step 1 The correct answer is given in the below step
Q: IN PHP please help with the following: True or false Form data submitted with the HTTP POST method…
A: Answer :
Q: There are several ways to display information of services, and besides using GUI tool Services.msc…
A: Please see the next step for solution.
Q: can use the JBL CentOS or the CentOS VM in your own computer to complete this exercise. If you use…
A: At the heart of SELinux’ security engine is its policy. A policy is what the name implies: a set of…
Q: E6. Displaying information and messages using the echo command. It displays its arguments on your…
A: The string that is passed as argument to the echo command gets displayed on to the terminal. Hence…
Q: Using PHP Write a program using PHP programming language that trads the user name and password from…
A: <!DOCTYPE html> <html> <head> <title>LOGIN FORM</title>…
Q: Your friend is building his own application for CSCI217 course project and would like your help to…
A: C++ program is given below
Q: In this question, you will develop your own version of shell. Your shell will execute commands given…
A: The ask is to do the following: - Create a user shell. - Takes user input for command to execute and…
Q: Assume that we have an application that processes files of some sort. One version of the application…
A: GUI version of locating a file is better.
Q: Review the below code and report the vulnerability/bug in the code, if any. Design different cases…
A: include stdlib.h whenever we want to allocate dynamic memory address format is %u, we are using %d…
Q: Which of the following statements are true for application whitelisting and blacklisting? [Choose…
A: Option 1: If an application or a specific path that contains the executables is blacklisted, then…
Q: Compare the output of the version command to creating a function of the version command:…
A: In both cases output is same and the screen shot attached below
Q: A local Windows 10 administrator created a group called Trainees using Computer Management console.…
A: Answer : True .
Q: fragment to extract and display key and its creation date for alias sdo from keystore available at…
A: Write a java code fragment to extract and display key and its creation date for alias sdo from…
Q: Select the best answers. The following are all cmdlet/alias/function for viewing the help files of…
A: A= MAN except MAN other two helps to viewing the help file of cmdlets
Q: which security issues can be found only through dynamic application security testing (DAST)? Null…
A: which security issues can be found only through dynamic application security testing (DAST)?…
Q: ???????? 2: Take the username and password from a user and check the validity of the password using…
A: Answer : Python code is # this functon convert lowercase to uppercasedef convert_to_lowercase(str):…
Q: Unlike Command Prompt, PowerShell has a Updateable Help System, so we can use the Update-Help cmdlet…
A: We need to identify whether the given statement is True or False: Unlike Command Prompt, PowerShell…
Q: Create a file named "YournameTask03.txt". Change its permission using absolute(numeric) mode. so…
A: Given filename: ReneTask03.txt We need to give permission to the file ReneTask03.txt We need to give…
Q: The user "bill" in the group "stallyns" wants to read /opt/time-travel.doc; opt is owned by user…
A: Solution: Given,
Q: Which class waits for requests to come from the clients. It performs some operation based on that…
A: This MCQ is about the java socket programming. Here we have to choose one out of four which is…
Q: Write an external java script to validate password field for following (i) Password field cannot be…
A: Please give positive ratings for my efforts. Thanks. PROGRAM Html code…
Q: What are the features of git? Select all that apply or are true. Git is a version control…
A: Please find the answer below :
Q: n this question, you will develop your own version of shell. Your shell will execute commands given…
A: Given: In this question, you will develop your own version of shell. Your shell will execute…
Q: Complete the following command so that it displays the output indicated below. Solution PS C:>…
A: There is no single command to get this output. You need to try various commands. Here are following…
Q: Consider the below commands i) sed “s/CSH/csh/g" temp >| ls ~/newtemp 11) Is -v grep wc -I iii) Is…
A: Given:
Q: Which of the following divides the input domain into classes containing data? a. Equivalent…
A: The following divides the input domain into classes containing data :
Q: 3. You are developing an application that accesses a storage service for the customer. In some…
A: Incorrect options: Decorator: Decorator pattern is a design pattern that enables the end-user to…
Q: Write a bash script for a Daily Task management utility. This is a simple utility that has the…
A: Here is the Daily Task Management utility script that works in terminal. We can not password protect…
Q: Write code that when executed in PowerShell, will satisfy the following requirements: Create a new…
A: The answer is
Q: Review the following program that extracts the email server domain name. >>> data = 'From…
A: data = 'From stephen.marquard@uct.ac.za Sat Jan 5 09:14:16 2008 'atpos = data.find('@')print(atpos)…
Q: Question#2: Extract errors from the following codes & then obtain weather they are Syntax Error or…
A: Here we describe all the error: 1.line 1 error description: here not to use Byval because that is…
Q: Write a bash script for a Daily Task management utility. This is a simple utility that has the…
A: Actually, given information: The utility should have the following properties: The utility must be…
Q: Explain the sequence of commands below specifically the possible cause(s) of each error message…
A: $ ls -l this command shows list with long format and also shows permission drwxrwxr-x. 4 mon tue…
Q: (4) Write a C# .NET Core Console App that validates a password string entered by the user to conform…
A: Firstly the length of the password has to be checked then whether it contains uppercase, lowercase,…
Q: Based on your understanding which of the following statements describes the brute-forcible login…
A: Based on your understanding which of the following statements describes the brute-forcible login…
Write a shell script named “student.sh” to perform the following tasks:
● Create a user “UTAS” and create a group “ELC”
● Assign existing user "UTAS" to specific user ID as "100" and group ID as "701”.
● Add a user "UTAS" to "ELC" group.
● Modify the group id as “501”
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
- Create a role and a user. Assign the role to the user. The role must be assignwith all the admin privileges. Then drop the user and the role both.2. Create another group named group2 and assign userl to group2 after removing from groupl. set the following permissions on hello.c using absolute mode. user read and write group read and execute others readAssume an Oracle database administrator has connected to a pluggable database. What will be the statements the DBA use to create a password verification function emp_pass_verify to enforce a password to conform to all the following rules:• contains at least 8 characters• contains at least one letter, at least one digit, and at least one specialcharacter (that is not a letter or a digit)• starts with an upper-case letter• does not contain the username as a substring
- The script: $Services = Read-Host "Please provide the name of the service you want to see Get-Services "$Services" | Select-Object Name, Status, DependentServices Format-Table AutoSize Objectives: Find the four errors and correct this script so that it will run correctly to get a name of the service from the user, and get the properties, Name, Status, DependentServices, of the service, and format it as a table with the use of the AutoSize SwitchParameter. There is exactly one error per line for a total of four errors to identify.Create a Registration page: choose language as per the your convince • Registration Fields: 1) User Name - Input Text 2) Password - Input Password 3) Repeat Password - Input Password 4) First Name - Input Text 5) Last Name - Input Text 6) Address line 1 - Input Text 7) Address line 2 - Input Text 8) City - Input Text 9) State - Drop Down of Options 10) Zip Code - Input Text 11) Phone Number - Input Text 12) Email - Input Text 13) Gender - Radio buttons 14) Marital Status - Radio buttons 15) Date of Birth - Input Text, must have a calendar pop up (date picker) 16) Submit Button - Form submit button 17) Reset Button - Clears form fields to default settings (normally empty) Please type the code in Notepad++.//* Requirements: //* 1. Replace FirstName LastName in file and class names with your own names. //* 2. Finish all TODOS. Test your code before submitting it. | //* 3. Do NOT modify ANY provided code except temporary returns. /** * Requirements: * 1. Replace FirstName LastName in file and class names with your own names. * 2. Finish all TODOS. Test your code before submitting it. * 3. Do NOT modify ANY provided code except temporary returns. */ public class JavaApplication7 { public static void main (String [] args) { //TODO - write your own test code (not marked) //TODO } /** * + Requirements: write a public static method named getMiddle that takes three int arguments return an int of the middle value of the 3 arguments Example: if the three arguments are 11, 22, 33, return 22 * */ public static int getMiddle(int x, int y, int z) { return 0; //temporary return }
- Assuming you have created already created a MySQL database named "database_name" with a table named "users" that has columns for "username", "password", and "email". And that you have also created a login system that sets the "username" session variable when a user logs in.Write a simple PHP code that makes use of sessions, mysql insert, update, and delete. The code should first start with a session using session_start(). It should then connect to a MySQL database using mysqli_connect(). It inserts a new record into the users table using mysqli_query() and an SQL INSERT statement. It updates an existing record in the users table using mysqli_query() and an SQL UPDATE statement. It deletes a record from the users table using mysqli_query() and an SQL DELETE statement. It sets a session variable using $_SESSION["username"] and displays it using echo. Finally, it closes the MySQL connection using mysqli_close()Will be using code Lginter! Registration First Name Last Name Email Address Password Confirm Password Require to have validation of user input Valid email address Make sure the email address does not exist in the database before doing insert into the database Password and Confirm Password are matching Password need to hash before doing insert into database ("password_hash" is a PHP build in function which can be used)Create a MySQL stored procedure to validate an attempt to create a new submission. The stored procedure should have parameters for the user, the user’s password, the id of the problem, the programming language (as a varchar), and the source code. An output parameter returns the result of the submission, which is one of the strings that can return or “Bad Parameters”, which handles cases such as incorrect password for the user, or the attempt to submit using a language that the program does not support (e.g., Malbolge or Visual Basic). The stored procedure can simulate the program judging process: if there is no Bad Parameters error, then randomly choose between Accepted, Wrong Answer, Time Limit Exceeded, and Run Time Error with equal probability. The submission should gets recorded in the database.
- e) Assume a database named "Hospital" exists on the MYSQL server. The database contains a table named "Doctors" as displayed below. Doctors Anne Bob Carrie Implement a PHP script that will connect to the database and display all doctors using the "" and associated tags in a structurally correct HTML. f) Implement a PHP script "add_doctor.php" that willl read the name of the "doctor" from the form (displayed below) data submitted to it. The script should establish a connection to the database and add the person to table "Doctors". The script should display in a structurally correct HTML if the addition action completed successfully or not. Enter the name of the doctor to delete from the database:Hi i have homeworek i need hlep in it : A registration officer in an academic institution wants to display the Student transcript in a given semesterafter entering the required student details. A student is characterized by an ID, full name, the semester inwhich he/she is registered and other details. The student can take from 3 to 4 modules every semesterand has two assessments in each module.You are requested to write the program that will help the officer to display the indicated transcript usingClasses, methods, arrays and various control statements.The following shows an example of execution of this program.Questions: In the class Student, create a method for each of the following results using the array concept and any type of loop:a. The total or average mark of the student in each module.b. Finding the list of modules that the student has passed or failed in that semester.c. Finding the highest or lowest mark of the student in all assessments. will get my qustion u have to…Hi i have homeworek i need hlep in it : A registration officer in an academic institution wants to display the Student transcript in a given semester after entering the required student details. A student is characterized by an ID, full name, the semester in which he/she is registered and other details. The student can take from 3 to 4 modules every semester and has two assessments in each module. You are requested to write the program that will help the officer to display the indicated transcript using Classes, methods, arrays and various control statements.The following shows an example of execution of this program.Questions:a. What is the role of a normal constructor? Create the class Student, which must have a normal constructor and at least 5 attributes. Note: The attributes must include all the details mentioned in the scenario and others of your choice. The marks of the student in different modules must be stored using arrays. I hope u will get my qustion u have to answer it my…