Changing passwords for ACF
This provides documentation for beginner Alpine Linux users on how to change passwords for the console login as well as the ACF. It is pretty simple.
Changing ACF password using command line
Setting ACF password is done in various ways depending on how old your system is.
Set ACF-password on Alpine Linux 1.9 and newer
Set the ACF-password for a specific user (where 'username' could be a system user, such as 'root'):
You would be prompted to enter a new password for this user.
Set ACF-password on Alpine Linux 1.8 and older
The logins and passwords for the ACF users are stored in a separate location: '/etc/acf/passwd'.
The syntax for the '/etc/acf/passwd' file is as follows:
For example, change the ACF user 'Alpine' as follows:
- Generate a md5sum hash of the password 'testing123', and send it to the passwd file:
- Edit the passwd file to put the hash in the correct place as shown below, deleting the existing hash:
To change passwords from the ACF Interface
Log on as a user with the Admin role, which has rights to change user passwords other than it's own.
Browse to System >> User Management
Under the Existing Account section, click [Edit this account] under the user whose password you want to change.
Enter the new password in the 'Password' and 'Password (Confirm)' fields.
Click [Save] to save the changes.