# Root privileges ssh experiment

**URL:** <https://community.homey.app/t/root-privileges-ssh-experiment/112093>\
**Category:** Questions & Help\
**Tags:** homey-pro\
**Created:** [June 27, 2024, 10:34pm UTC](https://community.homey.app/t/root-privileges-ssh-experiment/112093 "2024-06-27T22:34:16Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hub\_Dohmen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hub_dohmen/32/12737_2.png) [@Hub\_Dohmen](https://community.homey.app/u/Hub_Dohmen)\
**Post date:** [June 27, 2024, 10:34pm UTC](https://community.homey.app/t/root-privileges-ssh-experiment/112093/1 "2024-06-27T22:34:16Z")

</div>

Hi,

How can I root privileges on the ssh experiment? I can not install Cups and edit /etc/hosts ….

Hub

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [June 27, 2024, 11:58pm UTC](https://community.homey.app/t/root-privileges-ssh-experiment/112093/2 "2024-06-27T23:58:47Z")

</div>

It’s not mentioned:

> **[Getting started with the SSH Experiment](https://support.homey.app/hc/en-us/articles/6673376100508-Getting-started-with-the-SSH-Experiment)**
>
> The SSH Experiment, which is available for Homey Pro (Early 2023), allows you to play around in a containerised Debian Linux sandbox.
> After logging in for the first time, and changing your password...

Searching for `root` returns nothing

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [June 28, 2024, 4:25am UTC](https://community.homey.app/t/root-privileges-ssh-experiment/112093/3 "2024-06-28T04:25:38Z")

</div>

Like with any other Linux distribution, using `sudo`.

---

<div class="post-metadata">

**Author:** ![Hub\_Dohmen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hub_dohmen/32/12737_2.png) [@Hub\_Dohmen](https://community.homey.app/u/Hub_Dohmen)\
**Post date:** [June 28, 2024, 6:13am UTC](https://community.homey.app/t/root-privileges-ssh-experiment/112093/4 "2024-06-28T06:13:53Z")

</div>

Thanks for your replies!

Nope. Sudo does not work.  
I get this error: Can not resolve host homey-pro-sandbox: no address associated with hostname.  
Because of this error I can not save changes to /etc/hosts, where I would solve this …

Any solutions?

Hub

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [June 28, 2024, 6:29am UTC](https://community.homey.app/t/root-privileges-ssh-experiment/112093/5 "2024-06-28T06:29:58Z")

</div>

> [@Hub\_Dohmen](#):
>
> Nope. Sudo does not work.  
> I get this error: Can not resolve host homey-pro-sandbox: no address associated with hostname.

That’s a warning, not an error, `sudo` works just fine:

```auto
$ sudo id
sudo: unable to resolve host homey-pro-sandbox: Name or service not known
uid=0(root) gid=0(root) groups=0(root)

```

---

<div class="post-metadata">

**Author:** ![Hub\_Dohmen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hub_dohmen/32/12737_2.png) [@Hub\_Dohmen](https://community.homey.app/u/Hub_Dohmen)\
**Post date:** [June 28, 2024, 7:14pm UTC](https://community.homey.app/t/root-privileges-ssh-experiment/112093/7 "2024-06-28T19:14:21Z")

</div>

Hi,

It does. But I get errors when I want to download and install packages. And I can not update the packagelist.

So it is useless … I only want to install cups.

Hub

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [June 29, 2024, 4:49am UTC](https://community.homey.app/t/root-privileges-ssh-experiment/112093/8 "2024-06-29T04:49:20Z")

</div>

It’s just a glorified Docker container so its use is limited anyway, and it’s still suffering from an issue that I reported to Athom months ago, namely that `/tmp` has the wrong permissions.

Try this:

```auto
sudo chmod 1777 /tmp

```

Then try again.

---

<div class="post-metadata">

**Author:** ![Hub\_Dohmen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hub_dohmen/32/12737_2.png) [@Hub\_Dohmen](https://community.homey.app/u/Hub_Dohmen)\
**Post date:** [July 1, 2024, 4:58pm UTC](https://community.homey.app/t/root-privileges-ssh-experiment/112093/9 "2024-07-01T16:58:17Z")

</div>

Thanks for your support,

Now I was able to install Cups with Airprint.  
But … I can not use it. I only have 20kb discspace …  
So I can not print anything.

Cheers,  
Hub

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 1, 2024, 5:00pm UTC](https://community.homey.app/t/root-privileges-ssh-experiment/112093/10 "2024-07-01T17:00:38Z")

</div>

Homey isn’t a generic Linux computer, the SSH experiment is fun but useless. Just get a proper Raspberry Pi or something.

---

<div class="post-metadata">

**Author:** ![Hub\_Dohmen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hub_dohmen/32/12737_2.png) [@Hub\_Dohmen](https://community.homey.app/u/Hub_Dohmen)\
**Post date:** [July 1, 2024, 5:01pm UTC](https://community.homey.app/t/root-privileges-ssh-experiment/112093/11 "2024-07-01T17:01:52Z")

</div>

True,

My PI is working fine. 🙂

Hub
