Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. On your Fedora Linux virtual machine, switch to a command-line terminal (tty5) by pressing Ctrl+Alt+F5 and log in to the terminal using the user

1. On your Fedora Linux virtual machine, switch to a command-line terminal (tty5) by pressing Ctrl+Alt+F5 and log in to the terminal using the user name of root and the password of LINUXrocks!. 2. At the command prompt, type grep bozo /etc/passwd and press Enter. Note the line used to describe the user bozo. 3. At the command prompt, type grep bozo /etc/shadow and press Enter. Note the line used to describe the user bozo. 4. At the command prompt, type usermod l bozo2 bozo and press Enter to change the login name for the user bozo to bozo2. Next, type grep bozo /etc/passwd at the command prompt and press Enter. Was the login name changed from bozo to bozo2? Was the UID changed? Was the home directory changed? 5. At the command prompt, type usermod l bozo bozo2 and press Enter to change the login name for the user bozo2 back to bozo. 6. At the command prompt, type usermod u 666 bozo and press Enter to change the UID of the user bozo to 666. Next, type grep bozo /etc/passwd at the command prompt and press Enter. Was the UID changed? 7. At the command prompt, type usermod f 14 bozo and press Enter to disable bozos user account 14 days after the password expires. Next, type grep bozo /etc/shadow at the command prompt and press Enter. Which field was changed? 8. At the command prompt, type usermod e "01/01/2028" bozo and press Enter to expire bozos user account on January 1, 2028. Next, type grep bozo /etc/shadow at the command prompt and press Enter. Which field was changed? What does the number represent in this field?

9. At the command prompt, type chage m 2 bozo and press Enter to require that the user bozo wait at least two days before making password changes. Next, type grep bozo /etc/shadow at the command prompt and press Enter. Which field was changed? 10. At the command prompt, type chage M 40 bozo and press Enter to require that the user bozo change passwords every 40 days. Next, type grep bozo /etc/shadow at the command prompt and press Enter. Which field was changed? 11. At the command prompt, type chage W 5 bozo and press Enter to warn the user bozo five days before a password change is required. Next, type grep bozo /etc/ shadow at the command prompt and press Enter. Which field was changed? 12. Type exit and press Enter to log out of your shell.

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

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

More Books

Students also viewed these Databases questions

Question

When is it appropriate to use a root cause analysis

Answered: 1 week ago