Announcement

Collapse
No announcement yet.

Changing root password of Ubuntu server

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Changing root password of Ubuntu server

    How to reset the root password on newly created Ubuntu server?

  • #2
    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
    or

    su /bin/bash
    passwd root

    Comment

    Working...
    X