# Reset default passwords for users with community edition

**URL:** <https://forum.search-guard.com/t/reset-default-passwords-for-users-with-community-edition/1102>\
**Category:** Search Guard\
**Created:** [August 31, 2018, 1:37pm UTC](https://forum.search-guard.com/t/reset-default-passwords-for-users-with-community-edition/1102 "2018-08-31T13:37:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Li\_Cui](https://avatars.discourse-cdn.com/v4/letter/l/3da27b/32.png) [@Li\_Cui](https://forum.search-guard.com/u/Li_Cui)\
**Post date:** [August 31, 2018, 1:37pm UTC](https://forum.search-guard.com/t/reset-default-passwords-for-users-with-community-edition/1102/1 "2018-08-31T13:37:34Z")

</div>

Hello there,

We just setup SG with community edition… testing.

One question was that how we can reset the default passwords?

Can we create new users?

Any examples of doing this?

Thanks a lot

Li

---

<div class="post-metadata">

**Author:** ![jkressin](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/jkressin/32/9_2.png) [@jkressin](https://forum.search-guard.com/u/jkressin)\
**Post date:** [August 31, 2018, 2:54pm UTC](https://forum.search-guard.com/t/reset-default-passwords-for-users-with-community-edition/1102/2 "2018-08-31T14:54:28Z")

</div>

You would change the configuration for users, roles and the roles mapping and then upload the changes to your cluster via sgadmin.

Adding and changing users:

> **[Internal users database](https://docs.search-guard.com/latest/internal-users-database)**
>
> How to store and manage Search Guard users directly in Elasticsearch by using the Internal Users Database.

Setting up roles:

> **[Search Guard roles](https://docs.search-guard.com/latest/roles-permissions)**
>
> How to define role based access to Elasticsearch on index level with Search Guard.

Mapping users to roles:

> **[Mapping users to Search Guard roles](https://docs.search-guard.com/latest/mapping-users-roles)**
>
> How to map users and backend roles to Search Guard roles to implement flexible access control to an Elasticsearch cluster.

If you used the demo installationscript you can use the files in the sgconfig folder and execute sgadmin\_demo.sh in the tools folder.

Otherwise here’s the documentation on how to use sgadmin with your own certificates:

> **[Migrating configuration files](https://docs.search-guard.com/latest/sgadmin)**
>
> You can use sgadmin to migrate Search Guard 6 configuration files to the Search Guard 7 format automatically.

> **[Migrating configuration files](https://docs.search-guard.com/latest/sgadmin#using-sgadmin-with-pem-certificates)**
>
> You can use sgadmin to migrate Search Guard 6 configuration files to the Search Guard 7 format automatically.

> **···**
>
> On Friday, August 31, 2018 at 9:37:34 AM UTC-4, Li Cui wrote:
> 
> > Hello there,
> 
> > We just setup SG with community edition… testing.
> 
> > One question was that how we can reset the default passwords?
> 
> > Can we create new users?
> 
> > Any examples of doing this?
> 
> > 
> 
> > Thanks a lot
> 
> > 
> 
> > Li
