openbmc / phosphor-user-manager

Apache License 2.0
8 stars 9 forks source link

If user entry is missing in /etc/shadow, indicating no SHA password. Treat this as new user without password entry in /etc/shadow #8

Open jayaprakashmutyala opened 4 years ago

jayaprakashmutyala commented 4 years ago

If user entry is missing in /etc/shadow, indicating no SHA password. Treat this as new user without password entry in /etc/shadow TODO task: we still didn't have a property to indicate user password was not set yet. Tracking purpose created this issue to fix.

Below are the more details. This is the case when admin has created the user but password was not set. There are two are different cases here. In password expired: User need to give the old password and New password However In FirstTimePassword: User just need to give the new password

In addition to below patch, need to fix this issue. https://gerrit.openbmc-project.xyz/#/c/openbmc/phosphor-user-manager/+/36598/