#How do I get root access of my VPS? :|

8 messages · Page 1 of 1 (latest)

random vortex
#

you can type sudo su and it may prompt for the ubuntu user password, and you will escalate privilege to root.

#

You can still enable the "root" Login user by going into /etc/ssh/sshd_config and enabling "PermitRootLogin" change it from no to yes, and remove the beginning # if there is one.

Change password of "root" with "sudo passwd root" and enter a new password.

then type service ssh restart and login with root instead, not really recommended to run root 24/7, but you can if you really really wish to.

random vortex
#

With docker you can enter into the Containers, since it's just containers, but yeah

glossy fox
#

have a great day

glossy fox
# random vortex With docker you can enter into the Containers, since it's just containers, but y...

Hi,
Cann you guide me to changing password as after 6 days OVH provided password will expire.
I changed password using this article but when I tried to login with new password I always get access denied text in putty terminal/ssh

https://nordpass.com/blog/how-to-change-password-linux/#:~:text=can do it%3A-,Open the Terminal window.,retyping to it once more.

random vortex
#

after 6 days the password generated won't exactly expire, it'd still be the password of the user on the VPS, it would just make it so you can't retrieve it from that link anymore, if you save the password given on that link somewhere so you don't forget it, you can still usei t