# Unattended Linux install of 8.1.1

**URL:** <https://forum.inductiveautomation.com/t/unattended-linux-install-of-8-1-1/42495>\
**Category:** Ignition\
**Created:** [January 21, 2021, 7:52pm UTC](https://forum.inductiveautomation.com/t/unattended-linux-install-of-8-1-1/42495 "2021-01-21T19:52:03Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![justin.brzozoski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justin.brzozoski/32/13452_2.png) [@justin.brzozoski](https://forum.inductiveautomation.com/u/justin.brzozoski)\
**Post date:** [January 21, 2021, 7:52pm UTC](https://forum.inductiveautomation.com/t/unattended-linux-install-of-8-1-1/42495/1 "2021-01-21T19:52:03Z")

</div>

Tried following docs [here](https://docs.inductiveautomation.com/display/DOC81/Command+Line+Installations), and it still prompts me for a username. What did I miss?

```auto
ubuntu@dev-ignition1:~$ sudo ./ignition-8.1.1-linux-x64-installer.run -- "unattended=text" "user=ignition"
Verifying archive integrity... 100% MD5 checksums are OK. All good.
Uncompressing IgnitionInstaller 100%  
Root detected. Please enter a username to install Ignition as: 
Username: 

```

Also tried with `textMode=true` appended onto the end and got the same behavior.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [January 21, 2021, 8:05pm UTC](https://forum.inductiveautomation.com/t/unattended-linux-install-of-8-1-1/42495/2 "2021-01-21T20:05:37Z")

</div>

Hmm. Does the “ubuntu” user happen to have uid=0?

Try

```auto
cut -d: -f1,3 /etc/passwd

```

---

<div class="post-metadata">

**Author:** ![justin.brzozoski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justin.brzozoski/32/13452_2.png) [@justin.brzozoski](https://forum.inductiveautomation.com/u/justin.brzozoski)\
**Post date:** [January 21, 2021, 8:06pm UTC](https://forum.inductiveautomation.com/t/unattended-linux-install-of-8-1-1/42495/3 "2021-01-21T20:06:58Z")

</div>

Nope. UID=1000 GID=1000.  
But I ran it under `sudo` so the effective UID was 0.  
And the UID of the ignition user is 1001. It’s a normal user account and not a system account.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [January 21, 2021, 8:08pm UTC](https://forum.inductiveautomation.com/t/unattended-linux-install-of-8-1-1/42495/4 "2021-01-21T20:08:12Z")

</div>

@jcoffman

---

<div class="post-metadata">

**Author:** ![justin.brzozoski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justin.brzozoski/32/13452_2.png) [@justin.brzozoski](https://forum.inductiveautomation.com/u/justin.brzozoski)\
**Post date:** [January 21, 2021, 8:09pm UTC](https://forum.inductiveautomation.com/t/unattended-linux-install-of-8-1-1/42495/5 "2021-01-21T20:09:01Z")

</div>

This is a nearly pristine install of the most recent Ubuntu 18.04 AMI on an AWS EC2 if you want to try it yourself.

---

<div class="post-metadata">

**Author:** ![James.Lorenz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.lorenz/32/3290_2.png) [@James.Lorenz](https://forum.inductiveautomation.com/u/James.Lorenz)\
**Post date:** [January 21, 2021, 8:36pm UTC](https://forum.inductiveautomation.com/t/unattended-linux-install-of-8-1-1/42495/6 "2021-01-21T20:36:33Z")

</div>

Try without `sudo`, which is what generates the username prompt.

---

<div class="post-metadata">

**Author:** ![justin.brzozoski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justin.brzozoski/32/13452_2.png) [@justin.brzozoski](https://forum.inductiveautomation.com/u/justin.brzozoski)\
**Post date:** [January 21, 2021, 8:47pm UTC](https://forum.inductiveautomation.com/t/unattended-linux-install-of-8-1-1/42495/7 "2021-01-21T20:47:38Z")

</div>

It worked without sudo. I’m assuming it does sudo (or some equivalent) internally in the script as needed?

It also didn’t stop to ask me for a sudo password since the `ubuntu` account was setup to not need one. Would it have prompted me if one was?

---

<div class="post-metadata">

**Author:** ![jcoffman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jcoffman/32/6429_2.png) [@jcoffman](https://forum.inductiveautomation.com/u/jcoffman)\
**Post date:** [January 21, 2021, 10:16pm UTC](https://forum.inductiveautomation.com/t/unattended-linux-install-of-8-1-1/42495/8 "2021-01-21T22:16:47Z")

</div>

yes it would have prompted if it was required

---

<div class="post-metadata">

**Author:** ![JantjeBeton](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@JantjeBeton](https://forum.inductiveautomation.com/u/JantjeBeton)\
**Post date:** [February 15, 2021, 8:32am UTC](https://forum.inductiveautomation.com/t/unattended-linux-install-of-8-1-1/42495/9 "2021-02-15T08:32:44Z")

</div>

Has anyone experience with unattended _remote_ installation using tools like Ansible?  
I’m trying to get it to work, but the installation hangs either on the input for SU rights or if I run it with SUDO, it comes up with the above mentioned prompt…  
Is using the zip-install and the ignition.sh-file the only possible way?

---

<div class="post-metadata">

**Author:** ![justin.brzozoski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justin.brzozoski/32/13452_2.png) [@justin.brzozoski](https://forum.inductiveautomation.com/u/justin.brzozoski)\
**Post date:** [February 15, 2021, 2:37pm UTC](https://forum.inductiveautomation.com/t/unattended-linux-install-of-8-1-1/42495/10 "2021-02-15T14:37:40Z")

</div>

Yes. You just need to have your script sudo to a _non-root user that has unprompted sudo privileges_ to do the install, e.g. on AWS Ubuntu instances, there is a user named “ubuntu” setup the right way:

```auto
sudo -u ubuntu ./ignition-8.1.1-linux-x64-installer.run -- "unattended=text" "user=ignition"

```

If you don’t already have an account setup for sudo w/o password, you may need to make one first. Roundabout, but workable.
