Skip to content

Non-privileged users can‘t login via dropbear #378

@green-free

Description

@green-free

I have a issue, please help me!

I use the dropbear-DROBEAR_2024.86 library.
This is the account information in my system. The adm account can be logged in through dropbear, but both the sheyj and wumj accounts fail to execute
chown (tty_name, (uid_t) 0, (gid_t) 0)
in the pty_release function of sshpty. c when logging in due to lack of permission. From the log, it can be seen that PAM verification has been successful.

Image Image

My dropbear is running as the root user:
Image

May I ask how to solve this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions