Change password

December 22nd, 2006 mysurface Posted in Admin, passwd | Hits: 104961 | 14 Comments »

If you find your password insecure and wanna change it, you can do that with just type


Type your current password, then type your new password, and retype again to confirm.

In case you forgot your password, you can always reset your password with root user. First gain the root access

su -

Then, redefine the password for user let say eddie.

passwd eddie

With root user, you can check the details of the password management, regarding when the password is set, and the password duration etc for all user or particular user.

Check user eddie

passwd -S eddie

Check all users

passwd -S -a

14 Responses to “Change password”

  1. When I run “su -“, it prompts for password, that’s the root’s password?

    If it’s true, what if we don’t have the root password.. e.g. in Ubuntu default installation. Do we have workarounds?

  2. Sure, you have your own password, in Ubuntu, you uses sudo to gain root access. So, do this

    sudo su -

    Type in your password, then


    Set the password for root.

  3. […] How? My friend’s (toydi) side need to create a reverse tunnel, 1. He create an user account for me as mysurface, uses useradd 2. Set a default password for mysurface user account, uses passwd 3. Setup ssh reverse tunnel […]

  4. […] passwd. Type your current password, then type your new password, and retype again to confirm … Change Checker… – Notify users that a password change is needed … […]

  5. does this is the same procedure to change the password in opensolaris

  6. Hi Admin, I just wanna ask how can i break an e-mail password with a patch file???


    Hi Admin,
    i just want to learn, how to find password of particular pc?????

  8. Nobody is doing anything about this. I’ve gotten scammed out of perfectly good money for using unlicensed locksmith

  9. Thanks a lot dude!!! I was so peased off with sudo and all these stuff (new in ubuntu)!!!

  10. forgot my password

  11. ??????

  12. Thank you for the amazing blog post. This is a big help, not just for professional developers like me, but even for newbie website dvelopers out there. I’ll bookmark your website for new updates in the future

Leave a Reply