Question

In: Computer Science

Create two groups named VB (GID=5001) and Norfolk (GID=5002). • Create three different accounts with password...

Create two groups named VB (GID=5001) and Norfolk (GID=5002).
• Create three different accounts with password under each group
• Display the accounts information of each user, including UID, GID, and password hash.

In linux

Solutions

Expert Solution

To creat goup VB with GID 5001, use command.

sudo addgroup --gid 5001 VB

  • addgroup command in Linux is used to add a new group to your current Linux machine

To creat goup Norfolk with GID 5002, use command.

sudo addgroup --gid 5002 Norfolk

  • addgroup command in Linux is used to add a new group to your current Linux machine

To add users to group VB, use command

useradd is a command in Linux that is used to add user accounts to your system. It is just a symbolic link to adduser command in Linux

sudo user add -G VB abc

  • This adds abc user

sudo user add -G VB abcd

  • This adds abcd user

sudo user add -G VB abcde

  • This adds abcde user

To add password to created users, use command:

passwd command is used to change the password of system users

sudo passwd abc

This changes password for abc

sudo passwd abcd

This changes password for abcd

sudo passwd abcde

This changes password for abcde

To add users to group Norfolk, use command:

sudo useradd -G Norfolk sam

sudo useradd -G Norfolk sammy

sudo useradd -G Norfolk sunny

To add password to users, use command:

sudo passwd sam

sudo passwd sammy

sudo passwd sunny

To view the password hashes of created command, use command:

sudo vi /etc/shadow

  • /etc/shadow file which contains the encrypted password information for UNIX / Linux user's accounts

To view UID and GID or users, use command:

sudo vi /etc/passwd

  • vi is an editor in Linux
  • /etc/passwd is a text file that contains the attributes of (i.e., basic information about) each user or account on a computer running Linux

If you have any doubts, leave a comment below before rating. I'll be happy to assist you further

Do UPVOTE this as I have put a lot of EFFORT in answering this question. It really helps me.


Related Solutions

3. Write the statements to: • create a user named FooBar with a password of “candybar”...
3. Write the statements to: • create a user named FooBar with a password of “candybar” • assign the payments role created in the previous question to FooBar • assign the create session privilege to FooBar • Show the statements to connect to FooBar 4. For this question, I only need the query statement and not the results. Write the queries that use the user_sys_privs, user_tab_privs, user_role_privs, role_sys_privs and role_tab_privs objects to view the user and role privileges that are...
Developer User Account Create a user account using T-SQL for developers named DEVELOPER with the password...
Developer User Account Create a user account using T-SQL for developers named DEVELOPER with the password TESTACCOUNT that grants the user the ability to: Select and modify any table. Connect to and have access to all resources. In SSMS
Create a new Java project named Program 4 Three Dimensional Shapes. In this project, create a...
Create a new Java project named Program 4 Three Dimensional Shapes. In this project, create a package named threeDimensional and put all 3 of the classes discussed below in this package Include a header comment to EACH OF your files, as indicated in your instructions. Here's a link describing the header. Note that headers are not meant to be in Javadoc format. Note that Javadoc is a huge part of your grade for this assignment. Javadoc requires that every class,...
Create a new Java project named Program 4 Three Dimensional Shapes. In this project, create a...
Create a new Java project named Program 4 Three Dimensional Shapes. In this project, create a package named threeDimensional and put all 3 of the classes discussed below in this package Include a header comment to EACH OF your files, as indicated in your instructions. Here's a link describing the header. Note that headers are not meant to be in Javadoc format. Note that Javadoc is a huge part of your grade for this assignment. Javadoc requires that every class,...
PYTHON Exercise 3. Password locker. 1. You probably have accounts on many different websites. It’s a...
PYTHON Exercise 3. Password locker. 1. You probably have accounts on many different websites. It’s a bad habit to use the same password for each of them because if any of those sites has a security breach, the hackers will learn the password to all of your other accounts. Develop a simple password manager software on your computer where you write the account name (blog, facebook, instagram, etc) as an argument and the password is copied to the clipboard. Then...
Question 1 Please create three different types of variables and assign three different values into the...
Question 1 Please create three different types of variables and assign three different values into the variables. Please create a new variable and assign the sum of two variables above. Please display all the data (four data here) as a line. Question 2 using Scanner, take three inputs from a user (job level, the number of years in company, and job title) and display yearly bonus percentage based in the following rule: job level : 1 to 10 Job title...
Assume that a researcher is intending to compare the means of three different treatment groups. The...
Assume that a researcher is intending to compare the means of three different treatment groups. The researcher is concerned about the fact that multiple comparisons will be made during the analysis phase. A) What is the probability that the researcher will reject at least one true hypothesis in his study? B) Assume the researcher is going to compare the means of four different treatment groups. What is the probability that the researcher will reject at least one true hypothesis in...
Write the code to create an array named movies and store three of your favorite movies...
Write the code to create an array named movies and store three of your favorite movies in the array. Only provide the array and code needed to put the movie names in the array. Do not include additional code
Two different teaching procedures were used on two different groups of students. Each group contained 100...
Two different teaching procedures were used on two different groups of students. Each group contained 100 students of about the same ability. At the end of the term, an evaluating team assigned a letter grade to each student. The results were tabulated as follows: Grade Group A B C D F Total Total (I) 15 22 32 17 14 100 (II) 9 16 29 28 18 100 If we consider this data to be comprised of independent observations, test at...
If two different groups/ethnicities feel disrespected and both groups know more or less how the other...
If two different groups/ethnicities feel disrespected and both groups know more or less how the other side would like them to behave in order to demonstrate respect, why don't they just do it and resolve the problem? Why not just change the way they interact to stop disrespecting each other?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT