RancherOS default password? #2842
Comments
ROS doesn't have a default password, we recommend using the ssh key. If you still want to use a password, you can set it via kernel boot param: |
So then why does it ask for a password? Even using the kernel parameters it still does not log in. Why does ROS ask for a password to a user that does not exist? How is that even possible in linux? How can you set a user to have no password and cant even be logged in? |
This is the entirety of my clould-config.yml
The device is also now unreachable by that IP address after my multiple reinstalls becuase of this problem. So I can not SSH into it. What am I supposed to do? If I set the ip address when isntalling from ISO the ip address works. When I install and remove the iso media the ip doesnt. How does this make any sense. The config has not syntax errors and the hostname is applied correctly so i know it is reading the cloud-config.yml . All of this could be avoided by not creating a user that is impossible to log into. |
Same thing here, just used the proxmox-dedicated iso on my PVE node (FYI 1GB is not enough, reference). The ISO boot performs autologin as Then I try to login via SSH (to write/copy my What's the correct way to send the |
same issue here |
This guide worked for me: https://linuxhint.com/install_rancher_os/ |
If you set it up using an SSH key, the password will be the key password that you created when you made the key file using ssh-keygen. |
To add a hint to @KillSwitchIO's guide link. You can provide the cloud-config.yml file like so for instance : sudo ros install -c https://link/to/cloud-config.yml |
I'm trying to start testing with a freshly installed Rancher Os, but the struggle now is figuring out how to login to the shell. |
There are many ways to make it difficult and to make it simple. It seems that around here they prefer to do it the hardest way possible. The maintainers might think this conveys a sense of security, but it really isn't... |
RancherOS Version:1.53
Where are you running RancherOS? Proxmox
So I installed RancherOS to disk from ISO. This iso previously had auto-login set up by default. I proceeded to then remove the ISO and boot to the disk. The problem I ran into is that there is no way to login. For some reason they did not find reason to document this but according to issues on RancherOS's public repo they say that just using rancher and then entering nothing will work. It doesnt. The password I set during install from ISO does not work either. What am I supposed to do here? No default password is mentioned anywhere but github issues. The only thing I keep hearing is to set it up to autlogin by default when you instal it from the ISO but that I can not believe that would be best practice. They also recomend setting SSH private keys so you can get back in but that still would not help because setting the password of a user requires the user's previous password. And both of these definitely do not help me now anyway since I am already installed.
The text was updated successfully, but these errors were encountered: