# Remove default admin user completely

**URL:** <https://forum.flowable.org/t/remove-default-admin-user-completely/4621>\
**Category:** Flowable Engine\
**Created:** [October 2, 2019, 10:26am UTC](https://forum.flowable.org/t/remove-default-admin-user-completely/4621 "2019-10-02T10:26:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![usmanshb](https://avatars.discourse-cdn.com/v4/letter/u/96bed5/32.png) [@usmanshb](https://forum.flowable.org/u/usmanshb)\
**Post date:** [October 2, 2019, 10:26am UTC](https://forum.flowable.org/t/remove-default-admin-user-completely/4621/1 "2019-10-02T10:26:24Z")

</div>

i am running flowable ui apps (6.4.1) with postgesql.  
I did not make any change in properties file of each app instead i added a new application.properties file in lib folder of tomcat.  
here’s how it looks like

```
spring.datasource.url=jdbc:postgresql://localhost:5432/FCV2Db?currentSchema=test3
spring.datasource.username=postgres
spring.datasource.password=postgres
spring.datasource.driverClassName=org.postgresql.Driver
flowable.modeler.app.deployment-api-url=https://localhost:5555/app-api

```

I am adding rest dependency in my spring application so updated the deployment url as well.  
All necessary privileges are created along with the default admin user. now every thing works fine with admin user.  
I created a new user and assigned all privileges to it and logged in using that. it is also working fine but as long as admin has all the privileges. i.e. if that user has the “access-admin” privilege but “admin” doesn’t. i cannot access the admin application (redirects to login).

i looked into admin’s properties file and removed these properties

```
flowable.common.app.idm-admin.user=admin
flowable.common.app.idm-admin.password=test

```

and after i wasn’t able to access the admin-app even with admin user.

So is there a way to get rid of these hard coded admin user properties from each app?

---

<div class="post-metadata">

**Author:** ![DarkStar1](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/darkstar1/32/394_2.png) [@DarkStar1](https://forum.flowable.org/u/DarkStar1)\
**Post date:** [October 2, 2019, 12:36pm UTC](https://forum.flowable.org/t/remove-default-admin-user-completely/4621/2 "2019-10-02T12:36:47Z")

</div>

What’s stopping you from renaming the user to the user you want iin the properties file?  
The [bootstrap configuration](https://github.com/flowable/flowable-engine/blob/eeebfd23af3571741b60e3f663f17c0ecc50a812/modules/flowable-app-rest/src/main/java/org/flowable/rest/conf/BootstrapConfiguration.java#L86) will create an admin user which, AFAICT, is required for the REST app.
