179k views
3 votes
You are the IT security administrator for a small corporate network. Samuel Garcia (sgarcia) has been away on vacation and has forgotten his password. He needs your help to access resources on the computer. In this lab, your task is to perform the following: Change the password for the sgarcia user account to G20oly04. Make sure the password is encrypted in the shadow f

User Ingmar
by
6.0k points

1 Answer

2 votes

Answer:

Set the password for user sgarcia to G20oly04.

Step-by-step explanation:

In the following lab, you have to complete the following tasks:

  • Firstly, type the following command, su -c passwd sgarcia on the command prompt after that you have to click Enter to accomplish that task with an individual command.
  • Then, type 1worm4b8 after that you have to click Enter to login credentials for just the root user.
  • After that, type G20oly04 on command prompt after that again click Enter to allocate the new password to that of the user profile in the sgarcia.
  • Again you have to type G20oly04, then click Enter key to verify the latest sgarcia user login details.

Note:- Would never use the usermod -p instruction for change the password, because that will collect the unencrypted details in the following directory.

User Don Bottstein
by
5.3k points