distrobox
distrobox copied to clipboard
[Error] Distrobox container created it’s own password, can’t use sudo.
Describe the bug
I created and attempted to enter a container. I got an error during the “installing basic packages” step. I attempt to enter the container again, and It works but gives an error “there was a problem setting up the user Warning: trying manual addition“ It appears that a password was set without asking me due to this error. I am unable to use sudo since I don’t know the password.
terminal output: https://pastebin.com/t8KNQ90T
To Reproduce
Idk just create a container on SteamOS I guess?
Expected behavior
Be prompted to create a password instead of having an unknown one created without my permission. Not having this error in general.
*Logs
https://pastebin.com/4tYSvwTu
Desktop (please complete the following information):
- Are you using podman, docker or lilipod? Podman
- Which version or podman, docker or lilipod? Newest as of today
- Which version of distrobox? Newest as of today
- Which host distribution?
- If that means operating system, then SteamOS
- How did you install distrobox? With curl in $HOME
Additional context
I am not a programmer or anything like that, I’m sorry if this report isn’t up to snuff. I did my best. I just wanted to run a python application that won’t play nice with SteamOS
Hi @calvincorrieri
can you post here the commands you executed? so I can know a bit more, as right now the report is lacking all info
The commands I executed to install distrobox:
‘curl -s https://raw.githubusercontent.com/89luca89/distrobox/main/install | sh -s -- --prefix $HOME’
The commands I executed to create the container:
distrobox create -i ubuntu compile_box
distrobox enter compile_box
Is this what you mean? @89luca89
got it thanks
I see that there is a problem setting up the user (popped up in the logs) Can you try with another container image just to see if this is an ubuntu-specific issue?
Closing due to inactivity, let me know if the problem persists.
Closing due to inactivity, let me know if the problem persists.
Problem is present with debian:10
image
Update: to reproduce, need to use ZSH. Workaround - enter image with args -- bash -l
. After this, distrobox ask new password for root access inside image.