Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Examine the files letc/passwd, letc/group and /etc/shadow 3. a. Use a Linux instruction to count the number of accounts in /etc/passwd. What command b. In
Examine the files letc/passwd, letc/group and /etc/shadow 3. a. Use a Linux instruction to count the number of accounts in /etc/passwd. What command b. In looking at the entries in /etc/passwd, you should notice that UIDs change after Eric c. Inspect some of the pre-existing accounts (these appear in the file prior to your user d. Examine letc/group. What entry do you find for your own user group? Who is in bin? e. Look at the contents of the file /etc/shadow (the passwords file). What information do you did you use? How many did you find and how? Cartman. Why? (hint: look at 2c) account). What is the home directory for root? For bin? For lp? For mail? adm? find in marst's entry that is not present in your own? 4. The chage and passwd commands control when users must modify their passwords Examine their man pages Type chage -l marst. When does marst' s password expire? When was marst's password last changed? Set the maximum number of days for marst to 60 and warning to 5. What commands did you enter? Redo the chage -1 command to make sure the password expiration has changed (it should have) Attach a screenshot here a b. Using the expiration date option of chage, change cartmane's password to expire on May 14, 2018 with an inactivity of 7 days (that is, the account will be locked if the password is not changed within 7 days of the password's expiration). What command did you enter? c. Without options, chage is interactive. Type chage cit371. Set the minimum password age from 0 to 100, leave maximum password age and last password change as is, set the password expiration warning to 14, password inactive value to 7, and account expiration as June 1, 2018. How can you confirm (view) the changed values? Attach a screenshot here d. Use passwd to lock then su to zappaf ( Page n 2 1t ur Qct Tin to root, su to zappaf. Were is linuxiscool). Wh you successful? N ge zappaf's password to Lab 8.dock nGonzalez Devin..doox Examine the files letc/passwd, letc/group and /etc/shadow 3. a. Use a Linux instruction to count the number of accounts in /etc/passwd. What command b. In looking at the entries in /etc/passwd, you should notice that UIDs change after Eric c. Inspect some of the pre-existing accounts (these appear in the file prior to your user d. Examine letc/group. What entry do you find for your own user group? Who is in bin? e. Look at the contents of the file /etc/shadow (the passwords file). What information do you did you use? How many did you find and how? Cartman. Why? (hint: look at 2c) account). What is the home directory for root? For bin? For lp? For mail? adm? find in marst's entry that is not present in your own? 4. The chage and passwd commands control when users must modify their passwords Examine their man pages Type chage -l marst. When does marst' s password expire? When was marst's password last changed? Set the maximum number of days for marst to 60 and warning to 5. What commands did you enter? Redo the chage -1 command to make sure the password expiration has changed (it should have) Attach a screenshot here a b. Using the expiration date option of chage, change cartmane's password to expire on May 14, 2018 with an inactivity of 7 days (that is, the account will be locked if the password is not changed within 7 days of the password's expiration). What command did you enter? c. Without options, chage is interactive. Type chage cit371. Set the minimum password age from 0 to 100, leave maximum password age and last password change as is, set the password expiration warning to 14, password inactive value to 7, and account expiration as June 1, 2018. How can you confirm (view) the changed values? Attach a screenshot here d. Use passwd to lock then su to zappaf ( Page n 2 1t ur Qct Tin to root, su to zappaf. Were is linuxiscool). Wh you successful? N ge zappaf's password to Lab 8.dock nGonzalez Devin..doox
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started