getumbrel / umbrel

A beautiful home server OS for self-hosting with an app store. Buy a pre-built Umbrel Home with umbrelOS, or install on a Raspberry Pi or any x86 system.
https://umbrel.com
Other
6.87k stars 508 forks source link

Feature request: SSH access after init - UmbrelOS 1.0+ #1824

Closed maximtitovich closed 1 month ago

maximtitovich commented 1 month ago

Currently you can only login and ssh into the system before you "initialize" it, after installation with umbrel login and password. Would be nice to keep that or get to know umbrel and root user password after you "initialize" Umbrel. That said than it is easier to edit docker files and adjust the configuration of different apps. For example I would like to disable authentication on some containers, as my installation is local and I use reverse proxy. On the other hand, I would like to passthrough devices to jellyfin for example for decoding. Anyways, is there a way to know your "new" umbrel or/and root user password?

highghlow commented 1 month ago

Anyways, is there a way to know your "new" umbrel or/and root user password?

The new password is you umbrel password you set during onboarding (username: umbrel)

maximtitovich commented 1 month ago

The new password is you umbrel password you set during onboarding (username: umbrel)

Oh, I haven't tried it. I tried root and my new username with the password, but not the umbrel user. That is a little bit confusing. Does it still have root access? The reason I'm asking is that I want to migrate some of my containers manually with moving the data folders for them on this new umbrel os installation. Or they would be encrypted and inaccessible?

highghlow commented 1 month ago

Does it still have root access?

Yes, you can use sudo. Here's how to disable the sudo password prompt: https://askubuntu.com/questions/334318/sudoers-file-enable-nopasswd-for-user-all-commands

I want to migrate some of my containers manually with moving the data folders for them on this new umbrel os installation. Or they would be encrypted and inaccessible?

I think application data is stored in ~/umbrel/app-data/<appid>/data (where ~ is your user's home dir, /home/umbrel on Umbrel v1), though some weird applications might use docker volumes, which are much harder to migrate (you can check by opening their docker-compose.yml file in https://github.com/getumbrel/umbrel-apps and searching for volumes: at the bottom). The data is not encrypted.

highghlow commented 1 month ago

Please mark the issue as closed