Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • aports aports
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
  • Issues 656
    • Issues 656
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 339
    • Merge requests 339
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpinealpine
  • aportsaports
  • Issues
  • #10209
Closed
Open
Issue created Apr 08, 2019 by Dia Jad@ditek

chpasswd fails starting from Alpine 3.6

I’m able to use `chpasswd` to set user password until Alpine 3.5. Starting from Alpine 3.6 I get `PAM: Authentication failure` when I run the command.

To easily reproduce the issue:

$ docker run —rm -it alpine sh
/ # apk add shadow
/ # /usr/sbin/useradd -m -u 1000 new_user
/ # echo “new_user:mypassword” | chpasswd
Password: chpasswd: PAM: Authentication failure

(from redmine: issue id 10209, created on 2019-04-08, closed on 2019-06-19)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking