By ar2rsawseen
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!
How are you trying to install it? I just did a quick successful test using a cloud-config file like:
#cloud-config
packages: sendmail-base
Is your app.yml file public?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.