Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Desktop Environment: GNOME 3 (GNOME Shell) 1. If it is not already, boot up your computer (or virtual machine) to start the Fedora Linux distribution.

Desktop Environment: GNOME 3 (GNOME Shell) 1. If it is not already, boot up your computer (or virtual machine) to start the Fedora Linux distribution. 2. When the machine is booted, access the tty3 virtual terminal, by pressing Ctrl+Alt+F3. 3. Log onto a user account that has super user privileges by typing in the accounts username at the login prompt and entering accounts password at the Password prompt. 4. At the prompt, type less /etc/passwd and press Enter. View the /etc/passwd file and pick a non-system user account that has /bin/bash at their records end (such as your own account) to use in this exercise. Record the accounts username: ____________________. 5. Press q to quit the less utility. 6. Type grep ^Username /etc/passwd and press Enter. Dont actually type Username, but instead enter the account username you recorded in step #4. You should see Usernames record in /etc/passwd file. 7. Record the Username accounts data information for each field: 1) username: ___________ 2) password: ___ 3) UID: _____ 4) GID: ____ 5) Full Name:________________ 6) Home Directory:____________ 7) Default Shell _____________ (Tip: Each field is separate by a colon(:)) Continued on the next page Exercise 12.a: Viewing Account & Group Configuration Files (continued) 7. Continued There are seven data fields in each /etc/passwd record. The fields are separated by a colon (:). (Note: The password is an x because the passwords are not stored in this file. Also note that the Full Name field is also called the Comment field.) 8. Type sudo grep ^Username /etc/shadow and press Enter. Dont actually type Username, but instead enter the account username you recorded in step #4. If asked for a password, enter the accounts password and press Enter. You should see Usernames record in /etc/shadow file. 9. Record the Username accounts data information for each field: 1) Username: ________________ 2) Password: (Dont record this one.) 3) Last modified: ____________ 4) Min days: ________________ 5) Max days:________________ 6) Days warn:_______________ 7) Disabled days ____________ 8) Expire __________________ There are eight active data fields in each /etc/shadow record. The fields are separated by a colon(:). The password displayed is actually a salted hash and not a plain text password. Note: Many of the fields may be blank. 10. Type grep ^Username /etc/group and press Enter. Dont actually type Username, but instead enter the account username you recorded in step #4. You should see Usernames record in /etc/group file. 11. Record the groups data information for each field: 1) Group(aka Group Name): ________________ 2) Password: ______________ 3) GID: ____________ 4) Users: ________________ (Its okay if there are no users to list.) There are four data fields in each /etc/group record. The fields are separated by a colon. Note: The password is an x because the passwords are not stored in this file.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application Development And Administration

Authors: Michael V. Mannino

4th Edition

0615231047, 978-0615231044

More Books

Students also viewed these Databases questions