How to reset the root password on newly created Ubuntu server?
Announcement
Collapse
No announcement yet.
Changing root password of Ubuntu server
Collapse
X
-
-
While setting up server with Ubuntu OS, you have to create normal user account that does not have admin privileges. So when you try to change super user root, you just cannot login to root, because you don’t have the root password.
To reset the root password, login to the server using the normal user create by you and use the following commands:
sudo sh
passwd root
su /bin/bash
passwd root
Comment