Skip to content

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

@jayaprakashmutyala

Description

@jayaprakashmutyala

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions