Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v1] Ubuntu default container asks for inexistant password #351

Open
taukakao opened this issue Apr 28, 2024 · 7 comments
Open

[v1] Ubuntu default container asks for inexistant password #351

taukakao opened this issue Apr 28, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@taukakao
Copy link
Member

When using the ubuntu container in apx version 1, it will ask for the password of user "ubuntu".
This prevents the user from installing anything using this container.

Possibly related to the "Installing basic packages" step failing when creating the container.

@taukakao taukakao added the bug Something isn't working label Apr 28, 2024
@Valeriooooh
Copy link

same problem here, how does vanilla install ubuntu packages? is it with podman?

@taukakao
Copy link
Member Author

taukakao commented May 7, 2024

apx uses distrobox which uses podman in the case of vanilla, yeah.

@luizmarinhojr
Copy link

Same problem here too. Does anyone know that password?

@taukakao
Copy link
Member Author

taukakao commented May 8, 2024

The ubuntu user cannot be logged into. It doesn't have a password.
The container is currently not usable. You have to use a different container, for example fedora with "apx --dnf"

@SERBA2121
Copy link

When will this problem be fixed?

@nxjosephofficial
Copy link

I have the same problem too.

@MordechaiShebuel
Copy link

MordechaiShebuel commented Jul 3, 2024

I found a temporary solution to this issue.

  1. Open Vanilla Os Control Center
  2. Click on the "Sub System" tab.
  3. type su this will log you into the container as root.
  4. type passwd ubuntu and enter the password you want for the ubuntu user.
  5. you'll next need to edit the sudoers file, so type apt-get install nano (or vi if you prefer)
  6. type nano /etc/sudoers below this line:
# User privilege specification
root    ALL=(ALL:ALL) ALL

add this:
ubuntu ALL=(ALL:ALL) ALL
7. Save the file, and close the container.
8. Test the results, it should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants
@taukakao @Valeriooooh @SERBA2121 @luizmarinhojr @nxjosephofficial @MordechaiShebuel and others