# 'Do not run Composer as root/super user' warning

**URL:** <https://discourse.libretime.org/t/do-not-run-composer-as-root-super-user-warning/793>\
**Category:** Get Help\
**Created:** [February 11, 2021, 10:04am UTC](https://discourse.libretime.org/t/do-not-run-composer-as-root-super-user-warning/793 "2021-02-11T10:04:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bok](https://avatars.discourse-cdn.com/v4/letter/b/c6cbf5/32.png) [@Bok](https://discourse.libretime.org/u/Bok)\
**Post date:** [February 11, 2021, 10:04am UTC](https://discourse.libretime.org/t/do-not-run-composer-as-root-super-user-warning/793/1 "2021-02-11T10:04:49Z")

</div>

Hi, sorry if that is too noob but I can’t get over the message `Do not run Composer as root/super user` upon `sudo bash install -fiap`

I’ve tried several workarounds, logged as a non-root user, changed permissions and ownership, reinstalled Composer, cleared the cache, tried export  
COMPOSER\_ALLOW\_SUPERUSER=1; composer show; - It just doesnt’go!

Or is it to warn a user with the ‘root’ name to switch over to non-root and continue?

Could anyone please suggest a way of dealing with it?

---

<div class="post-metadata">

**Author:** ![robbt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/robbt/32/15_2.png) [@robbt](https://discourse.libretime.org/u/robbt)\
**Post date:** [February 17, 2021, 1:27pm UTC](https://discourse.libretime.org/t/do-not-run-composer-as-root-super-user-warning/793/2 "2021-02-17T13:27:57Z")

</div>

I usually just ignore this message. Running composer as root is a security risk if you are using it on a established box and adding new software but for LibreTime it isn’t an issue as generally you only want to install LibreTime on a VPS or server that is dedicated to use.

Have you tried ignoring the message ?

---

<div class="post-metadata">

**Author:** ![hairmare](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/hairmare/32/38_2.png) [@hairmare](https://discourse.libretime.org/u/hairmare)\
**Post date:** [February 17, 2021, 6:51pm UTC](https://discourse.libretime.org/t/do-not-run-composer-as-root-super-user-warning/793/3 "2021-02-17T18:51:11Z")

</div>

> [@robbt](#):
>
> Have you tried ignoring the message ?

❤

can confirm, this is the way to go. if you install from a tarball composer should not do anything and with .deb or .rpm packages this isn’t an issue either.

---

<div class="post-metadata">

**Author:** ![stevewa](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@stevewa](https://discourse.libretime.org/u/stevewa)\
**Post date:** [June 19, 2021, 2:05am UTC](https://discourse.libretime.org/t/do-not-run-composer-as-root-super-user-warning/793/4 "2021-06-19T02:05:59Z")

</div>

if this is during install, and you are installing under a linux account which is not “root”, type YES to continue and it will run composer.

if you are installing under root, type NO, it will stop the install, then repeat the install steps as regular user.

if you are installing under a regular user, but you typed no, then install will stop. repeat the install command again, it will detect what is already installed and then get to the composer step. type YES, and it will continue with the composer setups…
