# Default passwords should be changed

**URL:** <https://forum.qiime2.org/t/default-passwords-should-be-changed/4948>\
**Category:** Ideas and Suggestions\
**Created:** [July 9, 2018, 4:49pm UTC](https://forum.qiime2.org/t/default-passwords-should-be-changed/4948 "2018-07-09T16:49:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mickvav](https://forum.qiime2.org/user_avatar/forum.qiime2.org/mickvav/32/20041_2.png) [@mickvav](https://forum.qiime2.org/u/mickvav)\
**Post date:** [July 9, 2018, 4:49pm UTC](https://forum.qiime2.org/t/default-passwords-should-be-changed/4948/1 "2018-07-09T16:49:19Z")

</div>

Hello, all.  
I've recently installed qiime2 on virtual machine and exported it on public IP address, so my student was able to analyse his data on my server. I've performed basic security-related measures myself - changed passwords for qiime2 and root users to random ones, as I've seen that /home directory contained only qiime2 folder - my fault, I didn't check /etc/passwd - otherwise I would notice ubuntu user.

Two days later, some kind of bot has figured out that this IP has ssh port open and found ssh password of ubuntu user. Some time later it started mining some cryptocurrency using this VM.

So, my gentle request to developers: please, specify in the documentation explicitly, that if one uses your published VMs on public IP address, he or she is responsible for altering passwords (or disabling remote logins for) users qiime2 AND ubuntu.  
To do this, it's enough to issue:  
sudo passwd ubuntu  
passwd qiime2

And consider tuning firewall to allow only authorized IP addresses to connect via ssh. (There is a good guide for simple firewall scenarios in official ubuntu documentation - [https://help.ubuntu.com/lts/serverguide/firewall.html.en](https://help.ubuntu.com/lts/serverguide/firewall.html.en) )

---

<div class="post-metadata">

**Author:** ![ebolyen](https://forum.qiime2.org/user_avatar/forum.qiime2.org/ebolyen/32/11_2.png) [@ebolyen](https://forum.qiime2.org/u/ebolyen)\
**Post date:** [July 9, 2018, 4:56pm UTC](https://forum.qiime2.org/t/default-passwords-should-be-changed/4948/2 "2018-07-09T16:56:50Z")

</div>



---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [July 10, 2018, 1:41pm UTC](https://forum.qiime2.org/t/default-passwords-should-be-changed/4948/5 "2018-07-10T13:41:14Z")

</div>

Hey there @mickvav!

> [@mickvav](#):
>
> Some time later it started mining some cryptocurrency using this VM

Bummer! 🤖 💵

> [@mickvav](#):
>
> please, specify in the documentation explicitly, that if one uses your published VMs on public IP address, he or she is responsible for altering passwords (or disabling remote logins for) users qiime2 AND ubuntu

We can add a note about what user accounts are present ([open issue](https://github.com/qiime2/docs/issues/331)), thanks for the suggestion!

> [@mickvav](#):
>
> And consider tuning firewall to allow only authorized IP addresses to connect via ssh. (There is a good guide for simple firewall scenarios in official ubuntu documentation - [https://help.ubuntu.com/lts/serverguide/firewall.html.en](https://help.ubuntu.com/lts/serverguide/firewall.html.en) )

I think this is going to be pretty specific to whoever is doing the work to host these machines as a service, and will reflect their internal architecture, so I am a bit wary to include that in the general user docs. If you wanted to share what you did in a [Community Tutorial](https://forum.qiime2.org/c/community-contributions/community-tutorials) though, that would be pretty cool!

Thanks! :qiime2: 🦖

---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [July 10, 2018, 1:41pm UTC](https://forum.qiime2.org/t/default-passwords-should-be-changed/4948/6 "2018-07-10T13:41:16Z")

</div>


