Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The password of both users rosie and bobby has been set to the same password. Why their entries in / etc / shadow are different?
The password of both users rosie and bobby has been set to the same password. Why their entries in etcshadow are different?
ubuntu@ubuntu: $ sudo passwd rosie
New password:
Retype new password:
passwd: password updated successfully
ubuntu@ubuntu: $ sudo passwd bobby
New password:
Retype new password:
passwd: password updated successfully
ubuntu@ubuntu: $ sudo tail etcshadow
bobby: $ gNxVzfKCeKeaoWN$BRakcQcVsbHFGWqOPu.ntPbXcsiZPqSEKNYzkGgUzuWu
rosie:$$TAwhwNpbjj$qsEtZXWYIsppmFlwQTjpLfGICWKauULPTewAqLKYdGOybme
a Because they belong to different groups and this is used to compose the password hash
b Because hashing functions produce different output even if the input remains the same
c Because the username is different and it is used to compose the password hash
d Because the password is salted specifically for each user before composing the password hash
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