Skip to content

New user locked #1

Description

@jastdev

I have a fresh server which was configured for SSH key authentication. My /etc/shadow contains

root:!;...

The account is already locked. This results in copying the locked status to my newly created user.

When i log in with the new user with SSH key authentication, i get:

WARNING: Your password has expired.
You must change your password now and login again!
Changing password for sammy.
(current) UNIX password:

I think the "!" and "*" should be handled in the same way!?

if [ "${encrypted_root_pw}" != "*" ]; then

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions