Exam 6

¡Supera tus tareas y exámenes ahora con Quizwiz!

Lab: The VP of Marketing has told you that Paul Denunzio ... Your task in this lab is to: - Create the pdenunzio user account. Include the full name, Paul Denunzio, as a comment for the user account. - Set the password to eye8cereal. - When you are finished, view the /etc/passwd file to verify the creation of the account.

useradd -c "Paul Denuzio" pdenunzio password pdenunzio eye8cereal cat /etc/passwd

Terry Haslam (thaslam) was dismissed from the organization ... - Your task in this lab is to remove the thaslam user account and the home directory from the system. - When you are finished, view the /etc/passwd file and /home directory to verify the removal of the account.

userdel -r thaslam cat /etc/passwd ls/ home

Salman Chawla (schawla) forgot his password ... Your task in this lab is to: - Change the password for the schawla user account to G20oly04. - Make sure the password is encrypted in the shadow file. You are logged on as wadams. The password for the root account is 1worm4b8.

su -c "passwd schawla"

In the In the /etc/shadow, which character in the password field indicates that a standard user account is locked?

!

In the /etc/shadow file, which character in the password field indicates that the password as an encrypted entry?

$

You need to identify which user accounts on the Linux system have encrypted passwords. Which character in the password field /etc/shadow file indicates an encrypted password is set for the user account?

$

In which file would you find an entry similar to the following line: sales:x:510:pclark,mmckay,hsamson

/etc/group

During installation, you must create a root user account for the system. What user account number does this account use?

0

The only other user that has been added to During a Fedora distribution installation, you choose to add a regular user account. The only other user that has been added to the system was root. What is the most likely user id associated with the new user?

500

What is the UID in the line from the /etc/passwd file below? pmallory:x:514:550:Paul Mallory:/home/pmallory:/bin/bash

514

You are viewing the /etc/passwd /etc/passwd file, and you notice the following entry: pclark:x:501:501:Petunia Clark:/home/pclark:/bin/bash What statement best describes this entry?

The pclark password is stored in the etc/shadow file

Due to a merger with another company, standardization is now being imposed throughout the company. As a result of this, the Due to a merger with another company, standardization is now being imposed throughout the company. Which of the following commands will accomplish this?

groupmod -n marketing sales

Lab: Your task in this lab is to: Rename the sales group to western_sales_division. Create the eastern_sales_division group. Assign aespinoza as the only member of the eastern_sales_division group. When you are finished, view the /etc/group file or use the groups command to verify the changes.

groupmod -n western_sales_division sales groupadd eastern_sales_division usermod -G eastern_sales_division aespinoza cat /etc/group

Lab: Corey Flynn (cflynn) currently belongs to several groups ... Your task in this lab is to: - Remove cflynn from the hr group. - Preserve all other group memberships. - When you are finished, view the /etc/group file or use the groups command to verify the changes.

groups cflynn usermod -G mgmt1,it cflynn usermod -G groups username

You have been asked to temporarily fill in for an administrator who has just been fired. This administrator was known to take a lax view of security, and it is suspected that passwords are still kept in the view of security, and it is suspected that passwords are still kept in the /etc/passwd file. When viewing that file, which entry below would indicate that the passwords are there?

kolton

Your task in this lab is to change your password to r8ting4str. The password for the administrator account is 7hevn9jan.

passwd

You have been called in to help a small company. They want to increase the security of their small network and one of the tasks you have been given to do is to move their passwords from the you have been given to do is to move their passwords from the /etc/passwd file to the /etc/shadow. Which utility would you use to accomplish this?

pwconv

Lab: Salman Chawla (schawla) is no longer part of the sales team ... Your task in this lab is to remove user schawla from all secondary group memberships. When you are finished, view the /etc/group file to verify the changes.

usermod -G "" schawla cat etc/group

Maggie Brown (mbrown) and Corey Flynn (cflynn) ... Your task in this lab is to add the hr group as a secondary group for the mbrown and cflynn user accounts. When you are finished, view the /etc/group file or use the groups command to verify the changes.

usermod -G hr mbrown usermod -G hr cflynn groups username


Conjuntos de estudio relacionados

Vocab from classical roots boob b lesson 4

View Set

Soci 100 - Homework - Chapter 6. Social Control and Deviance

View Set

Foundation of Professional Nursing Practice

View Set

Lesson 18: Personality Disorders Multiple Choice

View Set

Unit 4: Medical Language; Urology, Male Reproductive System, & Gynecology and Obstetrics

View Set

personality psych exam 1 (ch 1-4, 6, 7)

View Set

Global Perspectives Checkpoint #1

View Set