Setting the Password on First Login to FileWave Appliances (15.5+)
What
Use this procedure to set the operating-system password on a new Debian-based FileWave Server, Booster, or Imaging Virtual Server (IVS) appliance delivered with FileWave 15.5.0 or later. The appliance account controls SSH and Webmin access. It is separate from the FileWave application administrator account, even when both are named fwadmin; changing one password does not change the other. These appliances use the following login and security settings:
- Disabled Root Login: The root user is now disabled from logging in directly to enhance security.
- New Default User - User: fwadmin (as of 15.4.0), default password: filewave.
- Mandatory Password Change: On the first login, fwadmin will be prompted to change the password. It’s crucial to choose a secure password and keep a record of it.
- Sudo Access: The fwadmin user has sudo privileges to perform administrative tasks that require root access.
- Enhanced Security with Fail2Ban: Fail2Ban has been added to protect against unauthorized access attempts. It will temporarily block IP addresses after a number of failed login attempts.
For security, the account for root is disabled as of version 15.5.0.
These changes apply to new Debian-based Appliances starting from version 15.5.0 and onward.
Existing Debian Appliances will not have these changes implemented unless you manually make the changes or migrate to a new Appliance.
When/Why
These changes have been implemented to strengthen the security of your FileWave Appliance:
Existing Appliances
To benefit from these changes either:
- Manually Implement the Changes: Adjust your current Appliance settings to match the new security configurations.
- Migrate to a New Appliance: Set up a new Appliance with version 15.5.0 or later and migrate your data accordingly.
How
First Login and Password Change
- Access the Appliance: Connect to your FileWave Appliance via SSH or console.
- Login as fwadmin: Use the username fwadmin and the default password filewave.
- Change Password: You will be prompted to change the password immediately.
- Enter New Password: Choose a strong, unique password.
- Confirm New Password: Re-enter the password to confirm.
- Note the Password: Store the new password in your organization's approved credential manager.
- Verify Access: Keep the appliance console or current administrative session open while you test a separate login as
fwadminwith the new password. Confirm that the new login succeeds before closing your original session.
To change this password again later through a browser, follow Change a FileWave Appliance Password in Webmin and select fwadmin, not root, on these appliances.
Using Sudo for Administrative Tasks
Run Commands with Sudo: Prefix administrative commands with sudo.
sudo apt-get update
Enter Password When Prompted: You may be asked for your fwadmin password when executing sudo commands.
Fail2Ban Security Measures
If SSH access stops working after repeated failed logins, check the SSH ban status from the appliance console or another authorized session. Before unbanning an address, confirm that it belongs to your administrator workstation and correct any saved credentials that are still using the old password. Replace <IP_ADDRESS> below with that trusted address, without the angle brackets; do not unban an unknown source.
- Automatic IP Blocking: After several failed login attempts, Fail2Ban will block the offending IP address temporarily.
- Check Ban Status:
sudo fail2ban-client status sshd -
Unban an IP (if necessary):
sudo fail2ban-client set sshd unbanip <IP_ADDRESS>
Best Practices
- Do Not Expose SSH to the Internet: Keep SSH access limited to trusted networks.
- Use Strong Passwords: Incorporate letters, numbers, and special characters.
- Regularly Update the Appliance: Keep your system updated to patch vulnerabilities.
- Monitor Access Logs: Regularly check logs for any unauthorized access attempts.
No comments to display
No comments to display