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

What is root password? #10

Closed
KashifHK123 opened this issue Mar 21, 2021 · 4 comments
Closed

What is root password? #10

KashifHK123 opened this issue Mar 21, 2021 · 4 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@KashifHK123
Copy link

Hello, I need a root password to install my required programs. You didn't share the root password, Can you please share it?

@MRzNone
Copy link

MRzNone commented Jun 2, 2021

@MRzNone
Copy link

MRzNone commented Jun 2, 2021

I was able to change the pass word via logging in as root and change password for user ubuntu.

docker exec -u 0 -it remote-desktop /bin/bash # log in the container as root
passwd ubuntu # change password

@DarkAxi0m
Copy link

Rather than the changing the password, I've found it better/easier to install sudo.

docker exec -u 0 -it remote-desktop /bin/bash    
apt update   
apt install sudo    
usermod -aG sudo ubuntu

Then logout and back in to the desktop and you can run root commands with sudo

sudo bash  
sudo apt update    
etc

@scottyhardy
Copy link
Owner

Hi all,

There is no root password set, unless there's one set in the ubuntu image(s) (which I'm pretty sure it's not). I thought I'd already added sudo to this image - looks like I haven't though so I can do that.

@scottyhardy scottyhardy added the enhancement New feature or request label Dec 4, 2021
@scottyhardy scottyhardy self-assigned this Dec 4, 2021
@scottyhardy scottyhardy added the question Further information is requested label Dec 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants