Hello, we are working on creating installer for our software on DO through: https://github.com/seven1m/do-install-button
And it all works great up to the one point, when installing send-mail it runs into this error:
Setting up sendmail-base (8.14.4-4.1ubuntu1) … You are required to change your password immediately (root enforced) chfn: PAM: Authentication token is no longer valid; new one required adduser: `/usr/bin/chfn -f Mail Transfer Agent smmta’ returned error code 1. Exiting. dpkg: error processing package sendmail-base (–configure): subprocess installed post-installation script returned error exit status 1
So most probably chfn triggers the need for password change, as it is the first time login (even though from API launched script).
Any ideas on how to overcome it?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!