Enable password encryption sudo vi /usr/share/minion/etc/org.apache.karaf.jaas.cfg # # Boolean enabling / disabling encrypted passwords # encryption.enabled = true(1) #... encryption.algorithm = SHA-512(2) 1 Enable password encryption from false to true. 2 Set a secure encryption algorithm like SHA-512. Once the file is saved, Karaf immediately encrypts the password in users.properties. Set a secure admin password for Karaf sudo vi /usr/share/minion/etc/users.properties # All users, groups, and roles entered in this file are available after Karaf startup # and modifiable via the JAAS command group. These users reside in a JAAS domain # with the name "karaf". # # OPENNMS: Change the admin user from 'karaf' to 'admin' admin = {CRYPT}C7AD...{CRYPT},_g_:admingroup(1) 1 Replace the whole string {CRYPT}C7AD…{CRYPT} with your new password in plaintext. After you save the file the password will be SHA-512 encrypted. Set restrictive file permissions sudo chmod 600 /usr/share/minion/etc/users.properties