Backtrack Linux – Changing the root password

The first thing to remember about a fresh install of Backtrack are the default installed credentials for the root account:

root
toor

Nice and simple – right? But sometimes (often in my case) you’ll want to change the root password (especially as you’ll be spending so much time as a root user). You do remember the username and password you used when you installed backtrack right? So, open up a terminal and type the following:

sudo su
whoami
passwd

‘sudo su’ will change you into the Super User account, your system will ask you for your password (current password of the account you are using). ‘whoami’ will tell you the account you are using – should be ‘root’. Last but not least ‘passwd’ will let you change the root password, enter it twice and away you go.

5 thoughts on “Backtrack Linux – Changing the root password”

  1. Hate to dig up old posts but what if the original password doesn’t work and that’s the reason I need to reset it?? Plz help I can’t do anything without the password..

  2. The root password is always toor, if that doesn’t work, then you have a different problem. If it’s a fresh install, start again. ;)

    Not so much help I know.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>