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

Root Privilege #7

Closed
Dhananjay-JSR opened this issue Jul 31, 2021 · 6 comments
Closed

Root Privilege #7

Dhananjay-JSR opened this issue Jul 31, 2021 · 6 comments

Comments

@Dhananjay-JSR
Copy link

As the title suggest is there was to get root access on server ?? everytime I type su and enter password which I entered when creating heroku app , it throws me with Authentication failure

@vital987
Copy link
Owner

vital987 commented Jul 31, 2021

The title is correct from every aspect & I wrote it as per over all image consideration, not only heroku and the password in the environment variable as it's name suggests, is the password of the VNC server, not of the password of the root user as the project runs as root user without any password but Heroku replaces it with it's custom user to prevent root access.

@vital987 vital987 pinned this issue Jul 31, 2021
@armin-malek
Copy link

edit the docket file for installing custom software and giving permission that's the only way

This was referenced Oct 30, 2021
Closed
@drhoangzp
Copy link

please tell me how to get root password in vubuntu, vital987?

@vital987
Copy link
Owner

vital987 commented Oct 1, 2022

#7 (comment)

@drhoangzp
Copy link

So can vital987 show me how to get root password by video.

@vital987
Copy link
Owner

vital987 commented Oct 1, 2022

So can vital987 show me how to get root password by video.

There's no such thing as root password in this project. It's just a docker container running directly as root. It depends on the Docker host whether to run the container as root or as a custom user with least privileges locking root account. For example, Heroku prevents the root access for it's containers by replacing root user with a custom one with least privileges. So when you type sudo su or su -, you just get the password prompt with no correct password as the root account is locked. Try running the project on a VM with root access, you'll directly login as root (#).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants