# After install autostart on boot no authenthication

**URL:** <https://discourse.nodered.org/t/after-install-autostart-on-boot-no-authenthication/28862>\
**Category:** General\
**Created:** [24 June 2020 06:08 UTC](https://discourse.nodered.org/t/after-install-autostart-on-boot-no-authenthication/28862 "2020-06-24T06:08:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![E\_T](https://avatars.discourse-cdn.com/v4/letter/e/87869e/32.png) [@E\_T](https://discourse.nodered.org/u/E_T)\
**Post date:** [24 June 2020 06:08 UTC](https://discourse.nodered.org/t/after-install-autostart-on-boot-no-authenthication/28862/1 "2020-06-24T06:08:20Z")

</div>

Ther is a virtual machine on a Server: Ubuntu 20.04 LTS (GNU/Linux 5.4.0-37-generic x86\_64)

After installing node-red (sudo npm install -g --unsafe-perm node-red)

i secured node-red (edit file : /home/se/.node-red/settings.js)

Now i wanted to start node red on boot (using the install Raspberry pi script)  
(bash \<(curl -sL [https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered](https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)))

But now the username/password based authentication is lost!

in the settings.js there is nothing changed.

What must i changed?

Greetings

E\_T

---

<div class="post-metadata">

**Author:** ![E\_T](https://avatars.discourse-cdn.com/v4/letter/e/87869e/32.png) [@E\_T](https://discourse.nodered.org/u/E_T)\
**Post date:** [24 June 2020 06:16 UTC](https://discourse.nodered.org/t/after-install-autostart-on-boot-no-authenthication/28862/2 "2020-06-24T06:16:09Z")

</div>

Sorry, possible my browser cached the authentication.  
With an other browser i got the authentication mask.

I will look!

E\_T

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [24 June 2020 09:40 UTC](https://discourse.nodered.org/t/after-install-autostart-on-boot-no-authenthication/28862/3 "2020-06-24T09:40:48Z")

</div>

FYI, If you use this:

> [@E\_T](#):
>
> (bash \<(curl -sL [https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered](https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)))

after this:

> [@E\_T](#):
>
> After installing node-red (sudo npm install -g --unsafe-perm node-red)

you will be reinstalling NR again.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [8 July 2020 09:40 UTC](https://discourse.nodered.org/t/after-install-autostart-on-boot-no-authenthication/28862/4 "2020-07-08T09:40:48Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
